/* Niclas Schulz IT Services
   Ein Stylesheet für alle Seiten. Keine externen Ressourcen. */

/* ------------------------------------------------------------------ */
/* Schriften (Geist, SIL Open Font License 1.1, siehe /assets/fonts/OFL.txt) */
/* ------------------------------------------------------------------ */
@font-face {
  font-family: "Geist";
  src: url("/assets/fonts/geist.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("/assets/fonts/geist-mono.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ------------------------------------------------------------------ */
/* Tokens */
/* ------------------------------------------------------------------ */
:root {
  --bg: #f7f7f4;
  --surface: #ffffff;
  --surface-2: #f0f1ee;
  --ink: #0b0f1c;
  --ink-2: #2a3142;
  --muted: #586073;
  --line: #e4e4df;
  --line-strong: #cfd0ca;
  --accent: #2f5bff;
  --accent-2: #7a5cff;
  --accent-soft: #e6ecff;
  --accent-ink: #2442d9;
  --ice: #8fb4ff;

  --dark: #0a0e1a;
  --dark-2: #121829;
  --on-dark: #eef1f8;
  --on-dark-muted: #a3acc0;
  --on-dark-line: rgb(255 255 255 / 0.1);

  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --radius: 28px;
  --header-h: 64px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease: cubic-bezier(0.22, 0.75, 0.25, 1);

  color-scheme: light;
}

/* ------------------------------------------------------------------ */
/* Basis */
/* ------------------------------------------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 40px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
h1,
h2,
h3 {
  font-weight: 600;
  text-wrap: balance;
}
p {
  text-wrap: pretty;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
img,
svg {
  display: block;
}
::selection {
  background: var(--accent);
  color: #fff;
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}
.projects :focus-visible,
.contact :focus-visible,
.tile-saas :focus-visible {
  outline-color: var(--ice);
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.icon {
  width: 1.15em;
  height: 1.15em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  transition: top 0.2s var(--ease);
}
.skip-link:focus {
  top: 16px;
}

/* Buttons und Links */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 560;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition:
    background-color 0.25s var(--ease),
    color 0.25s var(--ease),
    border-color 0.25s var(--ease),
    box-shadow 0.35s var(--ease),
    transform 0.35s var(--ease-out);
}
.button .icon,
.tile-link .icon,
.sc-link .icon,
.nav-cta .icon {
  transition: transform 0.35s var(--ease-out);
}
.button-primary {
  background: var(--ink);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.14),
    0 10px 30px -12px rgb(11 15 28 / 0.55);
}
.button-ghost {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
}
.button-light {
  background: #fff;
  color: var(--ink);
}

/* Abschnitts-Grundlagen */
.section {
  padding-block: clamp(96px, 13vw, 168px);
}
.section-head {
  max-width: 780px;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.kicker span {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-weight: 600;
}
.section-head h2,
.contact h2 {
  margin: 20px 0 22px;
  font-size: clamp(38px, 5.6vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}
.section-intro {
  max-width: 620px;
  font-size: clamp(17px, 1.5vw, 19px);
  color: var(--muted);
}
.on-dark h2 {
  color: #fff;
}
.on-dark .section-intro,
.contact .section-intro {
  color: var(--on-dark-muted);
}
.on-dark .kicker,
.contact .kicker {
  color: var(--on-dark-muted);
}
.on-dark .kicker span,
.contact .kicker span {
  background: rgb(143 180 255 / 0.14);
  color: var(--ice);
}

/* ------------------------------------------------------------------ */
/* Fortschritt und Header */
/* ------------------------------------------------------------------ */
.progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}
.site-header {
  position: fixed;
  inset: 12px 0 auto;
  z-index: 50;
  padding-inline: 12px;
  pointer-events: none;
}
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: calc(var(--wrap) + 48px);
  height: var(--header-h);
  margin-inline: auto;
  padding: 0 10px 0 16px;
  border: 1px solid transparent;
  border-radius: 999px;
  pointer-events: auto;
  transition:
    background-color 0.4s var(--ease),
    border-color 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}
.site-header.scrolled .header-bar,
.site-header.menu-open .header-bar,
.legal-page .header-bar {
  background: rgb(255 255 255 / 0.78);
  border-color: rgb(11 15 28 / 0.08);
  box-shadow: 0 12px 32px -20px rgb(11 15 28 / 0.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  backdrop-filter: blur(18px) saturate(1.6);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: 12px;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--ice);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.05em;
}
.brand-name {
  display: flex;
  flex-direction: column;
  font-size: 15px;
  font-weight: 620;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.brand-name small {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 450;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}
.main-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  transition:
    background-color 0.25s var(--ease),
    color 0.25s var(--ease);
}
.main-nav a.is-active:not(.nav-cta) {
  color: var(--ink);
  background: rgb(11 15 28 / 0.05);
}
.main-nav .nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
  padding: 11px 18px;
  background: var(--ink);
  color: #fff;
}
.menu-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 15px;
  font-weight: 560;
}
.menu-icon {
  display: grid;
  gap: 5px;
  width: 16px;
}
.menu-icon i {
  display: block;
  height: 1.6px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.35s var(--ease-out);
}
.menu-open .menu-icon i:first-child {
  transform: translateY(3.3px) rotate(45deg);
}
.menu-open .menu-icon i:last-child {
  transform: translateY(-3.3px) rotate(-45deg);
}

/* ------------------------------------------------------------------ */
/* Hero */
/* ------------------------------------------------------------------ */
.hero {
  position: relative;
  padding-top: clamp(128px, 16vw, 188px);
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 30%;
  z-index: -1;
  background:
    radial-gradient(60% 50% at 50% 0%, rgb(47 91 255 / 0.14), transparent 70%),
    linear-gradient(to right, rgb(11 15 28 / 0.045) 1px, transparent 1px) 0 0 / 72px 72px,
    linear-gradient(to bottom, rgb(11 15 28 / 0.045) 1px, transparent 1px) 0 0 / 72px 72px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 20%, #000 30%, transparent 80%);
  mask-image: radial-gradient(70% 60% at 50% 20%, #000 30%, transparent 80%);
}
.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.75);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  animation: fade-up 0.9s var(--ease-out) both;
}
.pulse {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1fbf75;
}
.pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #1fbf75;
  animation: ping 2.2s var(--ease-out) infinite;
}
.hero-title {
  margin: 28px 0 26px;
  font-size: clamp(40px, 7vw, 100px);
  font-weight: 640;
  line-height: 0.98;
  letter-spacing: -0.055em;
}
.hero-title .line {
  display: block;
  overflow: hidden;
  padding: 0 0.04em 0.09em;
  margin-bottom: -0.09em;
}
.hero-title .line > span {
  display: inline-block;
  animation: rise 1.1s var(--ease-out) 0.1s both;
}
.hero-title .line + .line > span {
  animation-delay: 0.22s;
}
.hero-title .accent > span {
  background: linear-gradient(100deg, var(--accent) 10%, var(--accent-2) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead {
  max-width: 660px;
  font-size: clamp(17px, 1.7vw, 20px);
  color: var(--muted);
  animation: fade-up 1s var(--ease-out) 0.4s both;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
  animation: fade-up 1s var(--ease-out) 0.52s both;
}

/* Bühne mit sich aufbauender Website */
.stage-wrap {
  margin-top: clamp(56px, 8vw, 96px);
}
.stage {
  --p: 1;
  perspective: 1800px;
}
.stage-tilt {
  position: relative;
  max-width: 1040px;
  margin-inline: auto;
  container-type: inline-size;
  transform-origin: 50% 0%;
  transform: rotateX(calc((1 - var(--p)) * 24deg)) scale(calc(0.9 + var(--p) * 0.1));
  will-change: transform;
}
.browser {
  position: relative;
  overflow: hidden;
  border: 1px solid rgb(11 15 28 / 0.08);
  border-radius: clamp(12px, 2cqi, 20px);
  background: var(--surface);
  box-shadow:
    0 60px 120px -40px rgb(23 37 84 / 0.38),
    0 30px 60px -40px rgb(0 0 0 / 0.3);
  container-type: inline-size;
  animation: fade-up 1.1s var(--ease-out) 0.55s both;
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  height: clamp(30px, 4.4cqi, 46px);
  padding: 0 clamp(10px, 1.6cqi, 18px);
  border-bottom: 1px solid var(--line);
  background: #fbfbf9;
}
.dots {
  display: flex;
  gap: 6px;
  flex: 1;
}
.dots i {
  width: clamp(7px, 1.1cqi, 11px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #dcdcd6;
}
.url {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 8px;
  background: var(--surface-2);
  font-family: var(--mono);
  font-size: clamp(9px, 1.3cqi, 13px);
  color: var(--muted);
}
.url b {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: #1fbf75;
}
.bar-space {
  flex: 1;
}
.mock-site {
  padding: 2.4cqi 3cqi 3cqi;
}
.mock-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mock-logo {
  display: inline-flex;
  align-items: center;
  gap: 1cqi;
  font-size: clamp(9px, 1.5cqi, 15px);
  font-weight: 650;
}
.mock-logo i {
  width: 2.4cqi;
  aspect-ratio: 1;
  border-radius: 30%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}
.mock-links {
  display: flex;
  gap: 2.2cqi;
}
.mock-links i {
  width: 5cqi;
  height: 0.8cqi;
  border-radius: 9px;
  background: #e3e4df;
}
.mock-pill {
  padding: 0.7cqi 1.6cqi;
  border-radius: 99px;
  background: var(--ink);
  color: #fff;
  font-size: clamp(8px, 1.2cqi, 13px);
  font-weight: 560;
}
.mock-hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3cqi;
  margin-top: 4cqi;
  align-items: center;
}
.mock-kicker {
  display: inline-block;
  padding: 0.4cqi 1.2cqi;
  border-radius: 99px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-family: var(--mono);
  font-size: clamp(7px, 1.05cqi, 11px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.mock-h {
  display: block;
  margin: 1.6cqi 0;
  font-size: 4.3cqi;
  font-weight: 660;
  line-height: 1.02;
  letter-spacing: -0.045em;
}
.mock-lines {
  display: grid;
  gap: 1cqi;
}
.mock-lines i {
  height: 0.9cqi;
  border-radius: 9px;
  background: #e8e9e4;
}
.mock-lines i:nth-child(2) {
  width: 88%;
}
.mock-lines i:nth-child(3) {
  width: 56%;
}
.mock-button {
  position: relative;
  display: inline-block;
  margin-top: 2.4cqi;
  padding: 1.1cqi 2.2cqi;
  border-radius: 99px;
  background: var(--accent);
  color: #fff;
  font-size: clamp(8px, 1.35cqi, 14px);
  font-weight: 600;
}
.mock-button::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 0 rgb(47 91 255 / 0.5);
  opacity: 0;
}
.cursor {
  position: absolute;
  left: 62%;
  top: 52%;
  width: clamp(14px, 2.6cqi, 26px);
  filter: drop-shadow(0 4px 6px rgb(0 0 0 / 0.25));
}
.cursor svg {
  width: 100%;
  height: auto;
  fill: var(--ink);
  stroke: #fff;
  stroke-width: 1.5;
  stroke-linejoin: round;
}
.mock-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3.2;
  border-radius: 1.8cqi;
  background: linear-gradient(165deg, #dfe6ff 0%, #ece6ff 55%, #fbe9f1 100%);
}
.mock-image .sun {
  position: absolute;
  right: 16%;
  top: 16%;
  width: 18%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #ffd37a;
  box-shadow: 0 0 40px 10px rgb(255 211 122 / 0.5);
}
.mock-image .hill {
  position: absolute;
  bottom: -40%;
  border-radius: 50%;
}
.mock-image .hill.one {
  left: -20%;
  width: 90%;
  aspect-ratio: 1;
  background: linear-gradient(180deg, #7d95ff, var(--accent));
}
.mock-image .hill.two {
  right: -25%;
  width: 85%;
  aspect-ratio: 1;
  bottom: -50%;
  background: linear-gradient(180deg, #a891ff, var(--accent-2));
}
.mock-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6cqi;
  margin-top: 3cqi;
}
.mock-cards > span {
  display: grid;
  gap: 0.9cqi;
  padding: 1.6cqi;
  border: 1px solid var(--line);
  border-radius: 1.4cqi;
}
.mock-cards i {
  width: 3cqi;
  aspect-ratio: 1;
  border-radius: 30%;
  background: var(--accent-soft);
}
.mock-cards b {
  height: 0.8cqi;
  border-radius: 9px;
  background: #e8e9e4;
}
.mock-cards b + b {
  width: 64%;
}
.toast {
  position: absolute;
  right: 6cqi;
  top: 17cqi;
  display: flex;
  align-items: center;
  gap: 1.2cqi;
  padding: 1.2cqi 1.8cqi 1.2cqi 1.2cqi;
  border: 1px solid var(--line);
  border-radius: 1.6cqi;
  background: rgb(255 255 255 / 0.92);
  box-shadow: 0 20px 40px -20px rgb(11 15 28 / 0.35);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.toast-icon {
  display: grid;
  place-items: center;
  width: 3.4cqi;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #1fbf75;
  color: #fff;
  font-size: clamp(9px, 1.6cqi, 16px);
}
.toast-icon .icon {
  stroke-width: 2.6;
}
.toast strong {
  display: block;
  font-size: clamp(9px, 1.4cqi, 14px);
  line-height: 1.2;
}
.toast small {
  display: block;
  font-size: clamp(8px, 1.15cqi, 12px);
  color: var(--muted);
}
.phone {
  position: absolute;
  right: -1.5cqi;
  bottom: -6cqi;
  display: flex;
  flex-direction: column;
  gap: 1.1cqi;
  width: 19cqi;
  aspect-ratio: 9 / 18.5;
  padding: 3.6cqi 1.6cqi 1.6cqi;
  border: 0.9cqi solid #0d1222;
  border-radius: 3.6cqi;
  background: var(--surface);
  box-shadow: 0 40px 80px -30px rgb(11 15 28 / 0.5);
  animation: phone-in 1.1s var(--ease-out) 1.9s both;
}
.phone-notch {
  position: absolute;
  top: 1cqi;
  left: 50%;
  width: 5.5cqi;
  height: 1.4cqi;
  border-radius: 99px;
  background: #0d1222;
  translate: -50% 0;
}
.p-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.p-nav i {
  width: 2.2cqi;
  aspect-ratio: 1;
  border-radius: 30%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}
.p-nav b {
  width: 2.6cqi;
  height: 0.5cqi;
  border-radius: 9px;
  background: var(--ink);
  box-shadow: 0 0.9cqi 0 var(--ink);
  translate: 0 -0.45cqi;
}
.p-h {
  margin-top: 0.6cqi;
  font-size: 1.9cqi;
  font-weight: 660;
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.p-img {
  position: relative;
  overflow: hidden;
  height: 13cqi;
  border-radius: 1.4cqi;
  background: linear-gradient(165deg, #dfe6ff, #ece6ff 60%, #fbe9f1);
}
.p-img i {
  position: absolute;
  left: -20%;
  bottom: -60%;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(180deg, #7d95ff, var(--accent));
}
.p-line {
  height: 0.6cqi;
  border-radius: 9px;
  background: #e8e9e4;
}
.p-line.short {
  width: 60%;
}
.p-btn {
  margin-top: auto;
  padding: 0.9cqi;
  border-radius: 99px;
  background: var(--accent);
  color: #fff;
  font-size: 1.15cqi;
  font-weight: 600;
  text-align: center;
}
.chip-float {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: clamp(6px, 1cqi, 10px) clamp(10px, 1.6cqi, 16px);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.9);
  box-shadow: 0 18px 40px -18px rgb(11 15 28 / 0.35);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: clamp(11px, 1.45cqi, 15px);
  font-weight: 560;
  white-space: nowrap;
}
.chip-float .icon {
  color: var(--accent);
}
.chip-float.c1 {
  left: -3cqi;
  top: 22%;
  animation:
    pop 0.8s var(--ease-out) 2.3s both,
    float 7s ease-in-out 3.2s infinite;
}
.chip-float.c2 {
  right: 9cqi;
  top: -2.4cqi;
  animation:
    pop 0.8s var(--ease-out) 2.45s both,
    float 8s ease-in-out 3.4s infinite reverse;
}
.chip-float.c3 {
  left: 6cqi;
  bottom: -2.6cqi;
  animation:
    pop 0.8s var(--ease-out) 2.6s both,
    float 7.5s ease-in-out 3.6s infinite;
}
.stage-caption {
  margin-top: clamp(48px, 7vw, 72px);
  text-align: center;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}

/* Bausequenz der Beispiel-Website */
.b1,
.b2,
.b3,
.b4,
.b5,
.b7,
.b8,
.b9 {
  animation: build 0.8s var(--ease-out) both;
}
.b1 { animation-delay: 0.95s; }
.b2 { animation-delay: 1.1s; }
.b3 { animation-delay: 1.2s; }
.b4 { animation-delay: 1.35s; }
.b5 { animation-delay: 1.5s; }
.b6 { animation: wipe 1.1s var(--ease-out) 1.3s both; }
.b7 { animation-delay: 1.6s; }
.b8 { animation-delay: 1.7s; }
.b9 { animation-delay: 1.8s; }
.mock-button {
  animation:
    build 0.8s var(--ease-out) 1.5s both,
    press 0.35s var(--ease) 3.85s both;
}
.mock-button::after {
  animation: ring 0.9s var(--ease-out) 3.9s both;
}
.cursor {
  animation: cursor-in 1.4s var(--ease-out) 2.5s both;
}
.toast {
  animation: toast-in 0.8s var(--ease-out) 4.05s both;
}

/* Versprechen unter dem Hero */
.promise-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 40px);
  margin-top: clamp(72px, 9vw, 120px);
}
.promise-row li {
  display: grid;
  gap: 6px;
  padding-top: 22px;
  border-top: 1px solid var(--line-strong);
}
.promise-row strong {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.promise-row span {
  color: var(--muted);
  font-size: 16px;
}

/* Laufband */
.marquee {
  margin-top: clamp(80px, 10vw, 128px);
  padding-block: 26px;
  overflow: hidden;
  border-block: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 48s linear infinite;
}
.marquee span {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  padding-right: 40px;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 560;
  letter-spacing: -0.035em;
  color: var(--ink-2);
}
.marquee span::after {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  transform: rotate(45deg);
}

/* Statement */
.statement {
  padding-block: clamp(110px, 15vw, 200px) clamp(40px, 6vw, 80px);
}
.statement-text {
  max-width: 1100px;
  font-size: clamp(30px, 4.5vw, 62px);
  font-weight: 580;
  line-height: 1.12;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.statement-text .w {
  opacity: clamp(0.16, calc((var(--p, 1) * (var(--n) + 4) - var(--i)) / 4), 1);
}

/* ------------------------------------------------------------------ */
/* Leistungen */
/* ------------------------------------------------------------------ */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.tile {
  --mx: 50%;
  --my: 50%;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: clamp(24px, 3vw, 36px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  isolation: isolate;
  transition:
    transform 0.6s var(--ease-out),
    box-shadow 0.6s var(--ease-out),
    border-color 0.4s var(--ease);
}
.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(480px circle at var(--mx) var(--my), rgb(47 91 255 / 0.08), transparent 45%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.tile-web {
  grid-column: span 4;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: stretch;
}
.tile-web .tile-art {
  order: 2;
}
.tile-app,
.tile-flow {
  grid-column: span 2;
}
.tile-flow {
  grid-column: span 3;
}
.tile-app {
  grid-row: span 1;
}
.tile-saas {
  grid-column: span 3;
  background: var(--dark);
  border-color: var(--dark);
  color: var(--on-dark);
}
.tile-saas::before {
  background: radial-gradient(480px circle at var(--mx) var(--my), rgb(143 180 255 / 0.16), transparent 45%);
}
.tile-copy {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}
.tile h3 {
  font-size: clamp(24px, 2.4vw, 30px);
  line-height: 1.1;
  letter-spacing: -0.035em;
}
.tile p {
  color: var(--muted);
  font-size: 16px;
}
.tile-saas p {
  color: var(--on-dark-muted);
}
.tile-label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.tile-saas .tile-label {
  color: var(--ice);
}
.checks {
  display: grid;
  gap: 10px;
  margin-top: 4px;
}
.checks li {
  display: flex;
  gap: 10px;
  font-size: 15.5px;
  line-height: 1.45;
  color: var(--ink-2);
}
.checks .icon {
  margin-top: 1px;
  color: var(--accent);
  stroke-width: 2.2;
}
.tile-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin-top: auto;
  padding-top: 10px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.tile-link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}
.tile-art {
  position: relative;
  min-height: 200px;
  overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(180deg, #f2f4fa, #eceff8);
}

/* Illustration Websites */
.art-web {
  min-height: 300px;
}
.aw-desktop {
  position: absolute;
  left: 8%;
  top: 12%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 74%;
  height: 78%;
  padding: 14px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 24px 50px -24px rgb(23 37 84 / 0.35);
}
.aw-top {
  height: 8px;
  width: 42%;
  border-radius: 9px;
  background: #e3e4df;
}
.aw-hero {
  flex: 1;
  border-radius: 10px;
  background: linear-gradient(135deg, #cfd9ff, #e4dcff);
}
.aw-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  height: 38px;
}
.aw-row i {
  border-radius: 8px;
  background: var(--surface-2);
}
.aw-phone {
  position: absolute;
  right: 7%;
  bottom: 8%;
  display: flex;
  flex-direction: column;
  gap: 7px;
  width: 25%;
  aspect-ratio: 9 / 17;
  padding: 10px 8px;
  border: 4px solid var(--ink);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 50px -20px rgb(11 15 28 / 0.45);
}
.aw-phone .aw-top {
  width: 50%;
  height: 6px;
}
.aw-phone .aw-hero {
  flex: 0 0 42%;
}
.aw-phone i {
  height: 6px;
  border-radius: 9px;
  background: #e8e9e4;
}
.aw-phone i + i {
  width: 60%;
}

/* Illustration Webanwendungen */
.aa-window {
  position: absolute;
  inset: 14% 10% -10%;
  display: grid;
  grid-template-columns: 22% 1fr;
  gap: 12px;
  padding: 14px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 24px 50px -24px rgb(23 37 84 / 0.35);
}
.aa-side {
  display: grid;
  align-content: start;
  gap: 8px;
  padding-right: 10px;
  border-right: 1px solid var(--line);
}
.aa-side i {
  height: 7px;
  border-radius: 9px;
  background: #e8e9e4;
}
.aa-side i:first-child {
  background: var(--accent);
  width: 70%;
}
.aa-main {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.aa-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.aa-stats i {
  height: 34px;
  border-radius: 8px;
  background: var(--surface-2);
}
.aa-stats i:first-child {
  background: var(--accent-soft);
}
.aa-bars {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  flex: 1;
  min-height: 70px;
}
.aa-bars i {
  flex: 1;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, var(--accent), #6f8bff);
  transform-origin: 50% 100%;
  transition: transform 0.9s var(--ease-out);
}
.aa-bars i:nth-child(1) { height: 38%; }
.aa-bars i:nth-child(2) { height: 62%; transition-delay: 0.07s; }
.aa-bars i:nth-child(3) { height: 48%; transition-delay: 0.14s; }
.aa-bars i:nth-child(4) { height: 80%; transition-delay: 0.21s; }
.aa-bars i:nth-child(5) { height: 66%; transition-delay: 0.28s; }
.aa-bars i:nth-child(6) { height: 94%; transition-delay: 0.35s; background: linear-gradient(180deg, var(--accent-2), #a28dff); }

/* Illustration Abläufe */
.art-flow {
  display: block;
}
.af-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.af-lines path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  stroke-dasharray: 5 7;
  vector-effect: non-scaling-stroke;
  animation: dash 1.6s linear infinite;
}
.af-node {
  position: absolute;
  top: 50%;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 14px 30px -18px rgb(23 37 84 / 0.4);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  translate: -50% -50%;
  transition:
    scale 0.7s var(--ease-out),
    opacity 0.7s var(--ease-out);
}
.af-node.n1 { left: 16.66%; }
.af-node.n2 { left: 50%; transition-delay: 0.15s; }
.af-node.n3 {
  left: 83.33%;
  transition-delay: 0.3s;
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

/* Illustration Software im Abo */
.tile-saas {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: stretch;
}
.art-saas {
  min-height: 220px;
  background: radial-gradient(circle at 50% 50%, rgb(143 180 255 / 0.18), transparent 65%);
}
.as-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 190px;
  aspect-ratio: 1;
  border: 1px dashed rgb(143 180 255 / 0.35);
  border-radius: 50%;
  translate: -50% -50%;
  animation: spin 40s linear infinite;
}
.as-app {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  aspect-ratio: 1;
  border-radius: 20px;
  box-shadow: 0 20px 40px -16px rgb(0 0 0 / 0.6);
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.06em;
}
.as-app i {
  font-style: normal;
  color: var(--ice);
}
.as-app.a1 {
  left: 50%;
  top: 50%;
  width: 84px;
  border-radius: 26px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  translate: -50% -50%;
  z-index: 1;
}
.as-app.a2 {
  left: 16%;
  top: 18%;
  background: linear-gradient(135deg, #3ccfa8, #1d9c7b);
  animation: float 7s ease-in-out infinite;
}
.as-app.a3 {
  right: 14%;
  bottom: 14%;
  background: linear-gradient(135deg, #ffb547, #f08a24);
  animation: float 8s ease-in-out 1s infinite reverse;
}

/* ------------------------------------------------------------------ */
/* Qualität */
/* ------------------------------------------------------------------ */
.standards {
  padding-top: 0;
}
.standards-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 20px;
  align-items: stretch;
}
.standards-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 40px;
}
.standards-list li {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 28px 0;
  border-top: 1px solid var(--line-strong);
}
.standards-list .icon {
  width: 26px;
  height: 26px;
  margin-bottom: 6px;
  color: var(--accent);
  stroke-width: 1.6;
}
.standards-list h3 {
  font-size: 19px;
  letter-spacing: -0.02em;
}
.standards-list p {
  font-size: 15.5px;
  color: var(--muted);
}
.proof {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(28px, 3vw, 40px);
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(150deg, #2f5bff 0%, #2443d6 60%, #3a2fc2 100%);
  color: #fff;
  isolation: isolate;
}
.proof::after {
  content: "";
  position: absolute;
  right: -30%;
  top: -40%;
  z-index: -1;
  width: 90%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(255 255 255 / 0.18), transparent 65%);
}
.proof .tile-label {
  color: rgb(255 255 255 / 0.8);
}
.proof h3 {
  font-size: clamp(28px, 3vw, 36px);
  letter-spacing: -0.04em;
}
.proof-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 16px;
  margin-top: 8px;
}
.proof-stats div {
  padding-top: 14px;
  border-top: 1px solid rgb(255 255 255 / 0.22);
}
.proof-stats dt {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 0.82);
}
.proof-stats dd {
  margin-top: 4px;
  font-size: clamp(32px, 3.6vw, 46px);
  font-weight: 620;
  line-height: 1.1;
  letter-spacing: -0.045em;
}
.proof-note {
  margin-top: auto;
  padding-top: 10px;
  font-size: 15px;
  color: rgb(255 255 255 / 0.86);
}

/* ------------------------------------------------------------------ */
/* Projekte */
/* ------------------------------------------------------------------ */
.projects {
  position: relative;
  margin-inline: 12px;
  padding-block: clamp(96px, 12vw, 160px);
  border-radius: clamp(28px, 4vw, 44px);
  background: var(--dark);
  color: var(--on-dark);
  isolation: isolate;
}
.projects::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background:
    radial-gradient(50% 40% at 15% 0%, rgb(47 91 255 / 0.28), transparent 70%),
    radial-gradient(40% 30% at 90% 10%, rgb(122 92 255 / 0.18), transparent 70%);
}
.stack {
  display: grid;
  gap: 32px;
}
.stack-item {
  --i: 0;
  position: sticky;
  top: calc(var(--header-h) + 36px + var(--i) * 14px);
}
.stack-item:nth-child(2) { --i: 1; }
.stack-item:nth-child(3) { --i: 2; }
.stack-item:nth-child(4) { --i: 3; }
.stack-item:nth-child(5) { --i: 4; }
.stack-card {
  --c: #7d98ff;
  --depth: 0;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(28px, 4vw, 56px);
  min-height: min(580px, calc(100svh - var(--header-h) - 120px));
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--on-dark-line);
  border-radius: 32px;
  background-color: var(--dark-2);
  background-image: linear-gradient(160deg, color-mix(in oklab, var(--c) 16%, var(--dark-2)) 0%, var(--dark-2) 55%);
  box-shadow: 0 -20px 60px -30px rgb(0 0 0 / 0.7);
  transform-origin: 50% 0;
  transform: scale(calc(1 - var(--depth) * 0.06));
  filter: brightness(calc(1 - var(--depth) * 0.45));
}
.theme-blue { --c: #7d98ff; }
.theme-mint { --c: #3fd3ad; }
.theme-red { --c: #ff7a7a; }
.theme-amber { --c: #ffbb55; }
.theme-violet { --c: #b39bff; }
.sc-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sc-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--on-dark-muted);
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border: 1px solid var(--on-dark-line);
  border-radius: 999px;
  font-size: 12px;
}
.status.live {
  border-color: rgb(31 191 117 / 0.4);
  color: #7ee8b4;
}
.status.live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1fbf75;
  box-shadow: 0 0 0 4px rgb(31 191 117 / 0.2);
}
.stack-card h3 {
  margin-top: 8px;
  font-size: clamp(36px, 4.4vw, 60px);
  line-height: 1;
  letter-spacing: -0.05em;
  color: #fff;
}
.sc-type {
  font-size: 15px;
  font-weight: 560;
  color: var(--c);
}
.sc-copy > p:not([class]) {
  font-size: 16.5px;
  color: var(--on-dark-muted);
}
.sc-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.sc-points li {
  padding: 6px 13px;
  border: 1px solid var(--on-dark-line);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.04);
  font-size: 14px;
  color: var(--on-dark);
}
.sc-tech {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--on-dark-muted);
}
.sc-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin-top: auto;
  padding-top: 8px;
  font-weight: 600;
  color: #fff;
  transition: color 0.25s var(--ease);
}
.sc-visual {
  position: relative;
  display: grid;
  place-items: center;
  padding: clamp(24px, 3vw, 40px) clamp(16px, 3vw, 40px) 52px;
  overflow: hidden;
  border: 1px solid var(--on-dark-line);
  border-radius: 24px;
  background:
    radial-gradient(70% 60% at 50% 0%, color-mix(in oklab, var(--c) 30%, transparent), transparent 70%),
    linear-gradient(to right, rgb(255 255 255 / 0.04) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(to bottom, rgb(255 255 255 / 0.04) 1px, transparent 1px) 0 0 / 32px 32px,
    rgb(255 255 255 / 0.02);
}
.v-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  font-family: var(--mono);
  font-size: 11px;
  text-align: center;
  color: #8790a6;
}
.v-app {
  width: 100%;
  max-width: 420px;
  padding: 18px;
  border-radius: 20px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 40px 80px -30px rgb(0 0 0 / 0.7);
}
.v-app-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.v-logo {
  font-size: 16px;
  font-weight: 680;
  letter-spacing: -0.03em;
}
.v-logo i {
  font-style: normal;
  color: var(--accent);
}
.v-chip {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--surface-2);
  font-size: 12px;
  font-weight: 560;
}
.v-month {
  display: grid;
  gap: 10px;
}
.v-row {
  display: grid;
  grid-template-columns: 52px 1fr 52px;
  align-items: center;
  gap: 12px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.v-row b {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}
.v-row i {
  height: 8px;
  border-radius: 9px;
  background: linear-gradient(90deg, #2f5bff, #7d98ff);
}
.v-row i.w55 { width: 55%; }
.v-row i.w70 { width: 70%; }
.v-row i.w85 { width: 85%; }
.v-row i.w90 { width: 92%; }
.v-row em {
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
  text-align: right;
}
.v-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 14px;
}
.v-steps span {
  padding: 9px 4px;
  border-radius: 10px;
  background: var(--surface-2);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}
.v-steps .done {
  background: #e3f7ee;
  color: #10744a;
}
.v-steps .now {
  background: var(--accent);
  color: #fff;
}
.v-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}
.v-tabs span {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--surface-2);
  font-size: 12px;
  font-weight: 560;
}
.v-tabs .on {
  background: var(--ink);
  color: #fff;
}
.v-table {
  display: grid;
  gap: 8px;
}
.v-table > span {
  display: grid;
  grid-template-columns: 1fr 70px;
  grid-template-areas: "name bar" "state state";
  gap: 6px 12px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.v-table b {
  grid-area: name;
  font-size: 14px;
  font-weight: 600;
}
.v-table em {
  grid-area: state;
  font-size: 12px;
  font-style: normal;
  color: var(--muted);
}
.lvl {
  grid-area: bar;
  position: relative;
  height: 8px;
  overflow: hidden;
  border-radius: 9px;
  background: var(--surface-2);
}
.lvl::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 82%;
  border-radius: inherit;
  background: #1fbf75;
}
.lvl.mid::after {
  width: 34%;
  background: #f0a12a;
}
.v-phone {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: min(260px, 100%);
  min-height: 430px;
  padding: 22px 14px;
  border: 9px solid #05070d;
  border-radius: 40px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 40px 80px -30px rgb(0 0 0 / 0.75);
}
.vp-head {
  padding: 6px 4px 0;
  font-size: 18px;
  font-weight: 680;
  letter-spacing: -0.03em;
}
.vp-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
}
.vp-card.new {
  border-color: #ff9b9b;
  box-shadow: 0 0 0 4px rgb(255 122 122 / 0.16);
}
.vp-card small {
  font-family: var(--mono);
  font-size: 11px;
  color: #c43c3c;
}
.vp-card b {
  font-size: 15px;
  font-weight: 640;
}
.vp-route {
  position: relative;
  display: flex;
  justify-content: space-between;
  height: 34px;
  margin: 2px 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #eef1f8, #e5eaf6);
}
.vp-route::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 50%;
  border-top: 2px dashed #a3acc0;
}
.vp-route i {
  position: relative;
  width: 10px;
  height: 10px;
  margin: auto 13px;
  border-radius: 50%;
  background: var(--ink);
}
.vp-route i + i {
  background: #ff7a7a;
}
.vp-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.vp-actions em {
  padding: 9px 4px;
  border-radius: 999px;
  background: var(--surface-2);
  font-size: 11.5px;
  font-style: normal;
  font-weight: 600;
  text-align: center;
}
.vp-actions .go {
  background: var(--ink);
  color: #fff;
}
.v-phone.scan {
  gap: 14px;
}
.vs-frame {
  position: relative;
  display: grid;
  place-items: center;
  height: 270px;
  overflow: hidden;
  border-radius: 20px;
  background: #eef0f5;
}
.vs-frame::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 2px solid #ffbb55;
  border-radius: 14px;
  -webkit-mask:
    linear-gradient(#000 0 0) top left / 28px 28px no-repeat,
    linear-gradient(#000 0 0) top right / 28px 28px no-repeat,
    linear-gradient(#000 0 0) bottom left / 28px 28px no-repeat,
    linear-gradient(#000 0 0) bottom right / 28px 28px no-repeat;
  mask:
    linear-gradient(#000 0 0) top left / 28px 28px no-repeat,
    linear-gradient(#000 0 0) top right / 28px 28px no-repeat,
    linear-gradient(#000 0 0) bottom left / 28px 28px no-repeat,
    linear-gradient(#000 0 0) bottom right / 28px 28px no-repeat;
}
.vs-receipt {
  display: grid;
  gap: 9px;
  width: 132px;
  padding: 16px 14px 22px;
  background: #fff;
  box-shadow: 0 16px 30px -18px rgb(0 0 0 / 0.4);
  rotate: -3deg;
}
.vs-receipt b {
  font-size: 12px;
  font-weight: 650;
}
.vs-receipt i {
  height: 6px;
  border-radius: 9px;
  background: #e1e3e8;
}
.vs-receipt i.short {
  width: 55%;
}
.vs-beam {
  position: absolute;
  left: 22px;
  right: 22px;
  top: 14%;
  height: 2px;
  border-radius: 2px;
  background: #ffbb55;
  box-shadow: 0 0 18px 4px rgb(255 187 85 / 0.6);
  animation: scan 2.6s ease-in-out infinite alternate;
}
.vs-result {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 12px;
  border-radius: 14px;
  background: #fff4e0;
  color: #8a4b00;
  font-size: 13px;
  font-weight: 600;
}
.vs-result .icon {
  stroke-width: 2.4;
}
.vs-go {
  margin-top: auto;
  padding: 12px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}
.v-code {
  width: 100%;
  max-width: 470px;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: 18px;
  background: #070a14;
  box-shadow: 0 40px 80px -30px rgb(0 0 0 / 0.8);
}
.vc-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid rgb(255 255 255 / 0.08);
}
.vc-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.14);
}
.vc-bar b {
  margin-left: 10px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  color: #8790a6;
}
.v-code pre {
  margin: 0;
  padding: 22px 22px 26px;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: clamp(12px, 1.2vw, 14.5px);
  line-height: 1.75;
  color: #d3d9e8;
}
.v-code em {
  font-style: normal;
  color: var(--c);
}
.v-code s {
  text-decoration: none;
  color: #7ee8b4;
}

.tech {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: clamp(72px, 9vw, 112px);
  padding-top: 32px;
  border-top: 1px solid var(--on-dark-line);
}
.tech > p:first-child {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}
.tech ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tech li {
  padding: 8px 16px;
  border: 1px solid var(--on-dark-line);
  border-radius: 999px;
  font-size: 15px;
}
.tech-note {
  flex-basis: 100%;
  font-size: 15px;
  color: var(--on-dark-muted);
}

/* ------------------------------------------------------------------ */
/* Ablauf */
/* ------------------------------------------------------------------ */
.timeline {
  --p: 1;
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.timeline::before,
.timeline::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 27px;
  height: 2px;
  border-radius: 2px;
  background: var(--line-strong);
}
.timeline::after {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(var(--p));
  transform-origin: 0 50%;
}
.timeline li {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 24px;
  align-content: start;
}
.t-num {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--bg);
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  box-shadow: 0 0 0 8px var(--bg);
}
.timeline h3 {
  margin-bottom: 8px;
  font-size: 22px;
  letter-spacing: -0.03em;
}
.timeline p {
  font-size: 16px;
  color: var(--muted);
}

/* ------------------------------------------------------------------ */
/* Über mich */
/* ------------------------------------------------------------------ */
.about {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 7vw, 96px);
  align-items: start;
  padding-top: 0;
}
.about-card {
  position: sticky;
  top: calc(var(--header-h) + 40px);
  padding: clamp(28px, 3.4vw, 44px);
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--dark);
  color: var(--on-dark);
  isolation: isolate;
}
.about-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(70% 50% at 100% 0%, rgb(47 91 255 / 0.35), transparent 70%);
}
.about-mark {
  display: block;
  font-size: clamp(88px, 11vw, 148px);
  font-weight: 720;
  line-height: 0.9;
  letter-spacing: -0.07em;
  background: linear-gradient(120deg, var(--ice), #c7b8ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.about-name {
  margin-top: 28px;
  font-size: 28px;
  font-weight: 620;
  letter-spacing: -0.035em;
  color: #fff;
}
.about-tag {
  margin-top: 4px;
  color: var(--on-dark-muted);
}
.about-facts {
  display: grid;
  margin-top: 28px;
}
.about-facts div {
  padding: 14px 0;
  border-top: 1px solid var(--on-dark-line);
}
.about-facts dt {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}
.about-facts dd {
  margin-top: 3px;
  font-size: 15.5px;
}
.about-copy .section-head {
  margin-bottom: 32px;
}
.about-copy p {
  font-size: 18px;
  color: var(--muted);
}
.about-copy p + p {
  margin-top: 18px;
}
.about-copy .lead {
  font-size: clamp(21px, 2.2vw, 26px);
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: var(--ink);
}

/* ------------------------------------------------------------------ */
/* FAQ */
/* ------------------------------------------------------------------ */
.faq {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
  padding-top: 0;
}
.faq .section-head {
  position: sticky;
  top: calc(var(--header-h) + 40px);
  margin-bottom: 0;
}
.faq-list {
  border-top: 1px solid var(--line-strong);
}
.faq-list details {
  border-bottom: 1px solid var(--line-strong);
}
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  font-size: clamp(18px, 1.8vw, 21px);
  font-weight: 560;
  letter-spacing: -0.02em;
  list-style: none;
  cursor: pointer;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition:
    background-color 0.3s var(--ease),
    border-color 0.3s var(--ease),
    color 0.3s var(--ease),
    rotate 0.45s var(--ease-out);
}
.faq-list details[open]:not(.is-closing) .faq-icon {
  rotate: 45deg;
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.faq-body p {
  max-width: 640px;
  padding-bottom: 28px;
  color: var(--muted);
}

/* ------------------------------------------------------------------ */
/* Kontakt */
/* ------------------------------------------------------------------ */
.contact {
  position: relative;
  margin-inline: 12px;
  padding-block: clamp(96px, 12vw, 160px) 40px;
  border-radius: clamp(28px, 4vw, 44px);
  background: var(--dark);
  color: var(--on-dark);
  isolation: isolate;
  overflow: hidden;
}
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(45% 55% at 85% 100%, rgb(47 91 255 / 0.35), transparent 70%),
    radial-gradient(35% 40% at 0% 0%, rgb(122 92 255 / 0.2), transparent 70%);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: end;
}
.contact h2 {
  color: #fff;
}
.contact-direct {
  display: grid;
  gap: 14px;
  margin-top: 40px;
}
.contact-direct li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 500;
  letter-spacing: -0.02em;
}
.contact-direct li > .icon {
  color: var(--ice);
}
.contact-direct a {
  text-decoration: underline;
  text-decoration-color: rgb(255 255 255 / 0.25);
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
  transition: text-decoration-color 0.25s var(--ease);
  overflow-wrap: anywhere;
}
.copy-button {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border: 1px solid var(--on-dark-line);
  border-radius: 50%;
  background: rgb(255 255 255 / 0.05);
  transition: background-color 0.25s var(--ease);
}
.copy-status {
  min-height: 1.6em;
  margin-top: 12px;
  font-size: 14px;
  color: var(--ice);
}
.starter {
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--on-dark-line);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 0.04);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.starter-title {
  margin-bottom: 22px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #fff;
}
.starter fieldset {
  margin: 0 0 24px;
  padding: 0;
  border: 0;
}
.starter legend {
  margin-bottom: 12px;
  padding: 0;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  position: relative;
  cursor: pointer;
}
.chip input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}
.chip span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgb(255 255 255 / 0.18);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  transition:
    background-color 0.25s var(--ease),
    color 0.25s var(--ease),
    border-color 0.25s var(--ease),
    transform 0.3s var(--ease-out);
}
.chip input:checked + span {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}
.chip input:focus-visible + span {
  outline: 3px solid var(--ice);
  outline-offset: 3px;
}
.chip input:active + span {
  transform: scale(0.96);
}
.starter-send {
  width: 100%;
}
.starter-note {
  margin-top: 14px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--on-dark-muted);
}
.setup-note {
  margin-top: clamp(64px, 8vw, 104px);
  padding-top: 24px;
  border-top: 1px solid var(--on-dark-line);
  font-size: 14px;
  color: var(--on-dark-muted);
}

/* ------------------------------------------------------------------ */
/* Footer */
/* ------------------------------------------------------------------ */
.site-footer {
  padding-block: 40px 48px;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 32px;
}
.footer-grid .brand {
  margin-right: auto;
}
.footer-nav,
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  font-size: 15px;
  color: var(--muted);
}
.footer-nav a,
.footer-legal a {
  transition: color 0.25s var(--ease);
}
.footer-legal a[aria-current="page"] {
  color: var(--ink);
}
.footer-copy {
  font-size: 14px;
  color: var(--muted);
}
.back-top {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition:
    background-color 0.25s var(--ease),
    color 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

/* ------------------------------------------------------------------ */
/* Rechtliche Seiten und 404 */
/* ------------------------------------------------------------------ */
.legal-page .main-nav a {
  font-size: 15px;
}
.legal-main {
  max-width: calc(800px + var(--gutter) * 2);
  margin-inline: auto;
  padding: clamp(140px, 16vw, 180px) var(--gutter) clamp(80px, 10vw, 120px);
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
  transition: color 0.25s var(--ease);
}
.back-link .icon {
  rotate: 180deg;
}
.legal-main h1 {
  margin: 24px 0 18px;
  font-size: clamp(44px, 7vw, 84px);
  line-height: 1;
  letter-spacing: -0.05em;
}
.legal-intro {
  max-width: 620px;
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--muted);
}
.legal-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}
.legal-toc a {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 14px;
  transition: border-color 0.25s var(--ease);
}
.legal-content {
  margin-top: 56px;
}
.legal-section {
  padding: 36px 0;
  border-top: 1px solid var(--line-strong);
}
.legal-section h2 {
  margin-bottom: 16px;
  font-size: clamp(22px, 2.4vw, 28px);
  letter-spacing: -0.03em;
}
.legal-section p {
  color: var(--ink-2);
}
.legal-section p + p {
  margin-top: 14px;
}
.legal-section strong {
  font-weight: 620;
  color: var(--ink);
}
.legal-section a,
.legal-intro a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
.error-main {
  min-height: 70svh;
}
.error-main .button {
  margin-top: 36px;
}

/* ------------------------------------------------------------------ */
/* Hover nur bei echten Zeigegeräten */
/* ------------------------------------------------------------------ */
@media (hover: hover) and (pointer: fine) {
  .button-primary:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow:
      inset 0 1px 0 rgb(255 255 255 / 0.18),
      0 16px 36px -14px rgb(47 91 255 / 0.7);
  }
  .button-ghost:hover {
    border-color: var(--ink);
    transform: translateY(-2px);
  }
  .button-light:hover {
    background: var(--ice);
    transform: translateY(-2px);
  }
  .button-primary:hover .icon,
  .button-light:hover .icon,
  .tile-link:hover .icon,
  .sc-link:hover .icon,
  .nav-cta:hover .icon {
    transform: translate(2px, -2px);
  }
  .button-ghost:hover .icon {
    transform: translateY(2px);
  }
  .main-nav a:hover {
    background: rgb(11 15 28 / 0.05);
    color: var(--ink);
  }
  .main-nav .nav-cta:hover {
    background: var(--accent);
    color: #fff;
  }
  .tile:hover {
    transform: translateY(-4px);
    border-color: var(--line-strong);
    box-shadow: 0 30px 60px -36px rgb(23 37 84 / 0.4);
  }
  .tile-saas:hover {
    border-color: var(--dark);
  }
  .tile:hover::before {
    opacity: 1;
  }
  .tile-web:hover .aw-phone {
    translate: 0 -8px;
  }
  .tile-web:hover .aw-desktop {
    translate: 0 -4px;
  }
  .sc-link:hover {
    color: var(--c);
  }
  .faq-list summary:hover .faq-icon {
    border-color: var(--ink);
  }
  .contact-direct a:hover {
    text-decoration-color: currentColor;
  }
  .copy-button:hover {
    background: rgb(255 255 255 / 0.14);
  }
  .chip:hover span {
    border-color: rgb(255 255 255 / 0.5);
  }
  .footer-nav a:hover,
  .footer-legal a:hover,
  .back-link:hover {
    color: var(--ink);
  }
  .back-top:hover {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
  }
  .legal-toc a:hover {
    border-color: var(--ink);
  }
}
.aw-desktop,
.aw-phone {
  transition:
    translate 0.7s var(--ease-out),
    opacity 0.8s var(--ease-out);
}

/* ------------------------------------------------------------------ */
/* Scroll-Choreografie
   Versteckte Ausgangszustände gelten nur, wenn das Skript die Klasse
   .motion gesetzt hat. Ohne JavaScript bleibt alles sichtbar. */
/* ------------------------------------------------------------------ */
[data-reveal],
[data-reveal-group] > * {
  transition:
    opacity 0.9s var(--ease-out),
    translate 1.1s var(--ease-out),
    transform 0.6s var(--ease-out),
    box-shadow 0.6s var(--ease-out),
    border-color 0.4s var(--ease);
}
.motion [data-reveal]:not(.in),
.motion [data-reveal-group]:not(.in) > * {
  opacity: 0;
  translate: 0 40px;
}
.motion [data-reveal-group] > :nth-child(2) { transition-delay: 0.08s; }
.motion [data-reveal-group] > :nth-child(3) { transition-delay: 0.16s; }
.motion [data-reveal-group] > :nth-child(4) { transition-delay: 0.24s; }
.motion [data-reveal-group] > :nth-child(5) { transition-delay: 0.32s; }
.motion [data-reveal-group] > :nth-child(6) { transition-delay: 0.4s; }
.motion .tile:not(.in) .aw-phone {
  opacity: 0;
  translate: 0 40px;
}
.motion .tile:not(.in) .aw-desktop {
  opacity: 0;
  translate: 0 24px;
}
.motion .tile:not(.in) .aa-bars i {
  transform: scaleY(0);
}
.motion .tile:not(.in) .af-node {
  opacity: 0;
  scale: 0.8;
}
.tile.in .aw-phone {
  transition-delay: 0.35s;
}

/* ------------------------------------------------------------------ */
/* Responsiv */
/* ------------------------------------------------------------------ */
@media (max-width: 1100px) {
  .tile-web {
    grid-column: span 6;
  }
  .tile-app,
  .tile-flow {
    grid-column: span 3;
  }
  .tile-saas {
    grid-column: span 6;
  }
  .standards-grid {
    grid-template-columns: 1fr;
  }
  .main-nav a {
    padding-inline: 11px;
  }
}

@media (max-width: 960px) {
  .menu-toggle {
    display: inline-flex;
  }
  .header-bar {
    position: relative;
  }
  .main-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px;
    border: 1px solid rgb(11 15 28 / 0.08);
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 30px 60px -30px rgb(11 15 28 / 0.45);
    opacity: 0;
    visibility: hidden;
    translate: 0 -10px;
    transition:
      opacity 0.3s var(--ease),
      translate 0.45s var(--ease-out),
      visibility 0s linear 0.45s;
  }
  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    translate: 0 0;
    transition:
      opacity 0.3s var(--ease),
      translate 0.45s var(--ease-out),
      visibility 0s;
  }
  .main-nav a {
    padding: 14px 18px;
    font-size: 19px;
    border-radius: 18px;
  }
  .main-nav .nav-cta {
    justify-content: center;
    margin: 8px 0 0;
    padding: 16px;
  }
  .legal-page .main-nav {
    position: static;
    flex-direction: row;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    translate: none;
  }
  .legal-page .main-nav a {
    padding: 10px 12px;
    font-size: 15px;
  }
  .legal-page .main-nav a:not(.nav-cta) {
    display: none;
  }
  .legal-page .main-nav .nav-cta {
    margin: 0;
    padding: 10px 16px;
  }

  .stack {
    gap: 20px;
  }
  .stack-item {
    position: relative;
    top: auto;
  }
  .stack-card {
    grid-template-columns: 1fr;
    min-height: 0;
    transform: none;
    filter: none;
  }
  .sc-visual {
    min-height: 360px;
  }

  .timeline {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .timeline::before,
  .timeline::after {
    left: 27px;
    right: auto;
    top: 0;
    bottom: 0;
    width: 2px;
    height: auto;
  }
  .timeline::after {
    transform: scaleY(var(--p));
    transform-origin: 50% 0;
  }
  .timeline li {
    grid-template-columns: 56px 1fr;
    gap: 24px;
  }
  .timeline li > div {
    padding-top: 12px;
  }

  .about,
  .faq,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .about-card,
  .faq .section-head {
    position: relative;
    top: auto;
  }
  .about-copy {
    order: -1;
  }
}

@media (max-width: 720px) {
  .bento {
    grid-template-columns: 1fr;
  }
  .tile-web,
  .tile-app,
  .tile-flow,
  .tile-saas {
    grid-column: auto;
  }
  .tile-web,
  .tile-saas {
    grid-template-columns: 1fr;
  }
  .tile-web .tile-art {
    order: 0;
  }
  .art-web {
    min-height: 240px;
  }
  .standards-list {
    grid-template-columns: 1fr;
  }
  .promise-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .promise-row li {
    padding-block: 20px;
  }
  .hero-badge {
    font-size: 13px;
  }
  .badge-extra {
    display: none;
  }
  .hero-actions {
    width: 100%;
    flex-direction: column;
  }
  .hero-actions .button {
    width: 100%;
  }
  .mock-cards {
    display: none;
  }
  .chip-float.c3 {
    display: none;
  }
  .chip-float.c1 {
    left: -1cqi;
    top: auto;
    bottom: -5cqi;
  }
  .chip-float.c2 {
    right: 4cqi;
    top: -4.5cqi;
  }
  .phone {
    width: 24cqi;
    right: -1cqi;
  }
  .projects,
  .contact {
    margin-inline: 8px;
  }
  .stack-card {
    padding: 22px;
    border-radius: 26px;
  }
  .sc-visual {
    min-height: 0;
    padding: 24px 14px 48px;
  }
  .sc-meta {
    flex-wrap: wrap;
  }
  .v-phone {
    min-height: 0;
  }
  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-grid .brand {
    margin-right: 0;
  }
  .back-top {
    position: absolute;
    right: var(--gutter);
  }
  .site-footer {
    position: relative;
  }
}

@media (max-width: 400px) {
  .brand-name small {
    display: none;
  }
  .menu-label {
    display: none;
  }
  .menu-toggle {
    width: 44px;
    padding: 0;
    justify-content: center;
  }
  .v-row {
    grid-template-columns: 44px 1fr 46px;
    gap: 8px;
  }
}

/* ------------------------------------------------------------------ */
/* Bewegung reduzieren, Kontrast, Druck */
/* ------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .stage-tilt,
  .stack-card {
    transform: none !important;
    filter: none !important;
  }
  .timeline::after {
    transform: none !important;
  }
  .statement-text .w {
    opacity: 1 !important;
  }
  .marquee-track {
    animation: none !important;
  }
}
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  .stage {
    --p: 0.3;
  }
}

@media (prefers-contrast: more) {
  :root {
    --muted: #3b4252;
    --line: #b9bab4;
    --line-strong: #8d8e88;
    --on-dark-muted: #cdd3e0;
    --on-dark-line: rgb(255 255 255 / 0.35);
  }
}

@media print {
  .site-header,
  .progress,
  .marquee,
  .stage-wrap,
  .back-top,
  .starter,
  .copy-button,
  .sc-visual,
  .tile-art {
    display: none !important;
  }
  body {
    background: #fff;
    font-size: 12pt;
  }
  .hero {
    padding-top: 0;
  }
  .projects,
  .contact,
  .about-card,
  .tile-saas,
  .proof {
    margin: 0;
    background: #fff !important;
    color: #000 !important;
  }
  .projects *,
  .contact *,
  .about-card *,
  .tile-saas *,
  .proof * {
    color: #000 !important;
    -webkit-text-fill-color: #000;
  }
  .stack-item {
    position: static;
  }
  .stack-card {
    background: #fff;
    border-color: #999;
    filter: none;
    transform: none;
    break-inside: avoid;
  }
  [data-reveal],
  [data-reveal-group] > * {
    opacity: 1 !important;
    translate: none !important;
  }
  .hero-title .accent > span {
    color: #000;
    background: none;
  }
}

/* ------------------------------------------------------------------ */
/* Keyframes */
/* ------------------------------------------------------------------ */
@keyframes rise {
  from {
    transform: translateY(105%);
  }
}
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
}
@keyframes build {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
}
@keyframes wipe {
  from {
    clip-path: inset(0 100% 0 0 round 18px);
  }
  to {
    clip-path: inset(0 0 0 0 round 18px);
  }
}
@keyframes phone-in {
  from {
    opacity: 0;
    transform: translateY(60px) rotate(4deg);
  }
}
@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.85);
  }
}
@keyframes float {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -8px;
  }
}
@keyframes cursor-in {
  0% {
    opacity: 0;
    transform: translate(26cqi, 18cqi);
  }
  20% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translate(0, 0);
  }
}
@keyframes press {
  50% {
    scale: 0.94;
  }
}
@keyframes ring {
  0% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgb(47 91 255 / 0.5);
  }
  100% {
    opacity: 0;
    box-shadow: 0 0 0 14px rgb(47 91 255 / 0);
  }
}
@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.96);
  }
}
@keyframes ping {
  75%,
  100% {
    transform: scale(2.6);
    opacity: 0;
  }
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}
@keyframes dash {
  to {
    stroke-dashoffset: -24;
  }
}
@keyframes spin {
  to {
    rotate: 360deg;
  }
}
@keyframes scan {
  to {
    top: 82%;
  }
}
