/* Alina Gregor – gemeinsames Stylesheet */

@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/figtree-400.woff2') format('woff2'); }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/figtree-500.woff2') format('woff2'); }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/figtree-600.woff2') format('woff2'); }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/figtree-700.woff2') format('woff2'); }

:root {
  --ink: #17324D;
  --ink-dark: #0F2438;
  --pink: #D94F7A;
  --pink-dark: #C4406A;
  --pink-light: #FBE4EC;
  --pink-text: #9E2D52;
  --pink-edge: #F0B8CA;
  --sky: #9CC7E6;
  --mist: #EEF3F7;
  --stripe: #E4EBF2;
  --line: #C9D6E2;
  --edge: #D5E0EA;
  --edge-strong: #B8C8D6;
  --grey: #9AAFC2;
  --text2: #4A6075;
  --dark-edge: #24405C;
  --dark-edge2: #3A5470;
  --white: #FFFFFF;

  --pad-r: clamp(20px, 4vw, 56px);
  --pad-l: clamp(44px, 7vw, 96px);
  --rail-x: clamp(16px, 3vw, 40px);
  --ease-flow: cubic-bezier(.45, 0, .55, 1);
}

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

html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--white);
  color: var(--ink);
  font-family: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  overflow-x: hidden;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html.motion-off { scroll-behavior: auto; }

img { max-width: 100%; }
a { color: var(--ink); text-decoration: none; transition: color 200ms; }
a:hover { color: var(--pink); }
button { font-family: inherit; }
svg.i { flex: none; display: block; }
[hidden] { display: none !important; }

:focus { outline: none; }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; border-radius: 6px; }
a.btn:focus-visible, button:focus-visible { border-radius: 999px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  background: var(--ink); color: var(--white); font-weight: 600; font-size: 15px;
  padding: 10px 16px; border-radius: 999px; transition: top 200ms;
}
.skip-link:focus, .skip-link:focus-visible { top: 12px; color: var(--white); }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 var(--pad-r) 0 var(--pad-l); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 16px; font-weight: 600; line-height: 1.2;
  padding: 15px 22px; border-radius: 999px; border: none; cursor: pointer;
  transition: background 200ms, color 200ms, border-color 200ms;
}
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: var(--ink-dark); color: var(--white); }
.btn-outline { background: var(--white); color: var(--ink); border: 1.5px solid var(--ink); padding: 13.5px 22px; }
.btn-outline:hover { background: var(--mist); color: var(--ink); }
.btn-pink { background: var(--pink); color: var(--white); font-size: 15px; padding: 10px 16px; gap: 8px; }
.btn-pink:hover { background: var(--pink-dark); color: var(--white); }
.btn-sm { font-size: 15px; padding: 10px 16px; gap: 8px; }
.btn-lg { font-size: 17px; padding: 16px 24px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--mist);
}
.site-header__inner {
  max-width: 1280px; margin: 0 auto; padding: 14px var(--rail-x);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand__name { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.brand svg, .brand img { width: 34px; height: 34px; flex: none; display: block; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav__links { display: flex; gap: 28px; font-size: 15px; font-weight: 500; }
@media (max-width: 759.98px) { .site-nav__links { display: none; } }
.back-link { font-size: 15px; font-weight: 600; }

/* Logo-Animation */
.logo .ln { stroke: var(--ink); stroke-width: 4; stroke-linecap: round; transition: stroke 400ms ease; }
.logo .nd { fill: var(--pink); transition: fill 300ms ease; }
.logo .nd:nth-of-type(1) { transition-delay: 150ms; }
.logo .nd:nth-of-type(2) { transition-delay: 250ms; }
.logo .nd:nth-of-type(3) { transition-delay: 350ms; }
.logo .nd:nth-of-type(4) { transition-delay: 450ms; }
.logo .nd:nth-of-type(5) { transition-delay: 550ms; }
.logo .ct { fill: var(--ink); }
.js .logo[data-animate]:not(.on) .ln { stroke: rgba(23, 50, 77, 0); }
.js .logo[data-animate]:not(.on) .nd { fill: var(--line); }

/* ---------- Section-Grundlagen ---------- */
.sec { position: relative; }
.sec-label {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text2);
}
.sec-label .n { color: var(--pink); }
.h2 { margin: 20px 0 0; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.1; font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; }
.lead { margin: 14px 0 0; max-width: 560px; font-size: 18px; line-height: 1.55; color: var(--text2); }

.canvas {
  background-color: var(--mist);
  background-image: radial-gradient(var(--line) 1.2px, transparent 1.2px);
  background-size: 20px 20px;
  border-radius: 24px;
}
.canvas__label { font-size: 13px; font-weight: 600; color: var(--text2); }

.status {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px;
  background: var(--white); color: var(--ink); white-space: nowrap;
}
.status__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--grey); }
.status[data-state="run"] .status__dot { background: var(--pink); }
.status[data-state="done"] { background: var(--pink-light); color: var(--pink-text); }
.status[data-state="done"] .status__dot { background: var(--pink); }
.status--wait { background: var(--mist); }
.status--wait .status__dot { background: var(--pink); }

.ph {
  background: repeating-linear-gradient(135deg, var(--mist) 0 10px, var(--stripe) 10px 20px);
  display: grid; place-items: center;
}
.ph span {
  font-family: ui-monospace, Menlo, monospace; font-size: 13px; color: var(--text2);
  background: var(--white); padding: 6px 10px; border-radius: 8px; text-align: center;
}

/* ---------- Leitung ---------- */
#top { position: relative; }
.rail {
  position: absolute; z-index: 2; left: calc(var(--rail-x) - 1px); top: 0; height: 0;
  width: 2px; background: var(--edge); border-radius: 2px; pointer-events: none;
}
.rail__fill { width: 2px; height: 0; background: var(--pink); border-radius: 2px; }
.rail-node {
  position: absolute; z-index: 3; left: calc(var(--rail-x) - 7px);
  width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid var(--edge-strong); background: var(--white);
  transition: background 200ms, border-color 200ms;
}
.rail-node.on { background: var(--pink); border-color: var(--pink); }

/* ---------- 01 Hero ---------- */
.hero { padding: clamp(40px, 6vw, 88px) 0 clamp(64px, 8vw, 112px); }
.hero .rail-node { top: calc(clamp(40px, 6vw, 88px) + 2px); }
.hero .sec-label { margin-bottom: clamp(24px, 3vw, 36px); }
.hero__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(40px, 5vw, 72px); align-items: center;
}
.hero h1 { margin: 0; font-size: clamp(34px, 4.3vw, 58px); line-height: 1.08; font-weight: 600; letter-spacing: -0.025em; text-wrap: balance; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__note { margin: 18px 0 0; font-size: 15px; color: var(--text2); }
.hero__canvas { padding: clamp(20px, 3vw, 32px); }
.canvas__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 22px; }

.hflow { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.hmod {
  display: flex; align-items: center; gap: 14px;
  background: var(--white); border: 1.5px solid var(--white); border-radius: 18px; padding: 12px 14px;
  transition: border-color 250ms;
}
.hmod__tile {
  position: relative; flex: none; width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center; background: var(--white); color: var(--ink);
  transition: background 250ms, color 250ms;
}
.hmod__txt { flex: 1; min-width: 0; }
.hmod__t { font-size: 16px; font-weight: 600; }
.hmod__s { font-size: 13.5px; color: var(--text2); margin-top: 2px; }
.hmod__badge {
  flex: none; width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; background: var(--pink); color: var(--white);
  opacity: 0; transform: scale(0.6); transition: opacity 200ms, transform 250ms;
}
.hmod.on { border-color: var(--pink-edge); }
.hmod.on .hmod__tile { background: var(--pink); color: var(--white); }
.hmod.on .hmod__badge { opacity: 1; transform: scale(1); }
.hconn { position: relative; height: 30px; margin-left: 37px; width: 2px; background: var(--line); transition: background 200ms; }
.hconn.done { background: var(--pink); }
.flow-dot {
  position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--pink); opacity: 0;
  transition: top 600ms var(--ease-flow), left 600ms var(--ease-flow), opacity 120ms;
}
.hconn .flow-dot { left: -4px; top: 0%; margin-top: -5px; }
.hconn.moving .flow-dot { top: 100%; opacity: 1; }
.hconn.done .flow-dot { top: 100%; opacity: 0; }
.hero__count { margin-top: 22px; display: flex; align-items: baseline; gap: 10px; opacity: 0; transition: opacity 300ms; }
.hero__count.on { opacity: 1; }
.hero__count b { font-size: 40px; font-weight: 700; letter-spacing: -0.02em; line-height: 1; }
.hero__count span { font-size: 16px; font-weight: 500; }

/* ---------- 02 Probleme ---------- */
.probleme { padding: clamp(64px, 8vw, 112px) 0 0; border-top: 1px solid var(--mist); }
.probleme .rail-node { top: calc(clamp(64px, 8vw, 112px) + 2px); }
.probleme__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: clamp(32px, 4vw, 56px); margin-top: 40px; align-items: start;
}
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.chip {
  display: flex; align-items: flex-start; gap: 14px; width: 100%; text-align: left;
  background: var(--white); border: 1.5px solid var(--edge); border-radius: 16px; padding: 16px 18px;
  cursor: pointer; color: var(--ink); font-size: inherit;
  transition: background 200ms, border-color 200ms, opacity 200ms;
}
.chip:focus-visible { border-radius: 16px; }
.chip__check {
  flex: none; margin-top: 2px; width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid var(--edge-strong); background: var(--white); color: var(--white);
  display: grid; place-items: center; transition: background 200ms, border-color 200ms;
}
.chip__check svg { opacity: 0; transition: opacity 200ms; }
.chip__body { display: flex; flex-direction: column; gap: 4px; }
.chip__t { font-size: 17px; font-weight: 600; }
.chip__d { font-size: 15px; line-height: 1.5; color: var(--text2); }
.chip[aria-pressed="true"] { border-color: var(--pink); }
.chip[aria-pressed="true"] .chip__check { background: var(--pink); border-color: var(--pink); }
.chip[aria-pressed="true"] .chip__check svg { opacity: 1; }
.chip[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
@media (hover: hover) { .chip:not([aria-disabled="true"]):not([aria-pressed="true"]):hover { border-color: var(--ink); } }

.scenario { padding: clamp(20px, 3vw, 28px); min-height: 320px; display: flex; flex-direction: column; }
.scenario__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; gap: 12px; }
.scenario__count { font-size: 12px; font-weight: 600; color: var(--text2); }
.scenario__empty {
  flex: 1; display: grid; place-items: center; border: 1.5px dashed var(--edge-strong);
  border-radius: 16px; padding: 32px; text-align: center;
}
.scenario__empty > div { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.scenario__plus {
  width: 48px; height: 48px; border-radius: 14px; border: 1.5px dashed var(--grey);
  display: grid; place-items: center; color: var(--text2); font-size: 24px; font-weight: 400;
}
.scenario__empty p { margin: 0; font-size: 15px; color: var(--text2); max-width: 260px; }
.lanes { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.lanes:empty { display: none; }
.lane { background: var(--white); border-radius: 18px; padding: 16px; border: 1.5px solid var(--edge); }
.lane__t { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text2); margin-bottom: 14px; }
.scenario__cta { margin-top: 20px; justify-content: center; text-align: center; }
.scenario__cta[hidden] { display: none; }

/* Horizontale Mini-Flows (Lanes) */
.hrow { display: flex; align-items: flex-start; }
.hrow__item { display: flex; align-items: flex-start; flex: 1 1 0; min-width: 0; }
.hrow__item:last-child { flex: 0 0 auto; }
.hrow__mod { flex: none; width: clamp(72px, 9vw, 100px); display: flex; flex-direction: column; align-items: center; text-align: center; }
.hrow__tile {
  width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center;
  background: var(--white); color: var(--ink); border: 1.5px solid var(--edge);
  transition: background 250ms, color 250ms, border-color 250ms;
}
.hrow__t { margin-top: 8px; font-size: 12.5px; font-weight: 600; line-height: 1.25; }
.hrow__line { flex: 1; height: 2px; margin-top: 21px; background: var(--line); min-width: 6px; transition: background 250ms; }
.hrow__item.on .hrow__tile { background: var(--pink); color: var(--white); border-color: var(--pink); }
.hrow__item.lit .hrow__line { background: var(--pink); }
@media (max-width: 479.98px) {
  .hrow__item, .hrow__item:last-child { flex: 1 1 0; }
  .hrow__mod { flex: 1 1 auto; width: auto; min-width: 0; }
  .hrow__t { overflow-wrap: anywhere; hyphens: auto; }
  .hrow__line { flex: 0 0 10px; min-width: 10px; }
}

/* ---------- 03 Angebote ---------- */
.angebote, .projekte { padding: clamp(80px, 10vw, 144px) 0 0; }
.angebote .rail-node, .projekte .rail-node, .ueber .rail-node { top: calc(clamp(80px, 10vw, 144px) + 2px); }
.angebote .h2 { max-width: 720px; }
.offers {
  list-style: none; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; margin: 40px 0 0;
}
.offer {
  position: relative; background: var(--white); border: 1.5px solid var(--edge); border-radius: 22px;
  padding: 28px 26px 26px; display: flex; flex-direction: column; gap: 14px; transition: border-color 200ms;
}
.offer:hover { border-color: var(--ink); }
.offer::before, .offer::after {
  content: ''; position: absolute; top: 46px; width: 10px; height: 10px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--grey);
}
.offer::before { left: -6px; }
.offer::after { right: -6px; }
.offer__icon { width: 52px; height: 52px; border-radius: 16px; background: var(--mist); color: var(--ink); display: grid; place-items: center; }
.offer h3 { margin: 6px 0 0; font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.offer p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--text2); flex: 1; }
.tags { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 0; }
.tags li { font-size: 13px; font-weight: 500; padding: 5px 10px; border-radius: 999px; background: var(--mist); color: var(--ink); }

.h3-steps { margin: clamp(64px, 7vw, 96px) 0 0; font-size: 24px; font-weight: 600; letter-spacing: -0.01em; }
.steps {
  list-style: none; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 28px 20px; margin: 28px 0 0;
}
.step { display: flex; flex-direction: column; gap: 10px; }
.step__head { display: flex; align-items: center; gap: 12px; }
.step__n { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--ink); display: grid; place-items: center; font-size: 15px; font-weight: 700; }
.step__line { flex: 1; height: 2px; background: var(--edge); }
.step__t { font-size: 18px; font-weight: 600; margin-top: 4px; }
.step__d { font-size: 15.5px; line-height: 1.55; color: var(--text2); margin: 0; }

.h3-branche { margin: clamp(64px, 7vw, 96px) 0 0; font-size: clamp(24px, 2.4vw, 32px); font-weight: 600; letter-spacing: -0.02em; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.tab {
  font-size: 16px; font-weight: 600; padding: 12px 18px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid var(--edge); background: var(--white); color: var(--ink);
  transition: background 200ms, color 200ms, border-color 200ms;
}
.tab:hover { border-color: var(--ink); }
.tab[aria-selected="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.tabpanel {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: clamp(28px, 4vw, 48px); margin-top: 36px; align-items: start;
}
.tabpanel[hidden] { display: none; }
.tabpanel:focus-visible { border-radius: 16px; outline-offset: 8px; }
.tabpanel__k { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pink); }
.tabpanel__q { margin: 14px 0 0; font-size: clamp(20px, 2vw, 24px); line-height: 1.35; font-weight: 600; letter-spacing: -0.01em; text-wrap: pretty; }
.tabpanel__d { margin: 16px 0 0; font-size: 17px; line-height: 1.6; color: var(--text2); }
.tabpanel .btn { margin-top: 28px; padding: 14px 20px; }
.typflows { padding: clamp(16px, 2.5vw, 24px); display: flex; flex-direction: column; gap: 12px; }
.typflows ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.typflow { background: var(--white); border-radius: 16px; padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; }
.typflow__steps { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.typflow__steps li { display: inline-flex; align-items: center; gap: 8px; }
.typflow__steps li span { font-size: 14px; font-weight: 600; padding: 6px 10px; border-radius: 10px; border: 1.5px solid var(--edge); }
.typflow__steps li:not(:last-child)::after { content: ''; width: 16px; height: 2px; background: var(--pink); }
.typflow__gain { font-size: 14px; color: var(--text2); margin: 0; }

/* ---------- 04 Projekte ---------- */
.projects {
  list-style: none; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 20px; margin: 40px 0 0;
}
.project {
  display: flex; flex-direction: column; height: 100%; background: var(--white); border: 1.5px solid var(--edge);
  border-radius: 24px; overflow: hidden; color: var(--ink); transition: border-color 200ms;
}
.project:hover { border-color: var(--ink); color: var(--ink); }
.project:focus-visible { border-radius: 24px; }
.project .ph { aspect-ratio: 16 / 9; }
.project__body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.pflow { display: flex; align-items: center; }
.pflow__item { display: flex; align-items: center; flex: 1 1 0; min-width: 0; }
.pflow__item:last-child { flex: 0 0 auto; }
.pflow__mod {
  flex: none; display: flex; align-items: center; gap: 8px; padding: 6px 10px 6px 6px; border-radius: 12px;
  border: 1.5px solid var(--edge); background: var(--white); transition: border-color 250ms;
}
.pflow__tile { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--white); color: var(--ink); transition: background 250ms, color 250ms; }
.pflow__t { font-size: 13px; font-weight: 600; white-space: nowrap; }
.pflow__line { flex: 1; height: 2px; min-width: 8px; background: var(--line); transition: background 250ms; }
.pflow__item.on .pflow__mod { border-color: var(--pink); }
.pflow__item.on .pflow__tile { background: var(--pink); color: var(--white); }
.pflow__item.lit .pflow__line { background: var(--pink); }
@media (max-width: 479.98px) {
  .pflow__mod { padding: 6px; }
  .pflow__t { display: none; }
}
.project__k { font-size: 13px; font-weight: 600; color: var(--text2); }
.project h3 { margin: 6px 0 0; font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.project p { margin: 8px 0 0; font-size: 16px; line-height: 1.55; color: var(--text2); }
.project__cta { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; margin-top: auto; }

/* ---------- 05 Über mich ---------- */
.ueber { padding: clamp(80px, 10vw, 144px) 0; }
.ueber__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(32px, 5vw, 72px); margin-top: 32px; align-items: center;
}
.ueber picture { display: block; max-width: 460px; }
.ueber img {
  display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%;
  border-radius: 28px; background: var(--mist);
}
.ueber .h2 { margin: 0; }
.ueber p { margin: 16px 0 0; max-width: 560px; font-size: 18px; line-height: 1.6; color: var(--ink); text-wrap: pretty; }
.ueber p:first-of-type { margin-top: 20px; }
.ueber p.muted { color: var(--text2); }
.tooltags { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; }
.tooltags li { font-size: 14px; font-weight: 500; padding: 7px 12px; border-radius: 999px; border: 1.5px solid var(--edge); }

/* ---------- 06 Kontakt ---------- */
.kontakt { background: var(--ink); color: var(--white); padding: clamp(80px, 10vw, 128px) 0 clamp(64px, 8vw, 96px); }
.kontakt .rail-node { top: calc(clamp(80px, 10vw, 128px) + 2px); }
.kontakt .sec-label { color: var(--sky); }
.kcard {
  margin-top: 32px; max-width: 820px; background: var(--white); color: var(--ink);
  border-radius: 28px; padding: clamp(24px, 4vw, 44px); position: relative;
}
.kcard__port { position: absolute; left: -7px; top: 52px; width: 14px; height: 14px; border-radius: 50%; background: var(--pink); border: 3px solid var(--ink); }
.kcard__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.kcard__mod { display: flex; align-items: center; gap: 14px; }
.kcard__icon { width: 52px; height: 52px; border-radius: 16px; background: var(--pink); color: var(--white); display: grid; place-items: center; flex: none; }
.kcard__k { font-size: 13px; font-weight: 600; color: var(--text2); }
.kcard__t { font-size: 18px; font-weight: 600; }
.kcard h2 { margin: 32px 0 0; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.08; font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; }
.kcard p { margin: 16px 0 0; max-width: 580px; font-size: 18px; line-height: 1.6; color: var(--text2); }
.kcard__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 32px; }
.mail-link { font-size: 16px; font-weight: 600; color: var(--ink); border-bottom: 1.5px solid var(--sky); padding-bottom: 2px; overflow-wrap: anywhere; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--sky); border-top: 1px solid var(--dark-edge); }
.site-footer__inner {
  max-width: 1280px; margin: 0 auto; padding: 24px var(--pad-r) 28px var(--pad-l);
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; font-size: 14px;
}
.site-footer--plain .site-footer__inner { padding-left: var(--pad-r); }
.site-footer nav { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.site-footer a { color: var(--sky); }
.site-footer a:hover { color: var(--white); }
.site-footer a[aria-current="page"] { color: var(--white); }
.motion-toggle {
  display: inline-flex; align-items: center; gap: 8px; background: transparent;
  border: 1.5px solid var(--dark-edge2); color: var(--white); font-size: 13px; font-weight: 600;
  padding: 6px 12px; border-radius: 999px; cursor: pointer;
}
.motion-toggle__track { width: 24px; height: 14px; border-radius: 999px; background: var(--pink); position: relative; transition: background 200ms; }
.motion-toggle__knob { position: absolute; top: 2px; left: 12px; width: 10px; height: 10px; border-radius: 50%; background: var(--white); transition: left 200ms; }
.motion-toggle[aria-checked="false"] .motion-toggle__track { background: var(--dark-edge2); }
.motion-toggle[aria-checked="false"] .motion-toggle__knob { left: 2px; }

/* ---------- Case Study ---------- */
.cs-top { max-width: 1280px; margin: 0 auto; padding: clamp(32px, 5vw, 64px) var(--pad-r) 0; }
.cs-back { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--text2); }
.cs-top .sec-label { margin-top: clamp(28px, 4vw, 48px); }
.cs-top h1 { margin: 18px 0 0; max-width: 900px; font-size: clamp(34px, 5vw, 64px); line-height: 1.05; font-weight: 600; letter-spacing: -0.03em; text-wrap: balance; }
.cs-intro { margin: 20px 0 0; max-width: 680px; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--text2); }
.cs-facts {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 20px;
  margin: clamp(32px, 4vw, 48px) 0 0; padding: 24px 0; border-top: 1px solid var(--mist); border-bottom: 1px solid var(--mist);
}
.cs-facts dt { font-size: 13px; font-weight: 600; color: var(--text2); }
.cs-facts dd { margin: 6px 0 0; font-size: 16px; font-weight: 600; }
.cs-facts dd a { border-bottom: 1.5px solid var(--sky); }
.bigflow { margin-top: clamp(32px, 4vw, 48px); border: 1.5px solid var(--edge); border-radius: 28px; overflow: hidden; }
.bigflow__bar {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px;
  padding: 14px clamp(16px, 2.5vw, 24px); border-bottom: 1.5px solid var(--mist);
}
.bigflow__bar > div { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.bigflow__name { font-size: 14px; font-weight: 600; color: var(--text2); }
.bigflow__stage { border-radius: 0; padding: clamp(28px, 4vw, 56px) clamp(12px, 4vw, 80px); }
.bflow { list-style: none; margin: 0 auto; padding: 0; display: flex; align-items: flex-start; max-width: 900px; }
.bflow__item { display: flex; align-items: flex-start; flex: 1 1 0; min-width: 0; }
.bflow__item:last-child { flex: 0 0 auto; }
.bflow__mod { flex: none; display: flex; flex-direction: column; align-items: center; width: clamp(80px, 13vw, 160px); text-align: center; }
.bflow__tile {
  position: relative; width: clamp(56px, 7vw, 84px); height: clamp(56px, 7vw, 84px); border-radius: 50%;
  display: grid; place-items: center; background: var(--white); color: var(--ink); border: 2px solid var(--edge);
  transition: background 250ms, color 250ms, border-color 250ms;
}
.bflow__tile > svg { width: 40%; height: 40%; }
.bflow__badge {
  position: absolute; right: -2px; top: -2px; width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; background: var(--ink); color: var(--white); border: 2px solid var(--mist);
  opacity: 0; transition: opacity 200ms;
}
.bflow__t { margin-top: 12px; font-size: clamp(13px, 1.3vw, 16px); font-weight: 600; line-height: 1.25; }
.bflow__s { margin-top: 2px; font-size: clamp(12px, 1.1vw, 13.5px); color: var(--text2); line-height: 1.35; }
.bflow__conn { flex: 1; position: relative; height: 2px; margin-top: calc(clamp(56px, 7vw, 84px) / 2); background: var(--line); min-width: 8px; transition: background 200ms; }
.bflow__conn .flow-dot { top: -4px; left: 0%; margin-left: -5px; transition: left 650ms var(--ease-flow), opacity 120ms; }
.bflow__conn.moving .flow-dot { left: 100%; opacity: 1; }
.bflow__conn.done { background: var(--pink); }
.bflow__conn.done .flow-dot { left: 100%; opacity: 0; }
.bflow__item.on .bflow__tile { background: var(--pink); color: var(--white); border-color: var(--pink); }
.bflow__item.on .bflow__badge { opacity: 1; }
.cs-shot { margin-top: 20px; aspect-ratio: 16 / 9; border-radius: 24px; }
.cs-story { max-width: 1280px; margin: 0 auto; padding: clamp(64px, 8vw, 112px) var(--pad-r); }
.chapters { list-style: none; margin: 0; position: relative; max-width: 820px; padding: 0 0 0 clamp(36px, 5vw, 56px); }
.chapters::before { content: ''; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 2px; background: var(--edge); }
.chapter { position: relative; padding-bottom: clamp(48px, 6vw, 72px); }
.chapter::before {
  content: ''; position: absolute; left: calc(-1 * clamp(36px, 5vw, 56px)); top: 4px; width: 14px; height: 14px;
  border-radius: 50%; background: var(--pink); border: 3px solid var(--white); box-shadow: 0 0 0 2px var(--pink);
}
.chapter__k { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text2); }
.chapter h2 { margin: 12px 0 0; font-size: clamp(26px, 2.8vw, 36px); line-height: 1.15; font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; }
.chapter p { margin: 14px 0 0; font-size: 18px; line-height: 1.65; text-wrap: pretty; }
.cs-shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.cs-shots .ph { aspect-ratio: 4 / 3; border-radius: 24px; }
.cs-kontakt { background: var(--ink); color: var(--white); padding: clamp(64px, 8vw, 112px) 0; }
.cs-kontakt .wrap { padding-left: var(--pad-r); }
.cs-kontakt .kcard { margin-top: 0; }
.cs-kontakt .kcard h2 { margin-top: 28px; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.1; }
.cs-kontakt .kcard p { margin-top: 14px; max-width: 560px; }
.cs-kontakt .kcard__actions { margin-top: 28px; }
.next-link { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; color: var(--ink); }

/* ---------- Rechtsseiten ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: clamp(56px, 8vw, 96px) clamp(20px, 4vw, 40px) clamp(80px, 10vw, 128px); font-size: 17px; line-height: 1.65; }
.legal h1 { margin: 0; font-size: clamp(34px, 4.4vw, 52px); line-height: 1.08; font-weight: 600; letter-spacing: -0.02em; }
.legal h2 { margin: 48px 0 0; font-size: 22px; line-height: 1.3; font-weight: 600; }
.legal p { margin: 12px 0 0; }
.legal .legal__sub { margin-top: 20px; color: var(--text2); }
.legal .legal__stand { margin-top: 16px; color: var(--text2); }
.legal .legal__addr { margin-top: 28px; }
.legal ul { margin: 12px 0 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.legal a { border-bottom: 1.5px solid var(--sky); overflow-wrap: anywhere; }
.legal a:hover { color: var(--pink); }

/* ---------- Reduzierte Bewegung ---------- */
html.motion-off .flow-dot { display: none; }
html.motion-off .hmod, html.motion-off .hmod *, html.motion-off .hconn,
html.motion-off .hrow__item *, html.motion-off .pflow__item *, html.motion-off .bflow__item *,
html.motion-off .hero__count, html.motion-off .logo * { transition: none !important; }
