/* VinciTech – Designsystem v2
   Nachtblau und klares Blau, abgeleitet aus der Wortmarke. Helle Inhaltsflächen,
   dunkle Bühnen für Einstieg, Ablauf und Abschluss. Eine Schrift: Manrope (lokal). */

@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope-latin.woff") format("woff");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --night: #0b1524;
  --night-2: #101d30;
  --night-3: #16263c;
  --night-line: rgba(255, 255, 255, 0.09);
  --night-text: #aebbd0;
  --night-muted: #8494ad;

  --paper: #ffffff;
  --tint: #f4f6fa;
  --line: #e3e8ef;
  --line-strong: #cdd5e0;
  --ink: #0b1524;
  --ink-soft: #33415a;
  --muted: #5a6880;

  --blue: #2f6bff;
  --blue-deep: #1d4fd8;
  --blue-light: #6e9bff;
  --blue-soft: #e8efff;
  --ok: #1f8a5b;
  --warn: #b7791f;
  --warn-soft: #fff4dd;

  --font: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1280px;
  --gutter: clamp(20px, 5vw, 64px);
  --space: clamp(88px, 10vw, 144px);
  --radius: 20px;
  --radius-m: 14px;
  --radius-s: 10px;
  --ease: cubic-bezier(0.22, 0.7, 0.18, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --header: 76px;
  --shadow: 0 1px 2px rgba(11, 21, 36, 0.04), 0 8px 24px -8px rgba(11, 21, 36, 0.1);
  --shadow-lg: 0 2px 4px rgba(11, 21, 36, 0.04), 0 30px 70px -24px rgba(11, 21, 36, 0.28);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header) + 24px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@view-transition { navigation: auto; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { margin: 0; font-weight: 700; text-wrap: balance; hyphens: manual; overflow-wrap: break-word; }
ul, ol, dl, dd { margin: 0; padding: 0; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2.5px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--blue); color: #fff; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 10px 16px; background: var(--blue); color: #fff; border-radius: var(--radius-s); transform: translateY(-160%); transition: transform 0.2s var(--ease); }
.skip-link:focus { transform: none; }
main:focus { outline: none; }
.icon { width: 1.1em; height: 1.1em; flex: none; }
.ico { width: 22px; height: 22px; flex: none; }

/* ------------------------------------------------------------ Dunkle Bühnen */
.dark { background: var(--night); color: #fff; position: relative; isolation: isolate; overflow: clip; }
.dark p { color: var(--night-text); }
.glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(55% 60% at 78% 18%, rgba(47, 107, 255, 0.32), transparent 70%),
    radial-gradient(40% 45% at 8% 100%, rgba(110, 155, 255, 0.14), transparent 70%);
}
.grid-lines {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(var(--night-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--night-line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(70% 70% at 70% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(70% 70% at 70% 30%, #000 20%, transparent 75%);
  opacity: 0.55;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 28px;
  padding: 7px 14px 7px 10px;
  border: 1px solid var(--night-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.875rem;
  font-weight: 600;
  color: #dfe7f5 !important;
}
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue-light); box-shadow: 0 0 0 4px rgba(110, 155, 255, 0.2); }
@media (prefers-reduced-motion: no-preference) {
  .pill__dot { animation: ping 2.4s var(--ease) infinite; }
  @keyframes ping { 0%, 100% { box-shadow: 0 0 0 4px rgba(110, 155, 255, 0.2); } 50% { box-shadow: 0 0 0 7px rgba(110, 155, 255, 0.06); } }
}

.eyebrow { margin-bottom: 16px; font-weight: 700; font-size: 0.9375rem; color: var(--blue); }

/* ------------------------------------------------------------ Marke */
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.wordmark { height: 30px; width: auto; }
.wordmark .wm-ink { fill: #fff; transition: fill 0.3s var(--ease); }
.wordmark .wm-vt { fill: #2F6BFF; }
.site-header.is-light .wordmark .wm-ink { fill: #0B1524; }
.site-header.is-light .wordmark .wm-vt { fill: #2F6BFF; }
.site-footer .wordmark { height: 30px; }

/* ------------------------------------------------------------ Buttons & Links */
.button {
  --bg: var(--ink);
  --fg: #fff;
  --bd: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--bd);
  border-radius: 12px;
  background: var(--bg);
  color: var(--fg);
  font-weight: 650;
  font-size: 0.98rem;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.button .icon { transition: transform 0.3s var(--ease); }
.button:hover .icon { transform: translateX(3px); }
.button:active { transform: translateY(1px); }
.button--primary { --bg: var(--blue); --bd: var(--blue); box-shadow: 0 8px 24px -10px rgba(47, 107, 255, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.18); }
.button--primary:hover { --bg: var(--blue-deep); --bd: var(--blue-deep); box-shadow: 0 12px 30px -10px rgba(47, 107, 255, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.18); }
.button--outline-light { --bg: rgba(255, 255, 255, 0.04); --bd: rgba(255, 255, 255, 0.2); }
.button--outline-light:hover { --bg: rgba(255, 255, 255, 0.1); --bd: rgba(255, 255, 255, 0.35); }
.button--light { --bg: #fff; --fg: var(--ink); --bd: #fff; }
.button--light:hover { --bg: var(--blue-soft); --bd: var(--blue-soft); }
.button--ghost { --bg: transparent; --fg: var(--ink); --bd: var(--line-strong); }
.button--ghost:hover { --bd: var(--ink); }
.button:not(.button--primary):not(.button--light):not(.button--outline-light):not(.button--ghost):hover { --bg: var(--ink-soft); --bd: var(--ink-soft); }
.button--small { min-height: 40px; padding: 0 16px; font-size: 0.9rem; border-radius: 10px; }
.button--large { min-height: 54px; padding: 0 26px; font-size: 1.02rem; }
.button[disabled] { opacity: 0.6; cursor: progress; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--blue); text-decoration: none; }
.link-arrow .icon { transition: transform 0.3s var(--ease); }
.link-arrow:hover span { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.link-arrow:hover .icon { transform: translateX(4px); }
.dark .link-arrow { color: var(--blue-light); }

.prose a, .form__legal a, .site-footer a, .contact__address a { text-decoration-color: rgba(47, 107, 255, 0.5); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--blue); }

/* ------------------------------------------------------------ Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header);
  color: #fff;
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease), color 0.35s var(--ease), box-shadow 0.35s var(--ease);
  border-bottom: 1px solid transparent;
  view-transition-name: site-header;
}
.site-header.is-scrolled { background: rgba(11, 21, 36, 0.72); -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px); border-bottom-color: var(--night-line); }
.site-header.is-light { color: var(--ink); background: rgba(255, 255, 255, 0.82); border-bottom-color: var(--line); }
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
main { display: block; }
body:not(.has-dark-top) main { padding-top: var(--header); }

.site-nav { display: flex; align-items: center; gap: 24px; }
.site-nav__links { display: flex; gap: 2px; }
.site-nav__links a {
  position: relative;
  padding: 8px 14px;
  border-radius: 9px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  opacity: 0.82;
  transition: opacity 0.2s, background-color 0.2s;
}
.site-nav__links a:hover { opacity: 1; background: rgba(255, 255, 255, 0.08); }
.site-header.is-light .site-nav__links a:hover { background: var(--tint); }
.site-nav__links a[aria-current="page"] { opacity: 1; }
.site-nav__links a[aria-current="page"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--blue-light); }
.site-header.is-light .site-nav__links a[aria-current="page"]::after { background: var(--blue); }

.menu-button {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 10px;
  background: transparent;
  color: inherit;
  font-weight: 600;
  cursor: pointer;
}
.site-header.is-light .menu-button { border-color: var(--line-strong); }
.menu-button__lines { display: grid; gap: 5px; width: 18px; }
.menu-button__lines i { display: block; height: 2px; border-radius: 2px; background: currentColor; transition: transform 0.3s var(--ease); }
.menu-button[aria-expanded="true"] .menu-button__lines i:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-button[aria-expanded="true"] .menu-button__lines i:last-child { transform: translateY(-3.5px) rotate(-45deg); }

@media (max-width: 960px) {
  .menu-button { display: inline-flex; }
  .site-nav {
    position: fixed;
    inset: var(--header) 0 auto 0;
    height: calc(100dvh - var(--header));
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    padding: 24px var(--gutter) 32px;
    background: var(--night);
    color: #fff;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s 0.3s;
  }
  .site-nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .site-nav__links { flex-direction: column; }
  .site-nav__links a { padding: 18px 0; border-radius: 0; border-bottom: 1px solid var(--night-line); font-size: 1.7rem; font-weight: 700; letter-spacing: -0.02em; opacity: 1; }
  .site-nav__links a:hover { background: transparent !important; }
  .site-nav__links a[aria-current="page"]::after { left: auto; right: 0; top: 50%; bottom: auto; width: 8px; height: 8px; border-radius: 50%; transform: translateY(-50%); background: var(--blue-light) !important; }
  .site-nav .button { min-height: 56px; }
  body.menu-open { overflow: hidden; }
  body.menu-open .site-header { background: var(--night); color: #fff; }
  body.menu-open .site-header .wordmark .wm-ink { fill: #fff; }
  body.menu-open .site-header .wordmark .wm-vt { fill: #2F6BFF; }
}

/* ------------------------------------------------------------ Hero */
.hero { padding-top: calc(var(--header) + clamp(40px, 6vw, 88px)); padding-bottom: clamp(40px, 5vw, 64px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(40px, 5vw, 80px); align-items: center; }
.hero__title { font-size: clamp(2.7rem, 1.5rem + 4.4vw, 5.25rem); line-height: 1.0; letter-spacing: -0.045em; font-weight: 750; max-width: 12ch; }
.hero__lead { margin-top: 28px; max-width: 40ch; font-size: clamp(1.1rem, 1rem + 0.4vw, 1.28rem); line-height: 1.55; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

.capabilities {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: clamp(56px, 7vw, 96px);
  border-top: 1px solid var(--night-line);
}
.capabilities li { display: flex; align-items: center; gap: 12px; padding: 24px 16px 4px 0; font-weight: 600; font-size: 0.9375rem; color: #dbe3f0; }
.capabilities .ico { color: var(--blue-light); }
@media (max-width: 1100px) { .capabilities { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .capabilities { grid-template-columns: repeat(2, minmax(0, 1fr)); } .capabilities li { font-size: 0.875rem; } }

@media (max-width: 980px) { .hero__grid { grid-template-columns: 1fr; } .hero__visual { margin-top: 16px; } }

/* Produktbühne */
.showcase { position: relative; padding: 0 0 40px 0; }
.showcase__web { position: relative; z-index: 1; margin-right: 16%; will-change: transform; }
.showcase__phone { position: absolute; z-index: 2; right: 0; bottom: -10px; width: 220px; will-change: transform; }
.showcase__toast {
  position: absolute;
  z-index: 3;
  left: -28px;
  bottom: 4%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 12px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  font-size: 0.8125rem;
  will-change: transform;
}
.showcase__toast b { display: block; font-size: 0.875rem; }
.showcase__toast span:last-child { color: var(--muted); }
.showcase__toast-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #e3f6ec; color: var(--ok); }
.showcase__toast-icon .ico { width: 18px; height: 18px; }
.showcase__note { margin-top: 18px !important; font-size: 0.8125rem; color: var(--night-muted) !important; }
/* Auf kleinen Bildschirmen wird die ganze Bühne als eine Grafik proportional verkleinert (JS setzt --s) */
@media (max-width: 760px) { .showcase[data-fit] { overflow: hidden; } .showcase__canvas { position: relative; width: 620px; transform-origin: 0 0; transform: scale(var(--s, 1)); } }

.js .showcase__web, .js .showcase__phone, .js .showcase__toast { opacity: 0; translate: 0 24px; }
.js .is-loaded .showcase__web { opacity: 1; translate: 0 0; transition: opacity 1s var(--ease) 0.25s, translate 1.1s var(--ease) 0.25s; }
.js .is-loaded .showcase__phone { opacity: 1; translate: 0 0; transition: opacity 1s var(--ease) 0.55s, translate 1.1s var(--ease) 0.55s; }
.js .is-loaded .showcase__toast { opacity: 1; translate: 0 0; transition: opacity 0.8s var(--ease) 1.2s, translate 0.9s var(--ease) 1.2s; }

/* App-Fenster */
.app-window { border-radius: 16px; overflow: hidden; background: #fff; color: var(--ink); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 40px 90px -30px rgba(0, 0, 0, 0.6); font-size: 0.8125rem; }
.app-window__bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; background: #f3f5f9; border-bottom: 1px solid var(--line); }
.app-window__bar i { width: 10px; height: 10px; border-radius: 50%; background: #d5dbe4; }
.app-window__bar span { margin-left: 14px; padding: 3px 14px; border-radius: 7px; background: #fff; border: 1px solid var(--line); font-size: 0.72rem; color: var(--muted); }
.app-window__body { display: grid; grid-template-columns: 172px minmax(0, 1fr); min-height: 330px; }
.app-side { display: flex; flex-direction: column; gap: 2px; padding: 16px 10px; background: #fafbfd; border-right: 1px solid var(--line); }
.app-side__brand { display: flex; align-items: center; gap: 8px; padding: 2px 8px 14px; font-weight: 750; font-size: 0.85rem; }
.app-side__brand b { width: 16px; height: 16px; border-radius: 5px; background: linear-gradient(135deg, var(--blue), var(--blue-light)); }
.app-side span { display: flex; align-items: center; gap: 9px; padding: 7px 9px; border-radius: 8px; color: var(--ink-soft); font-weight: 550; }
.app-side span .ico { width: 16px; height: 16px; color: var(--muted); }
.app-side span em { margin-left: auto; font-style: normal; font-weight: 700; font-size: 0.75rem; }
.app-side span.is-active { background: var(--blue-soft); color: var(--blue-deep); }
.app-side span.is-active .ico { color: var(--blue); }
.app-main { padding: 16px 20px; }
.app-main__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.app-main__head strong { font-size: 1.05rem; letter-spacing: -0.01em; }
.app-search { padding: 5px 40px 5px 12px; border: 1px solid var(--line); border-radius: 8px; color: #8a96a8; font-size: 0.75rem; }
.app-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.app-kpis div { padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; }
.app-kpis small { display: block; color: var(--muted); font-size: 0.7rem; font-weight: 600; }
.app-kpis b { font-size: 1.3rem; letter-spacing: -0.02em; }
.app-kpis .is-warn { background: var(--warn-soft); border-color: #f5dfb3; }
.app-table { width: 100%; border-collapse: collapse; }
.app-table th { text-align: left; font-weight: 600; font-size: 0.7rem; color: var(--muted); padding: 6px 8px 6px 0; border-bottom: 1px solid var(--line); }
.app-table td { padding: 9px 8px 9px 0; border-bottom: 1px solid #eef1f6; white-space: nowrap; }
.app-table td:first-child { font-weight: 650; }
.status { display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px 2px 7px; border-radius: 999px; font-size: 0.72rem; font-weight: 650; background: #eef1f6; color: var(--muted); }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status--ok { background: #e3f6ec; color: var(--ok); }
.status--check { background: var(--warn-soft); color: var(--warn); }
@media (max-width: 640px) {
  .app-window__body { grid-template-columns: 1fr; }
  .app-side { display: none; }
  .app-table th:nth-child(2), .app-table td:nth-child(2) { display: none; }
  .app-kpis small { font-size: 0.62rem; }
}

/* Telefon */
.phone { width: 100%; max-width: 280px; padding: 9px; border-radius: 38px; background: #0d1626; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 40px 80px -24px rgba(0, 0, 0, 0.65); position: relative; }
.phone__notch { position: absolute; top: 16px; left: 50%; width: 76px; height: 20px; margin-left: -38px; border-radius: 12px; background: #000; z-index: 1; }
.phone__screen { display: grid; gap: 8px; padding: 46px 13px 14px; border-radius: 30px; background: #f4f6fa; color: var(--ink); font-size: 0.78rem; }
.phone__top { display: flex; justify-content: space-between; align-items: center; }
.phone__top small { color: var(--muted); font-weight: 650; }
.phone__screen strong { font-size: 1.02rem; line-height: 1.2; letter-spacing: -0.015em; margin: 2px 0 4px; }
.phone__field { display: grid; gap: 1px; padding: 8px 10px; border-radius: 11px; background: #fff; border: 1px solid var(--line); font-weight: 650; }
.phone__field span { font-size: 0.66rem; font-weight: 600; color: var(--muted); }
.phone__field--photo { grid-template-columns: repeat(3, 1fr); gap: 5px; }
.phone__field--photo span { grid-column: 1 / -1; }
.phone__field--photo i { aspect-ratio: 1; border-radius: 7px; background: linear-gradient(135deg, #c9d5ea, #e7ecf5); }
.phone__field--warn { border-color: #f0d49a; background: var(--warn-soft); }
.phone__button { margin-top: 4px; padding: 11px; border-radius: 11px; background: var(--blue); color: #fff; text-align: center; font-weight: 700; }
.phone-stage { display: grid; place-items: center; padding: 32px; border-radius: var(--radius); background: radial-gradient(60% 60% at 50% 40%, rgba(47, 107, 255, 0.16), transparent 70%), var(--night); }
.phone-stage + .showcase__note { color: var(--muted) !important; }

/* Seitentext-Einblendung */
.split-word { display: inline-block; white-space: pre; }
.js [data-split] .split-word { overflow: clip; overflow-clip-margin: 0.2em; vertical-align: top; }
.js [data-split] .split-word > span { display: inline-block; transform: translateY(108%); }
.js [data-split].is-in .split-word > span { transform: none; transition: transform 1s var(--ease); transition-delay: calc(0.1s + var(--w) * 60ms); }
@media (max-width: 600px) {
  .js [data-split] { overflow-x: clip; }
  .js [data-split] .split-word { overflow: visible; }
  .js [data-split] .split-word > span { transform: translateX(calc(var(--from, -1) * 110vw)); }
  .js .hero .glow { translate: 70vw 0; opacity: 0; transition: translate 1.4s var(--ease) 0.2s, opacity 1.4s var(--ease) 0.2s; }
  .js .is-loaded .hero .glow { translate: 0 0; opacity: 1; }
}
.js .pill, .js .hero__lead, .js .hero__actions, .js .intro__lead, .js .intro__extra, .js .capabilities li { opacity: 0; transform: translateY(10px); }
.js .is-loaded .pill { opacity: 1; transform: none; transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .is-loaded .hero__lead, .js .is-loaded .intro__lead { opacity: 1; transform: none; transition: opacity 0.8s var(--ease) 0.45s, transform 0.8s var(--ease) 0.45s; }
.js .is-loaded .hero__actions, .js .is-loaded .intro__extra { opacity: 1; transform: none; transition: opacity 0.8s var(--ease) 0.6s, transform 0.8s var(--ease) 0.6s; }
.js .is-loaded .capabilities li { opacity: 1; transform: none; transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: calc(0.9s + var(--c, 0) * 70ms); }

/* ------------------------------------------------------------ Abschnitte */
.section { padding-block: var(--space); position: relative; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--night); }

.section__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr); gap: 20px clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(44px, 5vw, 72px); }
.section__head--center { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.section__head h2, .split__aside h2, .closing h2 { font-size: clamp(2rem, 1.35rem + 2.5vw, 3.35rem); line-height: 1.06; letter-spacing: -0.038em; font-weight: 740; max-width: 17ch; }
.section__head p { max-width: 50ch; color: var(--ink-soft); font-size: 1.0625rem; }
.dark .section__head p { color: var(--night-text); }
@media (max-width: 860px) { .section__head { grid-template-columns: 1fr; } }

/* Leistungskarten */
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 2.6vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(120% 70% at 100% 0%, var(--blue-soft), transparent 60%);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #c9d6f2; }
.service-card:hover::before { opacity: 1; }
.service-card__icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 28px; border-radius: 14px; background: var(--night); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.service-card:nth-child(2) .service-card__icon { background: var(--blue); }
.service-card h3 { font-size: 1.45rem; line-height: 1.2; letter-spacing: -0.025em; margin-bottom: 12px; }
.service-card p { color: var(--ink-soft); margin-bottom: 22px; }
.service-card ul { list-style: none; display: grid; gap: 8px; margin-bottom: 30px; font-size: 0.9375rem; font-weight: 600; }
.service-card li { display: flex; align-items: center; gap: 10px; }
.service-card li .ico { width: 18px; height: 18px; color: var(--blue); }
.service-card__more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--blue); }
.service-card__more .icon { transition: transform 0.3s var(--ease); }
.service-card:hover .service-card__more .icon { transform: translateX(4px); }
@media (max-width: 960px) { .service-grid { grid-template-columns: 1fr; } }

/* Split */
.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 40px clamp(40px, 7vw, 112px); align-items: start; }
.split__aside { position: sticky; top: calc(var(--header) + 32px); }
.split__aside p { margin-top: 20px; max-width: 42ch; color: var(--ink-soft); }
.split__aside .eyebrow { margin-top: 0; color: var(--blue); }
.split__aside .link-arrow { margin-top: 26px; }
.split--visual { align-items: center; }
.split--visual .split__aside { position: static; }
.split__visual { width: 100%; max-width: 580px; justify-self: end; }
.panel { padding: clamp(20px, 3vw, 36px); border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split__aside { position: static; } .split__visual { justify-self: start; } }

/* Definitionsliste */
.handover { display: grid; border-top: 1px solid var(--line-strong); }
.handover > div { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 8px 32px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.handover dt { font-weight: 720; font-size: 1.1rem; letter-spacing: -0.015em; }
.handover dd { color: var(--ink-soft); }
@media (max-width: 640px) { .handover > div { grid-template-columns: 1fr; } }

/* Feature-Karten */
.features { display: grid; gap: 20px; }
.features--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.features--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.feature { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.section--tint .feature { background: #fff; }
.feature__icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 22px; border-radius: 12px; background: var(--blue-soft); color: var(--blue); }
.feature h3 { font-size: 1.15rem; letter-spacing: -0.015em; margin-bottom: 8px; }
.feature p { color: var(--ink-soft); font-size: 0.97rem; }
@media (max-width: 1060px) { .features--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .features--4, .features--2 { grid-template-columns: 1fr; } }

/* Ablaufschema */
.flow { margin: 0; }
.flow__svg { width: 100%; height: auto; overflow: visible; }
.flow__track { fill: none; stroke: var(--line); stroke-width: 2; }
.flow__line { fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.flow__node rect { fill: #fff; stroke: var(--line-strong); stroke-width: 1.5; transition: stroke 0.35s var(--ease), fill 0.35s var(--ease); }
.flow__node--human rect { fill: var(--blue-soft); stroke: #b9cdfb; }
.flow__node.is-active rect { stroke: var(--blue); stroke-width: 2; }
.flow__node--human.is-active rect { fill: #d6e3ff; }
.flow__step { font-size: 12px; font-weight: 600; fill: var(--muted); }
.flow__title { font-size: 15.5px; font-weight: 700; fill: var(--ink); letter-spacing: -0.01em; }
.flow__pulse { fill: var(--blue); stroke: #fff; stroke-width: 3; opacity: 0; filter: drop-shadow(0 0 6px rgba(47, 107, 255, 0.6)); }
.flow.is-running .flow__pulse { opacity: 1; }
.flow__caption { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; margin-top: 18px; font-size: 0.85rem; color: var(--muted); }
.flow__toggle { padding: 4px 0; border: 0; background: none; font-size: 0.85rem; font-weight: 650; color: var(--blue); cursor: pointer; }
.flow__toggle[hidden] { display: none; }
.js .flow[data-animate] .flow__line { stroke-dashoffset: 1; }
.js .flow[data-animate] .flow__node { opacity: 0; transform: translateY(8px); }
.js .flow[data-animate].is-drawn .flow__line { stroke-dashoffset: 0; transition: stroke-dashoffset 2.2s var(--ease-io) 0.3s; }
.js .flow[data-animate].is-drawn .flow__node { opacity: 1; transform: none; transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); transition-delay: calc(0.35s + var(--i) * 0.38s); }
@media (max-width: 600px) { .flow__title { font-size: 19px; } .flow__step { font-size: 14.5px; } }

/* Zeitleiste */
.timeline { position: relative; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; padding-top: 48px; }
.timeline__rail { position: absolute; top: 15px; left: 0; right: 0; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.dark .timeline__rail { background: var(--night-line); }
.timeline__fill { position: absolute; inset: 0; background: linear-gradient(90deg, var(--blue), var(--blue-light)); transform-origin: left; transform: scaleX(var(--progress, 1)); }
.timeline__step { position: relative; padding: 26px; border-radius: var(--radius-m); border: 1px solid var(--line); background: #fff; }
.dark .timeline__step { background: rgba(255, 255, 255, 0.03); border-color: var(--night-line); }
.timeline__step::before { content: ""; position: absolute; top: -40px; left: 26px; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); border: 2px solid var(--line-strong); z-index: 1; transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.dark .timeline__step::before { background: var(--night); border-color: #3a4a63; }
.timeline__step.is-reached::before { background: var(--blue); border-color: var(--blue); box-shadow: 0 0 0 5px rgba(47, 107, 255, 0.22); }
.timeline__num { display: block; margin-bottom: 18px; font-weight: 750; font-size: 0.875rem; color: var(--blue); font-variant-numeric: tabular-nums; }
.dark .timeline__num { color: var(--blue-light); }
.timeline__step h3 { font-size: 1.2rem; letter-spacing: -0.02em; line-height: 1.25; margin-bottom: 10px; }
.timeline__step p { color: var(--ink-soft); font-size: 0.95rem; }
.dark .timeline__step p { color: var(--night-text); }
@media (max-width: 960px) {
  .timeline { grid-template-columns: 1fr; padding-top: 0; padding-left: 36px; gap: 16px; }
  .timeline__rail { top: 0; bottom: 0; left: 6px; right: auto; width: 2px; height: auto; }
  .timeline__fill { transform-origin: top; transform: scaleY(var(--progress, 1)); background: linear-gradient(180deg, var(--blue), var(--blue-light)); }
  .timeline__step::before { top: 28px; left: -36px; }
}

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius-m); background: #fff; transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.faq__item[open] { border-color: #c9d6f2; box-shadow: var(--shadow); }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 20px 22px; font-weight: 680; font-size: 1.05rem; letter-spacing: -0.012em; cursor: pointer; list-style: none; border-radius: var(--radius-m); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary i { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--tint); transition: background-color 0.3s var(--ease), transform 0.4s var(--ease); }
.faq__item summary i::before, .faq__item summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 2px; margin: -1px 0 0 -5.5px; border-radius: 2px; background: var(--ink); transition: transform 0.35s var(--ease), background-color 0.3s; }
.faq__item summary i::after { transform: rotate(90deg); }
.faq__item[open] summary i { background: var(--blue); transform: rotate(180deg); }
.faq__item[open] summary i::before, .faq__item[open] summary i::after { background: #fff; }
.faq__item[open] summary i::after { transform: rotate(0deg); }
.faq__answer { padding: 0 22px 22px; color: var(--ink-soft); max-width: 66ch; }
@supports (interpolate-size: allow-keywords) {
  .faq__item { interpolate-size: allow-keywords; }
  .faq__item::details-content { block-size: 0; overflow: clip; transition: block-size 0.4s var(--ease), content-visibility 0.4s allow-discrete; }
  .faq__item[open]::details-content { block-size: auto; }
}

/* Abschluss */
.closing { padding-block: 0 var(--space); }
.section--tint + .closing { padding-top: 0; background: linear-gradient(var(--tint) 35%, var(--paper) 35%); }
.section--tint:has(+ .closing) { padding-bottom: clamp(56px, 6vw, 88px); }
.closing__card { border-radius: calc(var(--radius) + 8px); padding: clamp(40px, 6vw, 80px); }
.glow--cta { background: radial-gradient(60% 90% at 100% 0%, rgba(47, 107, 255, 0.45), transparent 70%), radial-gradient(40% 60% at 0% 100%, rgba(110, 155, 255, 0.16), transparent 70%); }
.closing__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 28px clamp(40px, 6vw, 96px); align-items: end; }
.closing h2 { max-width: 15ch; }
.closing__body p { max-width: 44ch; margin-bottom: 28px; font-size: 1.0625rem; }
@media (max-width: 820px) { .closing__grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ Unterseiten */
.intro { padding-top: calc(var(--header) + clamp(48px, 7vw, 104px)); padding-bottom: clamp(64px, 8vw, 112px); }
.intro__grid { display: grid; gap: 48px; }
.intro--visual .intro__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); align-items: center; }
.intro__title { font-size: clamp(2.5rem, 1.5rem + 3.8vw, 4.6rem); line-height: 1.02; letter-spacing: -0.042em; font-weight: 750; max-width: 17ch; }
.intro__lead { margin-top: 26px; max-width: 50ch; font-size: clamp(1.08rem, 1rem + 0.35vw, 1.24rem); line-height: 1.55; }
.intro__jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.intro__jump a { padding: 10px 16px; border: 1px solid var(--night-line); border-radius: 10px; background: rgba(255, 255, 255, 0.04); font-weight: 600; font-size: 0.92rem; text-decoration: none; transition: background-color 0.25s, border-color 0.25s; }
.intro__jump a:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.28); }
@media (max-width: 900px) { .intro--visual .intro__grid { grid-template-columns: 1fr; } }

.cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.case { padding: clamp(28px, 3vw, 40px); background: #fff; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); }
.case h2 { font-size: clamp(1.35rem, 1.15rem + 0.7vw, 1.7rem); line-height: 1.2; letter-spacing: -0.025em; margin-bottom: 22px; max-width: 22ch; }
.case dl { display: grid; gap: 14px; }
.case dl > div { display: grid; grid-template-columns: 112px 1fr; gap: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.case dt { font-weight: 700; font-size: 0.92rem; }
.case dd { color: var(--ink-soft); font-size: 0.97rem; }
.case dl > div:nth-child(2) dt { color: var(--blue); }
@media (max-width: 860px) { .cases { grid-template-columns: 1fr; } .case dl > div { grid-template-columns: 1fr; gap: 4px; } }

.prose { max-width: 66ch; }
.prose p { color: var(--ink-soft); }
.prose h2 { font-size: 1.2rem; letter-spacing: -0.015em; margin: 40px 0 10px; }
.prose h2:first-child { margin-top: 0; }

/* Kontakt */
.contact { padding-top: calc(var(--header) + clamp(48px, 7vw, 96px)); padding-bottom: var(--space); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px clamp(40px, 7vw, 112px); align-items: start; }
.contact__intro .pill { color: var(--ink) !important; border-color: var(--line); background: var(--tint); }
.contact__steps { list-style: none; counter-reset: step; display: grid; gap: 16px; margin: 40px 0; max-width: 46ch; }
.contact__steps li { counter-increment: step; position: relative; padding-left: 46px; color: var(--ink-soft); }
.contact__steps li::before { content: counter(step); position: absolute; left: 0; top: -2px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--blue-soft); font-weight: 750; font-size: 0.85rem; color: var(--blue); }
.contact__steps strong { color: var(--ink); }
.contact__address { font-style: normal; color: var(--muted); line-height: 1.7; padding: 20px 22px; border-radius: var(--radius-m); background: var(--tint); max-width: 46ch; }
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } }
.contact .intro__title { color: var(--ink); }
.contact .intro__lead { color: var(--ink-soft); }

.form { display: grid; gap: 22px; padding: clamp(24px, 3.4vw, 44px); background: #fff; border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); box-shadow: var(--shadow-lg); }
.form__topics { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; }
.form__topics legend { width: 100%; margin-bottom: 12px; font-weight: 700; font-size: 0.95rem; }
.form__topics label { position: relative; }
.form__topics input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.form__topics span { display: inline-block; padding: 9px 16px; border: 1px solid var(--line-strong); border-radius: 999px; font-weight: 600; font-size: 0.92rem; transition: background-color 0.2s, border-color 0.2s, color 0.2s; }
.form__topics input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.form__topics input:focus-visible + span { outline: 2.5px solid var(--blue); outline-offset: 3px; }
.form__topics label:hover span { border-color: var(--blue); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 640px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; }
.field > span { font-weight: 650; font-size: 0.92rem; }
.field em { font-style: normal; font-weight: 500; color: var(--muted); margin-left: 6px; }
.field input, .field textarea { width: 100%; padding: 13px 15px; border: 1px solid var(--line-strong); border-radius: 11px; background: #fff; font-size: 1rem; transition: border-color 0.2s, box-shadow 0.2s; }
.field textarea { resize: vertical; min-height: 150px; line-height: 1.5; }
.field input:hover, .field textarea:hover { border-color: #aab5c5; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(47, 107, 255, 0.16); }
.field textarea::placeholder { color: #8692a4; }
.field [aria-invalid="true"] { border-color: #c0362c; }
.field__error { font-size: 0.875rem; font-weight: 600; color: #c0362c; }
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__legal { font-size: 0.875rem; color: var(--muted); }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form__status { margin: 0; font-weight: 600; font-size: 0.95rem; }
.form__status.is-ok { color: var(--ok); }
.form__status.is-error { color: #c0362c; }

/* Rechtliches */
.legal { padding-top: calc(var(--header) + clamp(48px, 7vw, 96px)); padding-bottom: var(--space); }
.legal__grid { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: 40px clamp(40px, 7vw, 112px); }
.legal__title { font-size: clamp(2.4rem, 1.6rem + 3vw, 3.8rem); letter-spacing: -0.04em; line-height: 1; }
@media (max-width: 860px) { .legal__grid { grid-template-columns: 1fr; } }
.todo { background: var(--warn-soft); color: var(--ink); padding: 2px 6px; border-radius: 4px; font-weight: 600; }

/* ------------------------------------------------------------ Footer */
.site-footer { background: var(--night); color: var(--night-text); padding-top: clamp(64px, 7vw, 96px); }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.site-footer__brand p { margin-top: 20px; max-width: 34ch; font-size: 0.95rem; }
.site-footer h2 { margin-bottom: 14px; font-size: 0.92rem; font-weight: 700; color: #fff; }
.site-footer__nav { display: grid; align-content: start; gap: 9px; font-size: 0.95rem; }
.site-footer__nav a { text-decoration: none; width: fit-content; transition: color 0.2s; }
.site-footer__nav a:hover { color: #fff; }
.site-footer__address { font-style: normal; font-size: 0.95rem; line-height: 1.7; }
.site-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: clamp(48px, 6vw, 80px); padding-block: 24px 32px; border-top: 0; background: linear-gradient(var(--night-line), var(--night-line)) var(--gutter) 0 / calc(100% - 2 * var(--gutter)) 1px no-repeat; font-size: 0.82rem; color: var(--night-muted); }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ Einblenden */
.js [data-reveal] { opacity: 0; transform: translateY(20px); }
.js [data-reveal].is-in { opacity: 1; transform: none; transition: opacity 0.85s var(--ease), transform 0.85s var(--ease); transition-delay: var(--d, 0ms); }
.js .service-card[data-reveal].is-in { transition: opacity 0.85s var(--ease) var(--d, 0ms), transform 0.85s var(--ease) var(--d, 0ms), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease); }
.js .service-card[data-reveal].is-in:hover { transform: translateY(-4px); transition-delay: 0ms; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .js [data-reveal], .js [data-split] .split-word > span, .js .flow[data-animate] .flow__node, .js .pill, .js .hero__lead, .js .hero__actions,
  .js .intro__lead, .js .intro__extra, .js .capabilities li, .js .showcase__web, .js .showcase__phone, .js .showcase__toast { opacity: 1 !important; transform: none !important; translate: none !important; }
  .js .flow[data-animate] .flow__line { stroke-dashoffset: 0; }
}

@media print { .site-header, .site-footer, .closing, .flow__toggle { display: none; } }
