/* ==========================================================================
   Avune – Stylesheet
   Farben aus dem Logo: Violett (A) → tiefes Violett → Schiefer-Violett ("ne")
   ========================================================================== */

@font-face {
  font-family: "Sora";
  src: url("../fonts/sora-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Sora";
  src: url("../fonts/sora-latin-ext-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Marke */
  --violet: #9a00f6;
  --violet-deep: #6e00d6;
  --dusk: #4d4579;
  --violet-tint: rgba(154, 0, 246, 0.16);

  /* Neutrale Töne – dunkles Schema */
  --ink: #ece8f4;
  --ink-soft: #b9b2c9;
  --ink-muted: #8f88a3;
  --paper: #110d19;
  --mist: #161120;
  --surface: #1c1628;
  --line: rgba(236, 232, 244, 0.1);
  --violet-text: #b872ff;
  --night: #0b0812;
  --night-raised: #1a1426;
  --on-night: #f4f1fa;
  --on-night-soft: rgba(244, 241, 250, 0.68);

  /* Bewegung (Leitfaden: starkes ease-out, nie ease-in) */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  /* Form */
  --r-s: 8px;
  --r-m: 14px;
  --r-l: 24px;

  --font: "Sora", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: clamp(20px, 4vw, 40px);
  --max: 1200px;
  --header-h: 72px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  color-scheme: dark;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
}

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

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 650;
  line-height: 1.1;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--violet);
  color: #fff;
}

.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: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--r-s);
  background: var(--paper);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus {
  top: 12px;
}

.container {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Buttons & Links ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: var(--violet-deep);
  color: #fff;
  font: inherit;
  font-size: 0.975rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 200ms ease;
}
.button:active {
  transform: scale(0.97);
}
.button[disabled] {
  cursor: progress;
  opacity: 0.75;
}
.button--ghost {
  background: transparent;
  color: inherit;
  box-shadow: inset 0 0 0 1px currentColor;
}

@media (hover: hover) and (pointer: fine) {
  .button:hover {
    background: var(--violet);
  }
  .button--ghost:hover {
    background: rgba(154, 0, 246, 0.08);
  }
}

.text-link {
  color: var(--violet-text);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  color: var(--on-night);
  transition: background-color 240ms ease, color 240ms ease, box-shadow 240ms ease;
}
.site-header.is-solid,
.site-header.menu-open {
  background: rgba(17, 13, 25, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
}
.site-header__logo {
  display: block;
  flex-shrink: 0;
  border-radius: var(--r-s);
}
.site-header__logo img {
  width: auto;
  height: 26px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__link {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.925rem;
  font-weight: 500;
  text-decoration: none;
  opacity: 0.82;
  transition: opacity 200ms ease, background-color 200ms ease;
}
.nav__link[aria-current="page"] {
  opacity: 1;
  color: var(--violet-text);
}
.nav .button {
  min-height: 40px;
  margin-left: 10px;
  padding: 0 18px;
}
@media (hover: hover) and (pointer: fine) {
  .nav__link:hover {
    opacity: 1;
    background: rgba(127, 110, 160, 0.16);
  }
}

/* Menü-Button nur auf kleinen Bildschirmen */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 220ms var(--ease-out), background-color 150ms ease;
}
.nav-toggle__bars {
  position: relative;
}
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle__bars::before {
  transform: translateY(-6px);
}
.nav-toggle__bars::after {
  transform: translateY(6px);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars {
  background: transparent;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
  transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
  transform: rotate(-45deg);
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px var(--gutter) 24px;
    background: var(--surface);
    color: var(--ink);
    box-shadow: 0 24px 40px -24px rgba(0, 0, 0, 0.7);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out), visibility 0s linear 200ms;
  }
  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out), visibility 0s;
  }
  .nav__link {
    padding: 14px 4px;
    border-radius: 0;
    font-size: 1.05rem;
    opacity: 1;
    border-bottom: 1px solid var(--line);
  }
  .nav .button {
    margin: 16px 0 0;
    min-height: 48px;
  }
}

/* ==========================================================================
   Hero
   Links: Glasscheibe mit Bruchkante (glass.js). Daneben der wechselnde
   Text, rechts Smartphone + Laptop.
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  /* wie im Referenzbild: violettes Licht auf der dem Bruch gegenüberliegenden Seite */
  background:
    radial-gradient(55% 85% at 100% 55%, rgba(84, 0, 178, 0.55), transparent 72%),
    radial-gradient(35% 50% at 72% 60%, rgba(154, 0, 246, 0.12), transparent 70%),
    #07050c;
  color: var(--on-night);
  isolation: isolate;
}

.hero__glass {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero__inner {
  min-height: inherit;
  display: flex;
  padding: calc(var(--header-h) + 24px) var(--gutter) 64px 0;
}
.hero__stage {
  flex: 1;
  display: grid;
  /* Spalte 1 bleibt für das Glas frei */
  grid-template-columns: 24% auto minmax(0, 1fr);
  column-gap: clamp(28px, 4vw, 72px);
  align-items: center;
}

.hero__title {
  grid-column: 2;
  /* Feste Breite (längstes Wort "Performance") → nichts verschiebt sich beim Tippen */
  width: 6.5em;
  font-size: clamp(2.1rem, 3.3vw, 3.6rem);
  font-weight: 650;
  line-height: 1.04;
  letter-spacing: -0.035em;
}
.hero__title-static {
  display: block;
  color: var(--on-night-soft);
}
.hero__word {
  /* Eigene Zeile mit fester Höhe: Löschen/Tippen verändert nie die Höhe */
  display: block;
  height: 1.04em;
  white-space: nowrap;
  contain: layout;
}
.hero__caret {
  display: inline-block;
  width: 0.07em;
  height: 0.86em;
  margin-left: 0.06em;
  border-radius: 2px;
  background: var(--violet);
  vertical-align: -0.06em;
  animation: caret-blink 1s steps(1) infinite;
}
.hero__caret.is-typing {
  animation: none;
}
@keyframes caret-blink {
  50% {
    opacity: 0;
  }
}

/* ---------- Geräte: Smartphone links vorne, Laptop rechts ---------- */
.devices {
  grid-column: 3;
  justify-self: end;
  position: relative;
  width: min(100%, 760px);
  padding-bottom: 64px;
}

.device {
  position: relative;
  display: block;
  color: inherit;
  text-decoration: none;
  border-radius: var(--r-m);
  transition: transform 260ms var(--ease-out);
}
.device:active {
  transform: scale(0.985);
}
.device:focus-visible {
  outline-offset: 8px;
}

.device__tag {
  position: absolute;
  top: calc(100% + 18px);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 200ms ease, box-shadow 200ms ease;
}
.device__tag::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 0 3px rgba(154, 0, 246, 0.28);
}

@media (hover: hover) and (pointer: fine) {
  .device:hover {
    transform: translateY(-6px);
  }
  .device:hover .device__tag {
    background: var(--violet-deep);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  }
}

/* Laptop */
.device--laptop {
  width: 78%;
  margin-top: 3%;
  margin-left: auto;
  margin-right: 4.5%;
}
.device--laptop .device__tag {
  right: 0;
}
.laptop__lid {
  padding: 2.2%;
  border-radius: 14px 14px 4px 4px;
  background: #221c2e;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.1),
    0 40px 80px -30px rgba(0, 0, 0, 0.8);
}
.laptop__screen {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 4px;
  background: #fbfaf7;
  container-type: inline-size;
}
.laptop__base {
  position: relative;
  width: 112%;
  height: 0;
  margin-left: -6%;
  padding-bottom: 3.2%;
  border-radius: 2px 2px 18px 18px / 2px 2px 12px 12px;
  background: linear-gradient(180deg, #d8d4e1 0%, #a7a2b6 55%, #6e6a7c 100%);
}
.laptop__base::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 16%;
  height: 38%;
  border-radius: 0 0 8px 8px;
  background: #8f8a9e;
  transform: translateX(-50%);
}

/* Smartphone */
.device--phone {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: 29%;
}
.device--phone .device__tag {
  left: 0;
}
.phone__body {
  padding: 5.5%;
  border-radius: 18% / 8.6%;
  background: #221c2e;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.14),
    0 30px 60px -20px rgba(0, 0, 0, 0.85);
}
.phone__screen {
  position: relative;
  aspect-ratio: 9 / 19.5;
  overflow: hidden;
  border-radius: 13% / 6%;
  background: #f5f2fb;
  container-type: inline-size;
}

/* ---------- Mock: Website im Laptop ---------- */
.mock-site {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: #2b2420;
  font-size: 2.1cqi;
  line-height: 1.3;
}
.mock-site__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2.4cqi 4cqi;
}
.mock-site__brand {
  display: flex;
  align-items: center;
  gap: 1.2cqi;
  font-weight: 700;
  font-size: 2.2cqi;
  letter-spacing: -0.02em;
}
.mock-site__brand::before {
  content: "";
  width: 2.6cqi;
  height: 2.6cqi;
  border-radius: 50%;
  background: #c9643a;
}
.mock-site__links {
  display: flex;
  gap: 3cqi;
  color: #7a6f68;
  font-size: 1.7cqi;
}
.mock-site__hero {
  display: grid;
  flex: 1;
  grid-template-columns: 1fr 1fr;
  gap: 4cqi;
  align-items: center;
  padding: 0 4cqi;
}
.mock-site__headline {
  font-size: 5cqi;
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.04em;
}
.mock-site__copy {
  margin-top: 1.8cqi;
  color: #7a6f68;
  font-size: 1.7cqi;
}
.mock-site__cta {
  display: inline-block;
  margin-top: 2.6cqi;
  padding: 1.3cqi 2.6cqi;
  border-radius: 999px;
  background: #2b2420;
  color: #fbfaf7;
  font-size: 1.6cqi;
  font-weight: 600;
}
.mock-site__image {
  height: 78%;
  border-radius: 2cqi;
  background:
    radial-gradient(30% 26% at 62% 44%, #f3d7b6 0%, transparent 70%),
    radial-gradient(60% 60% at 30% 80%, #b8552d 0%, transparent 72%),
    linear-gradient(160deg, #e9b98a 0%, #c9643a 55%, #6e2f1c 100%);
}
.mock-site__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2cqi;
  padding: 3cqi 4cqi 3.4cqi;
}
.mock-site__tile {
  height: 6cqi;
  border-radius: 1.4cqi;
  background: #efe9e2;
}

/* ---------- Mock: App im Smartphone ---------- */
.mock-app {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 18cqi 7cqi 0;
  color: #1d1830;
  font-size: 6.4cqi;
  line-height: 1.25;
}
.mock-app::before {
  content: "";
  position: absolute;
  top: 3.5cqi;
  left: 50%;
  width: 28cqi;
  height: 8cqi;
  border-radius: 999px;
  background: #221c2e;
  transform: translateX(-50%);
}
.mock-app__hello {
  color: #8a84a0;
  font-size: 5.4cqi;
}
.mock-app__title {
  font-size: 9.5cqi;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.mock-app__ring {
  position: relative;
  width: 52cqi;
  aspect-ratio: 1;
  margin: 8cqi auto 7cqi;
  border-radius: 50%;
  background: conic-gradient(#7b2ff2 0 72%, #e6def7 72% 100%);
}
.mock-app__ring::after {
  content: "72%";
  position: absolute;
  inset: 7cqi;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f5f2fb;
  font-size: 9cqi;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.mock-app__item {
  display: flex;
  align-items: center;
  gap: 4cqi;
  margin-top: 3cqi;
  padding: 4cqi;
  border-radius: 5cqi;
  background: #fff;
  font-size: 5.6cqi;
  font-weight: 600;
}
.mock-app__check {
  flex-shrink: 0;
  width: 7cqi;
  height: 7cqi;
  border-radius: 50%;
  box-shadow: inset 0 0 0 0.9cqi #cfc6e6;
}
.mock-app__check--done {
  background: #7b2ff2;
  box-shadow: none;
}
.mock-app__tabs {
  display: flex;
  justify-content: space-around;
  margin: auto -7cqi 0;
  padding: 5cqi 7cqi 8cqi;
  background: #fff;
}
.mock-app__tabs span {
  width: 7cqi;
  height: 7cqi;
  border-radius: 2cqi;
  background: #d8d0ec;
}
.mock-app__tabs span:first-child {
  background: #7b2ff2;
}

/* Hero: Einstiegs-Choreografie (einziger orchestrierter Moment der Seite) */
.js .hero__title,
.js .devices {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out);
}
.js .hero.is-ready .hero__title {
  transition-delay: 450ms;
}
.js .hero.is-ready .devices {
  transition-delay: 600ms;
}
.js .hero.is-ready .hero__title,
.js .hero.is-ready .devices {
  opacity: 1;
  transform: none;
}

/* Hero responsive: Glas oben, Text darunter, Geräte unten */
@media (max-width: 960px) {
  .hero__inner {
    padding: calc(var(--header-h) + 30svh) var(--gutter) 48px;
  }
  .hero__stage {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 48px;
    align-content: start;
  }
  .hero__title {
    grid-column: 1;
    font-size: clamp(2.4rem, 9vw, 3.4rem);
  }
  .devices {
    grid-column: 1;
    justify-self: center;
    width: min(100%, 600px);
  }
}

@media (max-width: 520px) {
  .device__tag {
    font-size: 0.8rem;
    padding: 7px 12px;
  }
  .device--phone {
    width: 30%;
  }
}

/* ==========================================================================
   Abschnitte
   ========================================================================== */
.section {
  padding-block: clamp(88px, 12vw, 160px);
}
.section--mist {
  background: var(--mist);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px 64px;
  align-items: end;
  margin-bottom: clamp(48px, 7vw, 88px);
}
.section-title {
  font-size: clamp(2rem, 4vw, 3.25rem);
}
.section-intro {
  max-width: 52ch;
  color: var(--ink-soft);
  font-size: 1.125rem;
}
@media (max-width: 760px) {
  .section-head {
    grid-template-columns: 1fr;
  }
}

/* ---------- Wofür wir stehen ---------- */
.manifest__track {
  position: relative;
  height: 220vh;
}
.manifest__sticky {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 36px;
  min-height: 100vh;
  min-height: 100svh;
  padding-block: calc(var(--header-h) + 24px) 48px;
}
.manifest__label {
  color: var(--violet-text);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.manifest__text {
  max-width: 22ch;
  font-size: clamp(2rem, 5vw, 4.25rem);
  font-weight: 620;
  line-height: 1.08;
  letter-spacing: -0.035em;
}
.manifest__text .w {
  opacity: 0.16;
  transition: opacity 220ms ease;
}
.manifest__text .w.is-on {
  opacity: 1;
}

.values {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px 32px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.value__title {
  font-size: 1.15rem;
  letter-spacing: -0.015em;
}
.value__text {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 0.975rem;
}
@media (max-width: 960px) {
  .values {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .values {
    grid-template-columns: 1fr;
  }
}

/* ---------- Leistungen: Ablauf Beraten → Entwickeln → Betreiben ---------- */
.flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.flow::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 20px;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--violet), var(--violet-deep) 50%, var(--dusk));
  opacity: 0.6;
}
.flow__step {
  position: relative;
}
.flow__index {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: inset 0 0 0 2px var(--violet-text);
  color: var(--violet-text);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.flow__step:nth-child(2) .flow__index {
  box-shadow: inset 0 0 0 2px #9a7cf0;
  color: #9a7cf0;
}
.flow__step:nth-child(3) .flow__index {
  box-shadow: inset 0 0 0 2px #8f88c4;
  color: #8f88c4;
}
.flow__title {
  margin-top: 28px;
  font-size: clamp(1.6rem, 2.4vw, 2rem);
}
.flow__summary {
  margin-top: 12px;
  color: var(--ink-soft);
}
.offer-list {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.offer {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.offer__name {
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}
.offer__detail {
  margin-top: 4px;
  color: var(--ink-muted);
  font-size: 0.925rem;
}
@media (max-width: 900px) {
  .flow {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .flow::before {
    top: 20px;
    bottom: 0;
    left: 20px;
    right: auto;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, var(--violet), var(--violet-deep) 50%, var(--dusk));
  }
  .flow__step {
    padding-left: 68px;
  }
  .flow__index {
    position: absolute;
    left: 0;
    top: 0;
  }
  .flow__title {
    margin-top: 4px;
  }
}

/* Zielgruppen */
.audiences {
  margin-top: clamp(72px, 9vw, 112px);
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--r-l);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--on-night);
}
.audiences__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 32px;
}
.audiences__title {
  font-size: clamp(1.4rem, 2.2vw, 1.75rem);
}
.audiences__note {
  color: var(--on-night-soft);
  font-size: 0.95rem;
}
.audiences__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  margin: 32px 0 0;
}
.audience dt {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  background: linear-gradient(90deg, #c27bff, #9a8fd6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.audience dd {
  margin: 8px 0 0;
  color: var(--on-night-soft);
  font-size: 0.95rem;
}
@media (max-width: 900px) {
  .audiences__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 480px) {
  .audiences__grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Portfolio ---------- */
.portfolio {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 20px;
}
.slot {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 320px;
  padding: 24px;
  overflow: hidden;
  border-radius: var(--r-l);
  background:
    repeating-linear-gradient(135deg, rgba(184, 114, 255, 0.07) 0 1px, transparent 1px 14px),
    var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}
.slot__status {
  position: absolute;
  top: 20px;
  left: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--violet-tint);
  color: var(--violet-text);
  font-size: 0.8rem;
  font-weight: 600;
}
.slot__status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.slot__kind {
  font-size: 1.15rem;
  font-weight: 650;
  letter-spacing: -0.015em;
}
.slot__desc {
  margin-top: 4px;
  color: var(--ink-muted);
  font-size: 0.925rem;
}
.portfolio-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 40px;
}
.portfolio-cta p {
  color: var(--ink-soft);
}
@media (max-width: 860px) {
  .portfolio {
    grid-template-columns: 1fr;
  }
  .slot {
    min-height: 220px;
  }
}

/* ---------- Kontakt ---------- */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 96px);
}
.contact__aside .section-intro {
  margin-top: 20px;
}
.contact__direct {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.975rem;
}
.contact__direct a {
  display: inline-block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 600;
  text-decoration: none;
}
@media (hover: hover) and (pointer: fine) {
  .contact__direct a:hover {
    color: var(--violet-text);
  }
}
@media (max-width: 860px) {
  .contact {
    grid-template-columns: 1fr;
  }
}

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field--full {
  grid-column: 1 / -1;
}
.field__label {
  font-size: 0.9rem;
  font-weight: 600;
}
.field__optional {
  color: var(--ink-muted);
  font-weight: 400;
}
.field__input {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border: 0;
  border-radius: var(--r-m);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px rgba(236, 232, 244, 0.16);
  color: var(--ink);
  color-scheme: dark;
  font: inherit;
  font-size: 1rem; /* ≥16px: verhindert Zoom auf iOS */
  transition: box-shadow 160ms ease;
  appearance: none;
}
textarea.field__input {
  min-height: 168px;
  resize: vertical;
}
select.field__input {
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath stroke='%23b9b2c9' stroke-width='1.6' d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
}
.field__input:focus {
  outline: none;
  box-shadow: inset 0 0 0 2px var(--violet-text);
}
.field__input[aria-invalid="true"] {
  box-shadow: inset 0 0 0 2px #ff6b8b;
}
.field__error {
  color: #ff8fa6;
  font-size: 0.85rem;
}
.field__error:empty {
  display: none;
}
.form__hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form__footer {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-top: 4px;
}
.form__privacy {
  max-width: 46ch;
  color: var(--ink-muted);
  font-size: 0.85rem;
}
.form__status {
  grid-column: 1 / -1;
  padding: 16px 18px;
  border-radius: var(--r-m);
  font-size: 0.95rem;
}
.form__status:empty {
  display: none;
}
.form__status--success {
  background: rgba(46, 204, 113, 0.12);
  color: #8ef0b5;
}
.form__status--error {
  background: rgba(255, 107, 139, 0.12);
  color: #ffb3c3;
}
@media (max-width: 560px) {
  .form {
    grid-template-columns: 1fr;
  }
  .form__footer .button {
    width: 100%;
  }
}

/* ---------- Footer ---------- */
.site-footer {
  padding-block: 40px;
  background: var(--night);
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.9rem;
}
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
}
.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 16px;
}
.site-footer__brand img {
  width: auto;
  height: 20px;
}
.site-footer__links {
  display: flex;
  gap: 24px;
}
.site-footer__links a {
  text-decoration: none;
}
@media (hover: hover) and (pointer: fine) {
  .site-footer__links a:hover {
    color: var(--ink);
    text-decoration: underline;
    text-underline-offset: 4px;
  }
}

/* ==========================================================================
   Unterseiten (Produktkatalog, Rechtliches)
   ========================================================================== */
.page-hero {
  padding-top: calc(var(--header-h) + clamp(56px, 8vw, 104px));
  padding-bottom: clamp(48px, 6vw, 80px);
  background:
    radial-gradient(50% 80% at 85% 0%, rgba(154, 0, 246, 0.25), transparent 70%),
    var(--night);
  color: var(--on-night);
}
.page-hero__title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  letter-spacing: -0.035em;
}
.page-hero__lead {
  max-width: 56ch;
  margin-top: 20px;
  color: var(--on-night-soft);
  font-size: 1.125rem;
}
.page-hero__jump {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}
.page-hero__jump .button--ghost {
  color: var(--on-night);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}

.page-hero .segmented {
  margin-top: 36px;
}
/* Umschalter Websites / Apps */
.segmented {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.segmented__tab {
  min-height: 44px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--on-night-soft);
  font: inherit;
  font-size: 0.975rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 200ms ease, color 200ms ease, transform 160ms var(--ease-out);
}
.segmented__tab:active {
  transform: scale(0.97);
}
.segmented__tab[aria-selected="true"] {
  background: var(--violet-deep);
  color: #fff;
}
@media (hover: hover) and (pointer: fine) {
  .segmented__tab[aria-selected="false"]:hover {
    color: var(--on-night);
    background: rgba(255, 255, 255, 0.06);
  }
}

/* Kacheln links, Anfrageformular rechts */
.catalog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 1fr);
  gap: clamp(32px, 4vw, 56px);
  align-items: start;
}
.catalog-panel:focus-visible {
  outline-offset: 8px;
}
.tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tile {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: var(--r-l);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}
.tile__name {
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}
.tile__for {
  margin-top: 6px;
  color: var(--violet-text);
  font-size: 0.875rem;
  font-weight: 500;
}
.tile__desc {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 0.975rem;
}
.tile__features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: auto 0 0;
  padding: 20px 0 0;
  list-style: none;
}
.tile__features li {
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--ink-soft);
  font-size: 0.8rem;
}
.catalog-note {
  margin-top: 28px;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.catalog-form {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--r-l);
  background: var(--mist);
  box-shadow: inset 0 0 0 1px var(--line);
}
.catalog-form__title {
  font-size: 1.6rem;
}
.catalog-form__intro {
  margin: 10px 0 24px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.form--stacked {
  grid-template-columns: 1fr;
  gap: 16px;
}
.form--stacked textarea.field__input {
  min-height: 140px;
}
.form--stacked .form__footer {
  flex-direction: column;
  align-items: stretch;
}
.form--stacked .form__privacy {
  max-width: none;
}

@media (max-width: 1080px) {
  .tiles {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 860px) {
  .catalog-layout {
    grid-template-columns: 1fr;
  }
  .catalog-form {
    position: static;
  }
}

/* Rechtstexte */
.legal {
  max-width: 72ch;
}
.legal h2 {
  margin-top: 56px;
  font-size: 1.5rem;
}
.legal h3 {
  margin-top: 32px;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}
.legal p,
.legal ul,
.legal address {
  margin-top: 14px;
  color: var(--ink-soft);
  font-style: normal;
}
.legal ul {
  padding-left: 1.2em;
}
.legal li + li {
  margin-top: 6px;
}
.legal a {
  color: var(--violet-text);
  text-underline-offset: 3px;
}
.placeholder {
  padding: 0 4px;
  border-radius: 4px;
  background: rgba(255, 214, 10, 0.18);
  color: #ffe27a;
}
.legal-draft {
  margin-bottom: 40px;
  padding: 16px 18px;
  border-radius: var(--r-m);
  background: rgba(255, 214, 10, 0.1);
  color: #ffe27a;
  font-size: 0.925rem;
}

/* 404 */
.notfound {
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: var(--gutter);
  background: var(--night);
  color: var(--on-night);
  text-align: center;
}
.notfound p {
  margin: 16px auto 32px;
  max-width: 40ch;
  color: var(--on-night-soft);
}

/* ==========================================================================
   Reduzierte Bewegung
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
  .manifest__track {
    height: auto;
  }
  .manifest__sticky {
    position: static;
    min-height: 0;
    padding-block: 0 56px;
  }
  .manifest__text .w {
    opacity: 1;
  }
  .hero__caret {
    animation: none;
  }
}

.page-hero + .section {
  padding-top: clamp(56px, 7vw, 96px);
}
