/* =====================================================================
   Miranee Webdesign – Stylesheet
   Aufbau: 1 Schriften · 2 Variablen · 3 Basis · 4 Bausteine · 5 Kopf/Menü
           6 Hero · 7 Statement · 8 Leistungen · 9 Scroll-Sequenz · 10 Demo
           11 Ablauf · 12 Projekte · 13 Kontakt/Formular · 14 Fuß
           15 Rechtliches/404 · 16 Bewegung reduziert
   Hinweis: Die CSP erlaubt keine Inline-Styles. Dynamische Werte setzt
   main.js ausschließlich als CSS-Variablen über das CSSOM.
   ===================================================================== */

/* ------------------------------------------------------------ 1 Schriften */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/assets/fonts/inter-var-latin.woff2') format('woff2-variations'), url('/assets/fonts/inter-var-latin.woff2') format('woff2');
  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: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/assets/fonts/inter-var-latin-ext.woff2') format('woff2-variations'), url('/assets/fonts/inter-var-latin-ext.woff2') format('woff2');
  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;
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/instrument-serif-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/instrument-serif-latin-400-italic.woff2') format('woff2');
}

/* ------------------------------------------------------------ 2 Variablen */
:root {
  --paper: #f6f3ed;
  --paper-2: #efebe3;
  --paper-3: #e6e0d5;
  --white: #fffdf9;
  --ink: #0c0c0d;
  --ink-2: #161618;
  --ink-3: #232326;
  --error: #b42318;

  /* ── Akzentfarbe: die EINZIGE Stelle, an der die Markenfarbe festgelegt wird ──
     Gewählt: Indigo/Iris. Alternativen zum Austauschen (alle WCAG-AA-geprüft):
       Petrol:      #0f766e / 15 118 110 · hover #115e59 · text #0f766e · bright #5eead4 · soft #d5efec · accent-2 20 184 166
                    art #e9f6f4 #bfe3de #6fb8af · sun #99f6e4 #14b8a6 #0f766e
       Graphitblau: #2b4c7e / 43 76 126 · hover #213b63 · text #2b4c7e · bright #9db8e0 · soft #dce4f0 · accent-2 106 140 196
                    art #eef2f8 #c9d5e8 #8aa2c8 · sun #b9cbea #4a6fa8 #2b4c7e */
  --accent: #4f46e5;
  --accent-rgb: 79 70 229;
  --accent-hover: #4338ca;
  --accent-ink: #4338ca; /* Akzent als Textfarbe auf hellem Grund (7,1:1) */
  --accent-bright: #a5b4fc; /* Akzent als Textfarbe auf dunklem Grund (9,8:1) */
  --on-accent: #ffffff; /* Schrift auf Akzentflächen (6,3:1) */
  --accent-soft: #e4e4fb;
  --accent-2-rgb: 139 92 246; /* Violett – nur für weiche Verläufe */
  --art-1: #eeeffe;
  --art-2: #c9c8f6;
  --art-3: #8c86e6;
  --sun-1: #a5b4fc;
  --sun-2: #6366f1;
  --sun-3: #3730a3;

  --sans: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --serif: 'Instrument Serif', 'Iowan Old Style', Georgia, 'Times New Roman', serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --header-h: 64px;
  --gutter: clamp(16px, 4.5vw, 44px);
  --container: 1240px;
  --section-y: clamp(5.5rem, 11vw, 10rem);
  --radius: 22px;
  --radius-lg: 30px;

  /* Kontextabhängig (hell) */
  --bg: var(--paper);
  --text: var(--ink);
  --text-muted: #5a5651;
  --line: rgba(12, 12, 13, 0.12);
  --focus: var(--ink);
  --eyebrow: var(--accent-ink);
  --accent-text: var(--accent-ink);
}

[data-theme='dark'] {
  --bg: var(--ink);
  --text: var(--paper);
  --text-muted: #aaa59d;
  --line: rgba(246, 243, 237, 0.14);
  --focus: var(--paper);
  --eyebrow: var(--accent-bright);
  --accent-text: var(--accent-bright);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

.motion {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-feature-settings: 'ss01', 'cv11';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.menu-open body {
  overflow: hidden;
}

h1,
h2,
h3,
p,
ul,
ol,
figure,
dl,
dd {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

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

img {
  height: auto;
}

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

address {
  font-style: normal;
}

::selection {
  background: var(--accent);
  color: var(--on-accent);
}

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

[hidden] {
  display: none !important;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 0.7em 1.1em;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus-visible {
  transform: none;
  outline-color: var(--accent-bright);
}

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

main > section,
.site-footer {
  background: var(--bg);
  color: var(--text);
}

/* ------------------------------------------------------------ 4 Bausteine */
.serif {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.display {
  font-size: clamp(2.3rem, 1.25rem + 4.3vw, 5.25rem);
  line-height: 1.02;
  font-weight: 640;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.display .serif {
  font-size: 1.07em;
  line-height: 0.9;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  margin-bottom: 1.1rem;
  color: var(--eyebrow);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow--light {
  color: var(--accent-text);
}

.eyebrow__dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.eyebrow__dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--accent);
  animation: pulse 2.4s var(--ease) infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  70%,
  100% {
    transform: scale(3);
    opacity: 0;
  }
}

.section-head {
  max-width: 780px;
  margin-bottom: clamp(3rem, 6vw, 5.5rem);
}

.section-head .display {
  margin-bottom: 1.4rem;
}

.section-head__lead {
  max-width: 40rem;
  color: var(--text-muted);
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.3rem);
  line-height: 1.55;
  text-wrap: pretty;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.3em 0.75em;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Buttons */
.btn {
  --btn-bg: transparent;
  --btn-fg: inherit;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  min-height: 44px;
  padding: 0.8em 1.35em;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 1rem;
  font-weight: 620;
  letter-spacing: -0.01em;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform 0.25s var(--ease),
    translate 0.45s var(--ease),
    background-color 0.25s var(--ease),
    border-color 0.25s var(--ease),
    box-shadow 0.35s var(--ease),
    color 0.25s var(--ease);
}

.btn .arrow {
  transition: transform 0.3s var(--ease);
}

.btn:active {
  transform: scale(0.97);
}

.btn--primary {
  --btn-bg: var(--accent);
  --btn-fg: var(--on-accent);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset, 0 8px 24px -10px rgb(var(--accent-rgb) / 0.55);
}

.btn--ghost {
  border-color: var(--line);
  --btn-fg: var(--text);
}

.btn--sm {
  min-height: 38px;
  padding: 0.5em 1em;
  font-size: 0.875rem;
}

.btn--lg {
  min-height: 52px;
  padding: 1em 1.65em;
  font-size: 1.0625rem;
}

@media (hover: hover) {
  .btn:hover {
    transform: translateY(-2px);
  }
  .btn:hover .arrow {
    transform: translateX(3px);
  }
  .btn--primary:hover {
    --btn-bg: var(--accent-hover);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset, 0 14px 32px -12px rgb(var(--accent-rgb) / 0.7);
  }
  .btn--ghost:hover {
    border-color: currentColor;
  }
}

.link-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  color: var(--accent-ink);
  font-weight: 650;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
  text-decoration-color: transparent;
  transition: text-decoration-color 0.25s, color 0.25s;
}

[data-theme='dark'] .link-cta,
.link-cta--light {
  color: var(--accent-text);
}

.link-cta .arrow {
  transition: transform 0.3s var(--ease);
}

.link-cta:hover {
  text-decoration-color: currentColor;
}

.link-cta:hover .arrow {
  transform: translate(2px, -2px);
}

.link-cta:hover .arrow:not(.arrow--out) {
  transform: translateX(3px);
}

/* Einblendungen beim Scrollen – nur wenn main.js läuft und Bewegung erwünscht ist */
.motion [data-reveal] {
  transition:
    opacity 1s var(--ease),
    transform 1s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

.motion [data-reveal]:not(.is-visible) {
  opacity: 0;
  transform: translateY(32px);
}

/* ------------------------------------------------------------ 5 Kopf & Menü */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  color: var(--ink);
  transition:
    color 0.4s var(--ease),
    background-color 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}

.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(246, 243, 237, 0.72);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  backdrop-filter: saturate(1.6) blur(18px);
  box-shadow: 0 1px 0 rgba(12, 12, 13, 0.08);
  opacity: 0;
  transition:
    opacity 0.4s var(--ease),
    background-color 0.4s var(--ease);
}

.site-header.is-scrolled::before {
  opacity: 1;
}

.site-header[data-theme='dark'] {
  color: var(--paper);
}

.site-header[data-theme='dark']::before {
  background: rgba(12, 12, 13, 0.72);
  box-shadow: 0 1px 0 rgba(246, 243, 237, 0.08);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: var(--header-h);
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0.55em;
  margin-right: auto;
  color: inherit;
  text-decoration: none;
  line-height: 1;
}

.wordmark__name {
  font-family: var(--serif);
  font-size: 1.7rem;
  letter-spacing: -0.015em;
}

.wordmark__suffix {
  position: relative;
  top: -0.2em;
  font-size: 0.64rem;
  font-weight: 650;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.66;
}

.wordmark__name::after {
  content: '';
  display: inline-block;
  width: 0.17em;
  height: 0.17em;
  margin-left: 0.06em;
  border-radius: 50%;
  background: var(--accent);
}

.wordmark--lg .wordmark__name {
  font-size: clamp(2.4rem, 2rem + 2vw, 3.4rem);
}

.main-nav {
  display: none;
}

.main-nav__list {
  display: flex;
  gap: 0.25rem;
}

.main-nav__list a {
  display: block;
  padding: 0.5em 0.85em;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 520;
  text-decoration: none;
  opacity: 0.82;
  transition:
    opacity 0.2s,
    background-color 0.2s;
}

.main-nav__list a:hover,
.main-nav__list a[aria-current='true'] {
  opacity: 1;
  background: color-mix(in srgb, currentColor 8%, transparent);
}

.header-cta {
  display: none;
}

.site-header[data-theme='dark'] .header-cta:focus-visible,
.site-header[data-theme='dark'] :focus-visible {
  outline-color: var(--paper);
}

.menu-toggle {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.menu-toggle__bars {
  position: relative;
  width: 22px;
  height: 12px;
}

.menu-toggle__bars i {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.7px;
  border-radius: 2px;
  background: currentColor;
  transition:
    transform 0.45s var(--ease),
    top 0.45s var(--ease);
}

.menu-toggle__bars i:first-child {
  top: 0;
}

.menu-toggle__bars i:last-child {
  top: calc(100% - 1.7px);
}

.menu-toggle[aria-expanded='true'] .menu-toggle__bars i:first-child {
  top: calc(50% - 0.85px);
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded='true'] .menu-toggle__bars i:last-child {
  top: calc(50% - 0.85px);
  transform: rotate(-45deg);
}

.menu-open .site-header {
  color: var(--paper);
}

.menu-open .site-header::before {
  opacity: 0;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: calc(var(--header-h) + 1.5rem) var(--gutter) 2rem;
  background: var(--ink);
  color: var(--paper);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  --focus: var(--paper);
}

.mobile-menu > nav {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.mobile-menu.is-open {
  opacity: 1;
}

.mobile-menu__list li {
  border-bottom: 1px solid rgba(246, 243, 237, 0.12);
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.5s var(--ease),
    transform 0.6s var(--ease);
}

.mobile-menu.is-open .mobile-menu__list li {
  opacity: 1;
  transform: none;
}

.mobile-menu.is-open .mobile-menu__list li:nth-child(2) {
  transition-delay: 0.04s;
}
.mobile-menu.is-open .mobile-menu__list li:nth-child(3) {
  transition-delay: 0.08s;
}
.mobile-menu.is-open .mobile-menu__list li:nth-child(4) {
  transition-delay: 0.12s;
}

.mobile-menu__list a {
  display: block;
  padding: 0.35em 0;
  font-size: clamp(2rem, 1.2rem + 5vw, 3rem);
  font-weight: 620;
  letter-spacing: -0.035em;
  line-height: 1.25;
  text-decoration: none;
}

.mobile-menu__cta {
  align-self: flex-start;
  margin-top: 2.25rem;
}

.mobile-menu__meta {
  margin-top: auto;
  padding-top: 2rem;
  color: #aaa59d;
  font-size: 0.95rem;
}

@media (min-width: 560px) {
  .header-cta {
    display: inline-flex;
  }
}

@media (min-width: 960px) {
  .main-nav {
    display: block;
  }
  .menu-toggle,
  .mobile-menu {
    display: none !important;
  }
}

/* Ohne JavaScript: Navigation als zweite Zeile im Kopf */
.no-js .menu-toggle {
  display: none;
}

@media (max-width: 959.98px) {
  .no-js .site-header {
    position: absolute;
  }
  .no-js .site-header__inner {
    flex-wrap: wrap;
    height: auto;
    padding-block: 0.6rem;
  }
  .no-js .main-nav {
    display: block;
    order: 3;
    width: 100%;
    overflow-x: auto;
  }
  .no-js .main-nav__list a {
    padding-inline: 0.6em;
    white-space: nowrap;
  }
}

/* ------------------------------------------------------------ 6 Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 4.5rem));
  padding-bottom: clamp(4rem, 9vw, 8rem);
  background:
    radial-gradient(60% 45% at 50% 88%, rgb(var(--accent-rgb) / 0.14), transparent 70%),
    radial-gradient(40% 35% at 85% 40%, rgb(var(--accent-2-rgb) / 0.12), transparent 70%),
    var(--paper);
  text-align: center;
}

.hero__intro {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__eyebrow {
  margin-bottom: 1.6rem;
}

.hero__title {
  font-size: clamp(2.55rem, 0.85rem + 8.4vw, min(8.5rem, 15.5vh));
  font-weight: 660;
  letter-spacing: -0.05em;
  line-height: 0.96;
}

.hero__line {
  display: block;
  overflow: hidden;
  padding: 0.02em 0.08em 0.1em;
  margin: -0.02em -0.08em -0.1em;
}

.hero__line > span {
  display: inline-block;
}

.hero__title .serif {
  font-size: 1.1em;
  letter-spacing: -0.02em;
  padding-right: 0.04em;
}

.hero__lead {
  max-width: 41rem;
  margin-top: clamp(1.4rem, 2.5vw, 2rem);
  color: var(--text-muted);
  font-size: clamp(1.0625rem, 0.95rem + 0.55vw, 1.375rem);
  line-height: 1.5;
  text-wrap: balance;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: clamp(1.8rem, 3vw, 2.5rem);
}

/* Einstieg: Zeilen gleiten nacheinander herein */
.js .hero__line > span {
  animation: rise-in 1.1s var(--ease) both;
}
.js .hero__line:nth-child(2) > span {
  animation-delay: 0.1s;
}
.js .hero__eyebrow,
.js .hero__lead,
.js .hero__actions {
  animation: fade-up 1s var(--ease) both;
}
.js .hero__eyebrow {
  animation-delay: 0s;
}
.js .hero__lead {
  animation-delay: 0.3s;
}
.js .hero__actions {
  animation-delay: 0.42s;
}

@keyframes rise-in {
  from {
    transform: translateY(108%);
  }
  to {
    transform: none;
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Bühne mit animierter Website-Komposition */
.hero__stage {
  width: 100%;
  max-width: calc(1180px + 2 * var(--gutter));
  margin: clamp(3rem, 5vw, 4.5rem) auto 0;
  padding-inline: var(--gutter);
  perspective: 1800px;
}

.js .hero__stage {
  animation: stage-in 1.6s var(--ease) 0.25s both;
}

@keyframes stage-in {
  from {
    opacity: 0;
    transform: translateY(60px) rotateX(16deg) scale(0.94);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero-scene {
  --hero-p: 0;
  --tx: 0;
  --ty: 0;
  position: relative;
  aspect-ratio: 16 / 9.6;
  container-type: inline-size;
  transform: rotateX(calc(var(--ty) * -3deg)) rotateY(calc(var(--tx) * 4deg)) translateY(calc(var(--hero-p) * -4%)) scale(calc(1 - var(--hero-p) * 0.06));
  transform-style: preserve-3d;
  text-align: left;
}

.hero-scene.is-paused *,
.hero-scene.is-paused *::before,
.hero-scene.is-paused *::after {
  animation-play-state: paused !important;
}

.hero-browser {
  position: absolute;
  left: 0;
  top: 0;
  width: 84%;
  height: 94%;
  container-type: inline-size;
  overflow: hidden;
  border-radius: clamp(10px, 1.6cqw, 20px);
  background: var(--white);
  box-shadow:
    0 0 0 1px rgba(12, 12, 13, 0.06),
    0 2px 4px rgba(12, 12, 13, 0.04),
    0 30px 60px -20px rgba(60, 30, 10, 0.25),
    0 60px 120px -40px rgba(60, 30, 10, 0.25);
}

.hb-bar,
.demo__bar {
  display: flex;
  align-items: center;
  gap: 2cqw;
  height: 4.2cqw;
  padding-inline: 2cqw;
  border-bottom: 1px solid rgba(12, 12, 13, 0.06);
  background: #f3efe8;
}

.hb-dots {
  display: flex;
  gap: 0.75cqw;
}

.hb-dots i {
  width: 1.1cqw;
  height: 1.1cqw;
  border-radius: 50%;
  background: #ddd5c9;
}

.hb-dots i:first-child {
  background: #cfc7bb;
}

.hb-url {
  width: 28cqw;
  height: 2.2cqw;
  margin-inline: auto;
  border-radius: 99px;
  background: rgba(12, 12, 13, 0.06);
  transform: translateX(-3cqw);
}

.hb-site {
  padding: 3.4cqw 5cqw;
}

.hb-nav {
  display: flex;
  align-items: center;
  gap: 3cqw;
}

.hb-logo {
  width: 10cqw;
  height: 2cqw;
  margin-right: auto;
  border-radius: 1cqw;
  background: var(--ink);
}

.hb-links {
  display: flex;
  gap: 2.4cqw;
}

.hb-links i {
  width: 5.5cqw;
  height: 1cqw;
  border-radius: 1cqw;
  background: #d5cec3;
}

.hb-navcta {
  width: 9cqw;
  height: 3cqw;
  border-radius: 3cqw;
  background: var(--ink);
}

.hb-hero {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: 4.5cqw;
  align-items: center;
  margin-top: 5.5cqw;
}

.hb-copy {
  display: flex;
  flex-direction: column;
  gap: 1.5cqw;
}

.hb-kicker {
  width: 13cqw;
  height: 1.2cqw;
  margin-bottom: 0.8cqw;
  border-radius: 1cqw;
  background: var(--accent);
}

.hb-h {
  width: 38cqw;
  height: 4.4cqw;
  border-radius: 1cqw;
  background: var(--ink);
}

.hb-h--short {
  width: 26cqw;
}

.hb-p {
  width: 36cqw;
  height: 1.3cqw;
  margin-top: 0.6cqw;
  border-radius: 1cqw;
  background: #d5cec3;
}

.hb-p--short {
  width: 27cqw;
  margin-top: 0;
}

.hb-btns {
  display: flex;
  gap: 1.5cqw;
  margin-top: 2cqw;
}

.hb-btn {
  position: relative;
  width: 13cqw;
  height: 4cqw;
  border-radius: 4cqw;
  box-shadow: inset 0 0 0 1.5px #d5cec3;
}

.hb-btn--accent {
  background: var(--accent);
  box-shadow: none;
}

.hb-btn--accent::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 0 rgb(var(--accent-rgb) / 0.45);
  opacity: 0;
}

.js .hb-btn--accent::after {
  animation: click-ring 7s var(--ease) 2.6s infinite;
}

@keyframes click-ring {
  0%,
  44% {
    opacity: 0;
    box-shadow: 0 0 0 0 rgb(var(--accent-rgb) / 0.5);
  }
  46% {
    opacity: 1;
  }
  60%,
  100% {
    opacity: 0;
    box-shadow: 0 0 0 3cqw rgb(var(--accent-rgb) / 0);
  }
}

.hb-visual {
  position: relative;
  aspect-ratio: 1 / 0.86;
  overflow: hidden;
  border-radius: 2.2cqw;
  background: linear-gradient(165deg, var(--art-1) 0%, var(--art-2) 46%, var(--art-3) 100%);
}

.hb-blob {
  position: absolute;
  border-radius: 50%;
}

.hb-blob--1 {
  width: 46%;
  aspect-ratio: 1;
  left: 46%;
  top: 14%;
  background: radial-gradient(circle at 35% 35%, var(--sun-1), var(--sun-2) 55%, var(--sun-3));
  box-shadow: 0 0 6cqw rgb(var(--accent-rgb) / 0.4);
}

.hb-blob--2 {
  width: 140%;
  height: 70%;
  left: -20%;
  top: 62%;
  border-radius: 50% 50% 0 0;
  background: linear-gradient(180deg, #1b1a26, #0c0c0d);
}

.hb-blob--3 {
  width: 90%;
  height: 46%;
  left: -32%;
  top: 52%;
  border-radius: 50% 50% 0 0;
  background: linear-gradient(180deg, #4b4a63, #26253a);
  opacity: 0.85;
}

.hb-orbit {
  position: absolute;
  left: 32%;
  top: 2%;
  width: 74%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
}

.hb-orbit::after {
  content: '';
  position: absolute;
  left: 50%;
  top: -1.2%;
  width: 3.4%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--white);
}

.js .hb-blob--1 {
  animation: float-sun 9s var(--ease-in-out) 1.8s infinite alternate;
}
.js .hb-blob--3 {
  animation: drift 11s var(--ease-in-out) 1.8s infinite alternate;
}
.js .hb-orbit {
  animation: spin 24s linear infinite;
}

@keyframes float-sun {
  to {
    transform: translate(-8%, 10%) scale(1.06);
  }
}

@keyframes drift {
  to {
    transform: translateX(10%);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.hb-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.2cqw;
  margin-top: 5cqw;
}

.hb-card {
  display: flex;
  flex-direction: column;
  gap: 1.2cqw;
  padding: 2.4cqw;
  border-radius: 1.8cqw;
  background: #f3efe8;
}

.hb-card i {
  width: 4cqw;
  height: 4cqw;
  margin-bottom: 0.8cqw;
  border-radius: 1.2cqw;
  background: var(--accent-soft);
}

.hb-card b {
  width: 80%;
  height: 1.3cqw;
  border-radius: 1cqw;
  background: #cfc7bb;
}

.hb-card b + b {
  width: 56%;
  background: #e0d9ce;
}

/* Animierter Mauszeiger, der auf den Button der Beispielseite klickt */
.hero-cursor {
  --cx: 18cqw;
  --cy: 33cqw;
  position: absolute;
  left: 0;
  top: 0;
  width: 2.2cqw;
  height: 3.2cqw;
  background: var(--ink);
  clip-path: polygon(0 0, 100% 64%, 58% 66%, 82% 100%, 66% 100%, 44% 70%, 0 92%);
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.25));
  opacity: 0;
  pointer-events: none;
}

.js .hero-cursor {
  animation: cursor 7s var(--ease-in-out) 2.6s infinite;
}

@keyframes cursor {
  0% {
    opacity: 0;
    transform: translate(calc(var(--cx) + 30cqw), calc(var(--cy) + 14cqw));
  }
  10% {
    opacity: 1;
  }
  40% {
    transform: translate(var(--cx), var(--cy));
  }
  45% {
    transform: translate(var(--cx), var(--cy)) scale(0.82);
  }
  50% {
    transform: translate(var(--cx), var(--cy)) scale(1);
  }
  80% {
    opacity: 1;
    transform: translate(var(--cx), var(--cy));
  }
  92%,
  100% {
    opacity: 0;
    transform: translate(calc(var(--cx) + 4cqw), calc(var(--cy) + 6cqw));
  }
}

/* Smartphone in der Komposition */
.hero-phone {
  position: absolute;
  right: 1%;
  bottom: 0;
  width: 21%;
  aspect-ratio: 9 / 19.2;
  container-type: inline-size;
  padding: 3.2%;
  border-radius: 15cqw;
  background: linear-gradient(145deg, #2b2b2f, #0c0c0d);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 40px 80px -30px rgba(40, 20, 5, 0.55),
    0 18px 36px -18px rgba(40, 20, 5, 0.45);
  transform: translateZ(40px);
}

.hp-screen {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4cqw;
  height: 100%;
  overflow: hidden;
  padding: 16cqw 8cqw 8cqw;
  border-radius: 12cqw;
  background: var(--white);
}

.hp-notch {
  position: absolute;
  left: 50%;
  top: 4cqw;
  width: 30cqw;
  height: 8cqw;
  border-radius: 8cqw;
  background: var(--ink);
  transform: translateX(-50%);
}

.hp-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hp-nav i {
  width: 26cqw;
  height: 5cqw;
  border-radius: 3cqw;
  background: var(--ink);
}

.hp-nav b {
  width: 10cqw;
  height: 5cqw;
  border-top: 1.5cqw solid var(--ink);
  border-bottom: 1.5cqw solid var(--ink);
}

.hp-visual {
  position: relative;
  aspect-ratio: 1 / 0.9;
  overflow: hidden;
  margin-top: 2cqw;
  border-radius: 7cqw;
  background: linear-gradient(165deg, var(--art-1), var(--art-2));
}

.hp-h {
  height: 9cqw;
  border-radius: 2.5cqw;
  background: var(--ink);
}

.hp-h--short {
  width: 66%;
  margin-top: -1.5cqw;
}

.hp-p {
  width: 88%;
  height: 4cqw;
  border-radius: 2cqw;
  background: #d5cec3;
}

.hp-btn {
  height: 13cqw;
  margin-top: auto;
  border-radius: 13cqw;
  background: var(--accent);
}

/* Schwebende Gestaltungs-Chips */
.hero-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 1cqw;
  padding: 1.2cqw 1.5cqw;
  border-radius: 1.6cqw;
  background: rgba(255, 253, 249, 0.92);
  box-shadow:
    0 0 0 1px rgba(12, 12, 13, 0.05),
    0 20px 40px -18px rgba(60, 30, 10, 0.35);
  transform: translateZ(60px);
}

.hero-chip--type {
  left: 66%;
  top: -3.5%;
}

.hero-chip--type .serif {
  font-size: 3.4cqw;
  line-height: 1;
}

.hero-chip__lines {
  display: flex;
  flex-direction: column;
  gap: 0.6cqw;
}

.hero-chip__lines i {
  display: block;
  width: 6cqw;
  height: 0.8cqw;
  border-radius: 1cqw;
  background: #cfc7bb;
}

.hero-chip__lines i + i {
  width: 4cqw;
}

.hero-chip--palette {
  right: 0;
  top: 30%;
  gap: 0.7cqw;
}

.hero-chip--palette i {
  width: 2.6cqw;
  height: 2.6cqw;
  border-radius: 50%;
  background: var(--accent);
}

.hero-chip--palette i:nth-child(2) {
  background: var(--ink);
}
.hero-chip--palette i:nth-child(3) {
  background: var(--art-2);
}
.hero-chip--palette i:nth-child(4) {
  background: rgb(var(--accent-2-rgb));
}

.hero-chip--check {
  left: 3%;
  bottom: 9%;
  color: #1f7a4d;
}

.hero-chip--check svg {
  width: 2.6cqw;
  height: 2.6cqw;
  padding: 0.5cqw;
  border-radius: 50%;
  background: #dff1e6;
  box-sizing: content-box;
}

.hero-chip--check .hero-chip__lines i {
  width: 9cqw;
}

/* Aufbau der Komposition in Etappen */
.js .b-in {
  animation: block-in 0.9s var(--ease) both;
}

.js .b-pop {
  animation:
    chip-pop 0.8s var(--spring) both,
    bob 6s var(--ease-in-out) infinite alternate;
}

.js .b-1 { animation-delay: 0.7s; }
.js .b-2 { animation-delay: 0.82s; }
.js .b-3 { animation-delay: 0.94s; }
.js .b-4 { animation-delay: 1.06s; }
.js .b-5 { animation-delay: 1.18s; }
.js .b-6 { animation-delay: 1.3s; }
.js .b-7 { animation-delay: 1.42s; }
.js .b-8 { animation-delay: 1.54s; }
.js .b-9 { animation-delay: 1.66s; }
.js .b-pop.b-6 { animation-delay: 1.5s, 2.3s; }
.js .b-pop.b-7 { animation-delay: 1.7s, 2.5s; }
.js .b-pop.b-9 { animation-delay: 1.9s, 2.7s; }

@keyframes block-in {
  from {
    opacity: 0;
    transform: translateY(1.6cqw) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes chip-pop {
  from {
    opacity: 0;
    scale: 0.6;
  }
  to {
    opacity: 1;
    scale: 1;
  }
}

@keyframes bob {
  from {
    transform: translateZ(60px);
  }
  to {
    transform: translateZ(60px) translateY(-1.2cqw);
  }
}

@media (max-width: 639.98px) {
  .hero-scene {
    aspect-ratio: 16 / 12.5;
  }
  .hero-browser {
    width: 92%;
    height: 82%;
  }
  .hero-phone {
    width: 28%;
    right: 0;
  }
  .hero-chip {
    padding: 1.8cqw 2.2cqw;
    border-radius: 2.4cqw;
  }
  .hero-chip--type {
    left: auto;
    right: 30%;
    top: 74%;
  }
  .hero-chip--type .serif {
    font-size: 5cqw;
  }
  .hero-chip--palette {
    display: none;
  }
  .hero-chip--check {
    left: 2%;
    bottom: 2%;
  }
  .hero-chip--check svg {
    width: 3.6cqw;
    height: 3.6cqw;
  }
}

/* ------------------------------------------------------------ 7 Statement */
.statement {
  padding-block: var(--section-y);
}

.statement__text {
  max-width: 1100px;
  font-size: clamp(1.65rem, 1rem + 2.9vw, 3.6rem);
  font-weight: 620;
  letter-spacing: -0.035em;
  line-height: 1.14;
  text-wrap: pretty;
}

.statement__text .w {
  transition: color 0.35s var(--ease);
}

.motion .statement__text .w {
  color: rgba(12, 12, 13, 0.16);
}

.motion .statement__text .w.is-lit {
  color: var(--ink);
}

/* ------------------------------------------------------------ 8 Leistungen */
.services {
  padding-bottom: var(--section-y);
}

.services__grid {
  display: grid;
  gap: 1rem;
}

.service {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(1.6rem, 3vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition:
    transform 0.5s var(--ease),
    box-shadow 0.5s var(--ease),
    border-color 0.5s var(--ease),
    opacity 1s var(--ease);
}

.service::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgb(var(--accent-rgb) / 0.12), transparent 45%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.service__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 2.2rem;
  border-radius: 16px;
  background: var(--paper);
  color: var(--accent-ink);
  transition:
    background-color 0.4s var(--ease),
    color 0.4s var(--ease),
    transform 0.5s var(--spring);
}

.service__title {
  margin-bottom: 0.6rem;
  font-size: 1.25rem;
  font-weight: 640;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.service__text {
  color: var(--text-muted);
  font-size: 1rem;
}

@media (hover: hover) {
  .service:hover {
    transform: translateY(-4px);
    border-color: rgba(12, 12, 13, 0.18);
    box-shadow: 0 30px 60px -30px rgba(60, 30, 10, 0.3);
  }
  .service:hover::before {
    opacity: 1;
  }
  .service:hover .service__icon {
    background: var(--accent);
    color: var(--on-accent);
    transform: rotate(-6deg) scale(1.06);
  }
}

.services__note {
  margin-top: 2.5rem;
  color: var(--text-muted);
  text-align: center;
}

@media (min-width: 640px) {
  .services__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .services__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

/* ------------------------------------------------------------ 9 Scroll-Sequenz */
.build {
  padding-top: var(--section-y);
  padding-bottom: clamp(3rem, 6vw, 6rem);
  overflow-x: clip;
}

.build__intro {
  margin-bottom: clamp(2rem, 5vw, 4rem);
  text-align: center;
}

.build__intro .section-head__lead {
  margin-inline: auto;
}

.build__intro .display {
  margin-bottom: 1.4rem;
}

.build__track {
  position: relative;
}

.motion .build__track {
  height: 360vh;
}

.build__sticky {
  display: grid;
  gap: 2rem;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.motion .build__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  align-content: center;
  padding-top: var(--header-h);
  padding-bottom: 1.5rem;
  gap: 1.25rem;
}

.build__steps {
  display: grid;
  gap: 1.75rem;
}

.build-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  transition:
    opacity 0.6s var(--ease),
    transform 0.6s var(--ease);
}

.build-step__n {
  padding-top: 0.25em;
  color: var(--accent-text);
  font-size: 0.8rem;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
}

.build-step__title {
  margin-bottom: 0.4rem;
  font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.75rem);
  font-weight: 640;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.build-step__text {
  max-width: 30rem;
  color: var(--text-muted);
  font-size: 1rem;
}

.build__stage {
  position: relative;
  justify-self: center;
  width: 100%;
}

.motion .build__stage {
  width: min(100%, calc((100svh - var(--header-h) - 15rem) * 1.4545));
}

.build__canvas {
  position: relative;
  aspect-ratio: 16 / 11;
  container-type: inline-size;
}

.build__frame,
.bb {
  position: absolute;
  left: calc(var(--x) * 1%);
  top: calc(var(--y) * 1%);
  width: calc(var(--w) * 1%);
  height: calc(var(--h) * 1%);
  transition:
    left 0.95s var(--ease),
    top 0.95s var(--ease),
    width 0.95s var(--ease),
    height 0.95s var(--ease),
    transform 0.95s var(--ease),
    opacity 0.7s var(--ease),
    background 0.7s var(--ease),
    border-color 0.7s var(--ease),
    border-radius 0.95s var(--ease),
    box-shadow 0.7s var(--ease);
}

.build__frame {
  --x: 0;
  --y: 0;
  --w: 100;
  --h: 100;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 1.6cqw;
  background: var(--white);
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.7);
}

.build__frame-bar {
  display: flex;
  align-items: center;
  gap: 0.7cqw;
  height: 4.4cqw;
  padding-inline: 1.8cqw;
  border-bottom: 1px solid rgba(12, 12, 13, 0.07);
  transition: opacity 0.5s var(--ease);
}

.build__frame-bar i {
  width: 1.1cqw;
  height: 1.1cqw;
  border-radius: 50%;
  background: #ddd5c9;
}

.bb {
  border: 1px solid transparent;
  border-radius: 0.8cqw;
}

/* Gestaltete Desktop-Ansicht (Standard ohne JavaScript und Zustand 2) */
[data-block='logo'] { --x: 6; --y: 11; --w: 12; --h: 3.6; }
[data-block='nav'] { --x: 58; --y: 11.3; --w: 36; --h: 3; }
[data-block='h1'] { --x: 6; --y: 25; --w: 45; --h: 8.5; }
[data-block='h2'] { --x: 6; --y: 36; --w: 33; --h: 8.5; }
[data-block='text'] { --x: 6; --y: 50; --w: 40; --h: 6.5; }
[data-block='btn'] { --x: 6; --y: 62; --w: 15; --h: 6.4; }
[data-block='image'] { --x: 55; --y: 23; --w: 39; --h: 47; }
[data-block='card1'] { --x: 6; --y: 78; --w: 27; --h: 15; }
[data-block='card2'] { --x: 36.5; --y: 78; --w: 27; --h: 15; }
[data-block='card3'] { --x: 67; --y: 78; --w: 27; --h: 15; }

.bb--logo,
.bb--h1,
.bb--h2 {
  background: var(--ink);
}

.bb--logo {
  border-radius: 2cqw;
}

.bb--nav {
  background: repeating-linear-gradient(90deg, #cfc7bb 0 19%, transparent 19% 27%);
  border-radius: 0.4cqw;
}

.bb--text {
  background: repeating-linear-gradient(180deg, #cfc7bb 0 26%, transparent 26% 46%);
  border-radius: 0.3cqw;
}

.bb--btn {
  background: var(--accent);
  border-radius: 4cqw;
}

.bb--image {
  background:
    radial-gradient(circle at 68% 34%, var(--sun-1) 0, var(--sun-2) 13%, transparent 13.5%),
    linear-gradient(180deg, transparent 66%, #1b1a26 66.5%),
    linear-gradient(165deg, var(--art-1), var(--art-2) 60%, var(--art-3));
  border-radius: 1.6cqw;
}

.bb--card {
  background:
    linear-gradient(var(--accent-soft), var(--accent-soft)) 12% 24% / 14% 22% no-repeat,
    linear-gradient(#cfc7bb, #cfc7bb) 12% 62% / 62% 9% no-repeat,
    linear-gradient(#e0d9ce, #e0d9ce) 12% 80% / 42% 9% no-repeat,
    #f3efe8;
  border-radius: 1.4cqw;
}

/* Zustand 0: lose Flächen */
.build__canvas[data-state='0'] .build__frame {
  opacity: 0;
  transform: scale(0.94);
}

.build__canvas[data-state='0'] .bb,
.build__canvas[data-state='1'] .bb {
  background: rgba(246, 243, 237, 0.05);
  border-color: rgba(246, 243, 237, 0.32);
}

.build__canvas[data-state='0'] .bb {
  transform: rotate(calc(var(--r, 0) * 1deg));
  border-style: solid;
  background: rgba(246, 243, 237, 0.08);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.8);
}

.build__canvas[data-state='0'] .bb--btn,
.build__canvas[data-state='0'] .bb--image {
  background: rgb(var(--accent-rgb) / 0.22);
  border-color: rgb(var(--accent-rgb) / 0.55);
}

.build__canvas[data-state='0'] [data-block='logo'] { --x: 4; --y: 8; --w: 12; --h: 4; --r: -9; }
.build__canvas[data-state='0'] [data-block='nav'] { --x: 70; --y: 4; --w: 24; --h: 4; --r: 7; }
.build__canvas[data-state='0'] [data-block='h1'] { --x: 12; --y: 26; --w: 40; --h: 9; --r: -4; }
.build__canvas[data-state='0'] [data-block='h2'] { --x: 54; --y: 42; --w: 30; --h: 8.5; --r: 6; }
.build__canvas[data-state='0'] [data-block='text'] { --x: 2; --y: 58; --w: 33; --h: 7; --r: 4; }
.build__canvas[data-state='0'] [data-block='btn'] { --x: 74; --y: 24; --w: 15; --h: 7; --r: -12; }
.build__canvas[data-state='0'] [data-block='image'] { --x: 38; --y: 58; --w: 26; --h: 34; --r: 7; }
.build__canvas[data-state='0'] [data-block='card1'] { --x: 5; --y: 78; --w: 22; --h: 14; --r: -7; }
.build__canvas[data-state='0'] [data-block='card2'] { --x: 72; --y: 70; --w: 23; --h: 15; --r: 9; }
.build__canvas[data-state='0'] [data-block='card3'] { --x: 30; --y: 4; --w: 20; --h: 14; --r: -3; }

/* Zustand 1: Struktur (Drahtgitter) */
.build__canvas[data-state='1'] .build__frame {
  background: rgba(246, 243, 237, 0.03);
  border-color: rgba(246, 243, 237, 0.24);
  box-shadow: none;
}

.build__canvas[data-state='1'] .build__frame-bar {
  border-color: rgba(246, 243, 237, 0.14);
}

.build__canvas[data-state='1'] .bb {
  border-style: dashed;
}

/* Zustand 3: dieselben Inhalte als Smartphone-Ansicht */
.build__canvas[data-state='3'] .build__frame {
  --x: 33;
  --y: 0;
  --w: 34;
  --h: 100;
  border-radius: 5cqw;
  border-color: #2b2b2f;
  border-width: 0.9cqw;
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.8);
}

.build__canvas[data-state='3'] .build__frame-bar {
  opacity: 0;
}

.build__canvas[data-state='3'] [data-block='logo'] { --x: 37; --y: 7; --w: 11; --h: 2.8; }
.build__canvas[data-state='3'] [data-block='nav'] { --x: 58; --y: 7.2; --w: 5; --h: 2.4; }
.build__canvas[data-state='3'] [data-block='image'] { --x: 37; --y: 13.5; --w: 26; --h: 25; }
.build__canvas[data-state='3'] [data-block='h1'] { --x: 37; --y: 42; --w: 24; --h: 5.2; }
.build__canvas[data-state='3'] [data-block='h2'] { --x: 37; --y: 48.5; --w: 17; --h: 5.2; }
.build__canvas[data-state='3'] [data-block='text'] { --x: 37; --y: 56.5; --w: 24; --h: 5; }
.build__canvas[data-state='3'] [data-block='btn'] { --x: 37; --y: 64.5; --w: 26; --h: 5.4; }
.build__canvas[data-state='3'] [data-block='card1'] { --x: 37; --y: 73; --w: 26; --h: 7; }
.build__canvas[data-state='3'] [data-block='card2'] { --x: 37; --y: 81.5; --w: 26; --h: 7; }
.build__canvas[data-state='3'] [data-block='card3'] { --x: 37; --y: 90; --w: 26; --h: 7; }

.build__canvas[data-state='3'] .bb--nav {
  background: repeating-linear-gradient(180deg, var(--ink) 0 22%, transparent 22% 39%);
}

.build__badge {
  position: absolute;
  right: 0;
  top: -2.4rem;
  padding: 0.35em 0.85em;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.build__progress {
  display: none;
}

.motion .build__progress {
  display: block;
  height: 2px;
  overflow: hidden;
  border-radius: 2px;
  background: rgba(246, 243, 237, 0.12);
}

.build__progress span {
  display: block;
  height: 100%;
  background: var(--accent);
  transform: scaleX(var(--build-p, 0));
  transform-origin: left;
}

/* Kleine Bildschirme: Bühne oben, aktiver Schritt darunter */
@media (max-width: 959.98px) {
  .build__stage {
    order: -1;
    margin-top: 2.6rem;
  }
  .motion .build__stage {
    margin-top: 2.4rem;
  }
  .motion .build__steps {
    grid-template-areas: 'step';
    min-height: 9.5rem;
  }
  .motion .build-step {
    grid-area: step;
    align-self: start;
  }
  .motion .build-step:not(.is-active) {
    opacity: 0;
    transform: translateY(12px);
    visibility: hidden;
  }
}

@media (min-width: 960px) {
  .build__sticky {
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.4fr);
    align-items: center;
    column-gap: clamp(2.5rem, 5vw, 5rem);
  }
  .motion .build__sticky {
    gap: 0 clamp(2.5rem, 5vw, 5rem);
  }
  .build__steps {
    gap: 2.5rem;
  }
  .motion .build-step:not(.is-active) {
    opacity: 0.32;
  }
  .motion .build__stage {
    width: min(100%, calc((100svh - var(--header-h) - 6rem) * 1.4545));
  }
  .build__progress {
    grid-column: 1 / -1;
  }
  .motion .build__progress {
    margin-top: 1.5rem;
  }
}

/* ------------------------------------------------------------ 10 Demo */
.demo {
  padding-block: var(--section-y);
}

.demo__layout {
  display: grid;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

.demo__controls {
  display: grid;
  gap: 1.6rem;
}

.control {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.control__label {
  margin-bottom: 0.6rem;
  padding: 0;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.seg {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 340px;
  padding: 4px;
  border-radius: 999px;
  background: var(--paper-3);
}

.seg input,
.swatches input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.seg label {
  position: relative;
  z-index: 1;
  padding: 0.65em 1em;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  color: var(--text-muted);
  transition: color 0.3s var(--ease);
}

.seg input:checked + label {
  color: var(--ink);
}

.seg input:focus-visible + label {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.seg__thumb {
  position: absolute;
  left: 4px;
  top: 4px;
  bottom: 4px;
  width: calc(50% - 4px);
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 2px 8px rgba(12, 12, 13, 0.12);
  transition: transform 0.5s var(--ease);
}

.seg:has(input:nth-of-type(2):checked) .seg__thumb {
  transform: translateX(100%);
}

.swatches {
  display: flex;
  gap: 0.75rem;
}

.swatch {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(12, 12, 13, 0.1);
  transition: transform 0.3s var(--spring);
}

.swatch::after {
  content: '';
  position: absolute;
  inset: -5px;
  border: 2px solid transparent;
  border-radius: 50%;
  transition: border-color 0.3s;
}

.swatch--1 { background: #c8553d; }
.swatch--2 { background: #6f8f72; }
.swatch--3 { background: #2c4a7a; }

.swatches input:checked + .swatch::after {
  border-color: var(--ink);
}

.swatches input:focus-visible + .swatch {
  outline: 2px solid var(--focus);
  outline-offset: 7px;
}

@media (hover: hover) {
  .swatch:hover {
    transform: scale(1.08);
  }
}

.demo__benefits {
  display: grid;
  gap: 0.9rem;
  margin-top: 0.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  color: var(--text-muted);
  font-size: 0.98rem;
}

.demo__benefits li {
  position: relative;
  padding-left: 1.5rem;
}

.demo__benefits li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.demo__benefits strong {
  display: block;
  color: var(--ink);
  font-weight: 640;
}

.demo__device {
  min-width: 0;
}

.demo__stage {
  position: relative;
  aspect-ratio: 1 / 1.1;
}

.demo__frame {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 62%;
  margin: auto;
  overflow: hidden;
  border-radius: 14px;
  background: var(--white);
  box-shadow:
    0 0 0 1px rgba(12, 12, 13, 0.07),
    0 40px 80px -36px rgba(60, 30, 10, 0.4);
  transition:
    width 0.8s var(--ease),
    height 0.8s var(--ease),
    border-radius 0.8s var(--ease),
    box-shadow 0.8s var(--ease);
}

.demo__bar {
  flex: none;
  height: 34px;
  gap: 12px;
  padding-inline: 14px;
  transition: height 0.6s var(--ease), opacity 0.4s;
}

.demo__bar .hb-dots {
  gap: 6px;
}

.demo__bar .hb-dots i {
  width: 9px;
  height: 9px;
}

.demo__url {
  margin-inline: auto;
  padding: 0.15em 0.9em;
  border-radius: 99px;
  background: rgba(12, 12, 13, 0.06);
  color: #6b665f;
  font-size: 0.72rem;
  font-weight: 600;
  transform: translateX(-18px);
}

.demo__viewport {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  container-type: size;
}

[data-view='mobile'] .demo__frame {
  width: 58%;
  height: 100%;
  border-radius: 34px;
  box-shadow:
    0 0 0 8px #1b1b1e,
    0 40px 80px -30px rgba(40, 20, 5, 0.55);
}

[data-view='mobile'] .demo__bar {
  height: 0;
  opacity: 0;
}

@media (min-width: 640px) {
  .demo__stage {
    aspect-ratio: 16 / 11;
  }
  .demo__frame {
    height: 100%;
  }
  [data-view='mobile'] .demo__frame {
    width: 36%;
  }
}

@media (min-width: 1024px) {
  .demo__layout {
    grid-template-columns: minmax(260px, 0.62fr) minmax(0, 1.5fr);
  }
}

.demo__caption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  text-align: center;
}

.demo__caption .tag {
  color: var(--accent-ink);
  border-color: rgb(var(--accent-rgb) / 0.3);
}

/* Die Beispielseite selbst – Größen relativ zum Bildschirmausschnitt (cqw) */
.ds {
  --ds-accent: #c8553d;
  --ds-accent-soft: #f4d9cf;
  --ds-bg: #fbf8f3;
  --ds-fg: #1d1a17;
  --ds-muted: #6c655c;
  --ds-radius: 1.4cqw;
  --ds-title: var(--sans);
  display: flex;
  flex-direction: column;
  gap: 3.6cqw;
  height: 100%;
  padding: 2.6cqw 4.5cqw;
  background: var(--ds-bg);
  color: var(--ds-fg);
  font-size: 1.6cqw;
  line-height: 1.4;
  transition:
    background-color 0.6s var(--ease),
    color 0.6s var(--ease);
}

[data-accent='2'] .ds {
  --ds-accent: #5f8263;
  --ds-accent-soft: #dce7dc;
}

[data-accent='3'] .ds {
  --ds-accent: #2c4a7a;
  --ds-accent-soft: #d8e0ee;
}

[data-style='markant'] .ds {
  --ds-bg: #121110;
  --ds-fg: #f6f1e8;
  --ds-muted: #a39d93;
  --ds-radius: 0;
  --ds-title: var(--serif);
}

[data-style='markant'][data-accent='1'] .ds {
  --ds-accent: #ff6b4a;
}
[data-style='markant'][data-accent='2'] .ds {
  --ds-accent: #9fc3a2;
}
[data-style='markant'][data-accent='3'] .ds {
  --ds-accent: #8fb0e8;
}

.ds-nav {
  display: flex;
  align-items: center;
  gap: 3cqw;
}

.ds-logo {
  margin-right: auto;
  font-size: 2cqw;
  font-weight: 700;
  letter-spacing: -0.02em;
}

[data-style='markant'] .ds-logo {
  font-family: var(--serif);
  font-size: 2.6cqw;
  font-weight: 400;
  font-style: italic;
}

.ds-links {
  display: flex;
  gap: 2.6cqw;
  color: var(--ds-muted);
  font-size: 1.5cqw;
}

.ds-menu {
  display: none;
}

.ds-hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4cqw;
  align-items: center;
}

.ds-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.8cqw;
}

.ds-kicker {
  color: var(--ds-accent);
  font-size: 1.3cqw;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ds-title {
  font-family: var(--ds-title);
  font-size: 4.6cqw;
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.04;
  transition: font-size 0.5s var(--ease);
}

[data-style='markant'] .ds-title {
  font-size: 5.6cqw;
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.02em;
  line-height: 0.98;
}

.ds-text {
  max-width: 34ch;
  color: var(--ds-muted);
  font-size: 1.6cqw;
}

.ds-btn {
  margin-top: 0.8cqw;
  padding: 1.2cqw 2.4cqw;
  border-radius: 4cqw;
  background: var(--ds-accent);
  color: #fff;
  font-size: 1.5cqw;
  font-weight: 650;
  transition:
    background-color 0.5s var(--ease),
    border-radius 0.5s var(--ease);
}

[data-style='markant'] .ds-btn {
  border-radius: 0;
  color: #121110;
}

.ds-image {
  position: relative;
  aspect-ratio: 1 / 0.86;
  overflow: hidden;
  border-radius: var(--ds-radius);
  background: linear-gradient(180deg, var(--ds-accent-soft), color-mix(in srgb, var(--ds-accent-soft) 60%, var(--ds-accent)));
  transition:
    border-radius 0.5s var(--ease),
    background 0.6s var(--ease);
}

.ds-arch {
  position: absolute;
  left: 22%;
  bottom: 18%;
  width: 34%;
  height: 58%;
  border-radius: 999px 999px 0 0;
  background: var(--ds-bg);
  opacity: 0.85;
  transition: background-color 0.6s var(--ease);
}

.ds-sun {
  position: absolute;
  right: 16%;
  top: 16%;
  width: 22%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--ds-accent);
  transition: background-color 0.6s var(--ease);
}

.ds-floor {
  position: absolute;
  inset: auto 0 0;
  height: 18%;
  background: color-mix(in srgb, var(--ds-fg) 85%, var(--ds-accent));
}

.ds-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2cqw;
}

.ds-feature {
  display: flex;
  flex-direction: column;
  gap: 0.4cqw;
  padding: 2cqw;
  border-radius: var(--ds-radius);
  background: color-mix(in srgb, var(--ds-fg) 5%, transparent);
  font-size: 1.35cqw;
  transition: border-radius 0.5s var(--ease);
}

[data-style='markant'] .ds-feature {
  background: transparent;
  border-top: 1px solid var(--ds-accent);
  padding-inline: 0;
}

.ds-feature b {
  font-size: 1.6cqw;
}

.ds-feature span {
  color: var(--ds-muted);
}

/* Hochformat = Smartphone-Ansicht: Inhalte ordnen sich neu */
@container (max-aspect-ratio: 1 / 1) {
  .ds {
    gap: 5cqw;
    padding: 6cqw 7cqw;
    font-size: 4.2cqw;
  }
  .ds-logo {
    font-size: 5.4cqw;
  }
  [data-style='markant'] .ds-logo {
    font-size: 6.6cqw;
  }
  .ds-links {
    display: none;
  }
  .ds-menu {
    display: flex;
    flex-direction: column;
    gap: 1.6cqw;
    width: 6.5cqw;
  }
  .ds-menu i {
    height: 0.9cqw;
    border-radius: 1cqw;
    background: currentColor;
  }
  .ds-hero {
    grid-template-columns: 1fr;
    gap: 6cqw;
  }
  .ds-image {
    order: -1;
    aspect-ratio: 1 / 0.78;
    border-radius: calc(var(--ds-radius) * 3);
  }
  .ds-copy {
    gap: 3.4cqw;
  }
  .ds-kicker {
    font-size: 3.2cqw;
  }
  .ds-title {
    font-size: 9.4cqw;
  }
  [data-style='markant'] .ds-title {
    font-size: 11.5cqw;
  }
  .ds-text {
    font-size: 4.2cqw;
  }
  .ds-btn {
    align-self: stretch;
    padding: 3.6cqw;
    font-size: 4.2cqw;
    text-align: center;
  }
  .ds-features {
    grid-template-columns: 1fr;
    gap: 2.6cqw;
  }
  .ds-feature {
    padding: 3.6cqw;
    font-size: 3.6cqw;
  }
  .ds-feature b {
    font-size: 4.2cqw;
  }
}

/* ------------------------------------------------------------ 11 Ablauf */
.process {
  padding-block: var(--section-y);
}

.process__grid {
  display: grid;
  gap: clamp(3rem, 6vw, 6rem);
}

.process__head .display {
  margin-bottom: 1.4rem;
}

.process__head .btn {
  margin-top: 2rem;
}

.process__list-wrap {
  position: relative;
}

.process__line {
  position: absolute;
  left: 1.6rem;
  top: 1rem;
  bottom: 1rem;
  width: 1px;
  background: var(--line);
}

.process__line span {
  display: block;
  height: 100%;
  background: linear-gradient(var(--accent-bright), rgb(var(--accent-2-rgb)));
  transform: scaleY(var(--process-p, 1));
  transform-origin: top;
}

.process__steps {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  gap: clamp(1.1rem, 3vw, 2.5rem);
  transition: opacity 0.6s var(--ease);
}

.step__num {
  position: relative;
  display: grid;
  place-items: center;
  width: 3.2rem;
  height: 3.2rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--ink);
  color: var(--accent-bright);
  font-family: var(--serif);
  font-size: 1.35rem;
  font-style: italic;
  transition:
    background-color 0.5s var(--ease),
    color 0.5s var(--ease),
    border-color 0.5s var(--ease);
}

.step.is-active .step__num,
.no-js .step__num,
.reduce-motion .step__num {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--on-accent);
}

.motion .step:not(.is-active) {
  opacity: 0.4;
}

.step__title {
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.2rem);
  font-weight: 640;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.step__subtitle {
  margin: 0.35rem 0 0.8rem;
  color: var(--accent-text);
  font-size: 0.95rem;
  font-weight: 600;
}

.step__text {
  max-width: 34rem;
  color: var(--text-muted);
}

@media (min-width: 960px) {
  .process__grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
  }
  .process__head {
    position: sticky;
    top: calc(var(--header-h) + 3rem);
  }
}

/* ------------------------------------------------------------ 12 Projekte */
.projects {
  padding-block: var(--section-y);
  overflow-x: clip;
}

.projects__list {
  display: grid;
  gap: clamp(5rem, 10vw, 9rem);
}

.project {
  display: grid;
  gap: clamp(2.5rem, 4vw, 4rem);
  align-items: center;
}

.project__visual {
  position: relative;
  padding-right: 9%;
  padding-bottom: 7%;
}

.browser {
  overflow: hidden;
  border-radius: clamp(10px, 1.4vw, 16px);
  background: var(--white);
  box-shadow:
    0 0 0 1px rgba(12, 12, 13, 0.07),
    0 40px 80px -40px rgba(60, 30, 10, 0.45);
  transition:
    transform 0.7s var(--ease),
    box-shadow 0.7s var(--ease);
}

.browser__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  height: clamp(28px, 3vw, 38px);
  padding-inline: 14px;
  border-bottom: 1px solid rgba(12, 12, 13, 0.06);
  background: #f3efe8;
}

.browser__dots {
  display: flex;
  gap: 6px;
}

.browser__dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ddd5c9;
}

.browser__url {
  overflow: hidden;
  margin-inline: auto;
  padding: 0.1em 0.9em;
  border-radius: 99px;
  background: rgba(12, 12, 13, 0.06);
  color: #6b665f;
  font-size: 0.72rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
  transform: translateX(-20px);
}

.browser__screen {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--paper-2);
}

.browser__screen img {
  width: 100%;
  transition: transform 4.5s var(--ease-in-out);
}

.phone {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 24%;
  padding: 1.6%;
  border-radius: clamp(16px, 2.6vw, 30px);
  background: linear-gradient(145deg, #2b2b2f, #0c0c0d);
  box-shadow: 0 30px 60px -24px rgba(40, 20, 5, 0.6);
  transform: translateY(var(--parallax, 0px));
  transition: box-shadow 0.7s var(--ease);
}

.phone__screen {
  aspect-ratio: 390 / 844;
  overflow: hidden;
  border-radius: clamp(12px, 2.1vw, 24px);
  background: var(--paper-2);
}

.phone__screen img {
  width: 100%;
}

@media (hover: hover) {
  .project:hover .browser {
    transform: translateY(-6px);
    box-shadow:
      0 0 0 1px rgba(12, 12, 13, 0.07),
      0 60px 100px -40px rgba(60, 30, 10, 0.5);
  }
  .project:hover .browser__screen img {
    transform: translateY(-30%);
  }
}

.project__visual--type {
  display: grid;
  place-items: center;
  gap: 0.5rem;
  aspect-ratio: 16 / 10;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: var(--paper);
  text-align: center;
}

.project__monogram {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-style: italic;
  line-height: 1;
}

.project__domain {
  color: #aaa59d;
}

.project__tag {
  margin-bottom: 1rem;
  color: var(--accent-ink);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.project__name {
  margin-bottom: 0.9rem;
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3.4rem);
  font-weight: 640;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.project__desc {
  max-width: 28rem;
  margin-bottom: 1.6rem;
  color: var(--text-muted);
  font-size: 1.125rem;
}

.projects__more {
  margin-top: clamp(4rem, 8vw, 7rem);
  color: var(--text-muted);
  font-family: var(--serif);
  font-size: clamp(1.8rem, 1.3rem + 2vw, 3rem);
  font-style: italic;
  text-align: center;
}

@media (min-width: 960px) {
  .project {
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.75fr);
  }
  .project--flip {
    grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.45fr);
  }
  .project--flip .project__visual {
    order: 2;
  }
}

/* ------------------------------------------------------------ 13 Kontakt & Formular */
.contact {
  padding-block: var(--section-y);
}

.contact--page {
  padding-top: calc(var(--header-h) + clamp(3rem, 7vw, 6rem));
}

.contact__grid {
  display: grid;
  gap: clamp(3rem, 6vw, 5rem);
  align-items: start;
}

.contact__intro .display {
  margin-bottom: 1.4rem;
  font-size: clamp(2.3rem, 1.3rem + 3.4vw, 4.5rem);
}

.contact__points {
  display: grid;
  gap: 0.7rem;
  margin-top: 2.2rem;
}

.contact__points li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 560;
}

.contact__points li::before {
  content: '';
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6.5 12.5 3.5 3.5 7.5-8' fill='none' stroke='%23ffffff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat,
    var(--accent);
}

.contact__direct {
  display: grid;
  justify-items: start;
  gap: 0.3rem;
  margin-top: 2.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}

.contact__direct p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.contact__direct a {
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact__direct a:hover {
  color: var(--accent-text);
}

.contact__card {
  --bg: var(--paper);
  --text: var(--ink);
  --text-muted: #5a5651;
  --line: rgba(12, 12, 13, 0.12);
  --focus: var(--ink);
  padding: clamp(1.4rem, 4vw, 3rem);
  border-radius: var(--radius-lg);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 50px 100px -50px rgba(0, 0, 0, 0.8);
}

.result {
  margin-bottom: 1.2rem;
  padding: 1rem 1.2rem;
  border-radius: 14px;
  font-weight: 560;
}

.result--success {
  background: rgba(46, 160, 90, 0.16);
  color: #a6e8bf;
}

.result--error {
  background: rgba(180, 35, 24, 0.22);
  color: #ffc4bd;
}

@media (min-width: 1024px) {
  .contact__grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  }
  .contact__intro {
    position: sticky;
    top: calc(var(--header-h) + 3rem);
  }
}

.form-grid {
  position: relative;
  display: grid;
  gap: 1.2rem 1rem;
}

@media (min-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }
  .field--full {
    grid-column: 1 / -1;
  }
}

.field {
  display: grid;
  gap: 0.4rem;
  min-width: 0;
}

.field label {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 620;
}

.field__req,
.field__opt {
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 500;
}

.field__req {
  color: var(--accent-ink);
}

.field input,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 0.8rem 1rem;
  border: 1px solid #cfc8bc;
  border-radius: 14px;
  background: var(--white);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.45;
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    background-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.field textarea {
  min-height: 9.5rem;
  resize: vertical;
}

.field input:hover,
.field textarea:hover {
  border-color: #a9a194;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 4px rgb(var(--accent-rgb) / 0.25);
}

.field.is-invalid input,
.field.is-invalid textarea {
  border-color: var(--error);
  background: #fffaf9;
}

.field.is-invalid input:focus,
.field.is-invalid textarea:focus {
  box-shadow: 0 0 0 4px rgba(180, 35, 24, 0.18);
}

.field__hint {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.field__error {
  display: flex;
  gap: 0.45rem;
  color: var(--error);
  font-size: 0.875rem;
  font-weight: 560;
}

.field__error::before {
  content: '!';
  flex: none;
  display: grid;
  place-items: center;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.1rem;
  border-radius: 50%;
  background: var(--error);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
}

.field--trap {
  position: absolute !important;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-privacy {
  margin-top: 1.4rem;
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.55;
}

.form-privacy a {
  color: var(--ink);
  font-weight: 600;
  text-underline-offset: 0.2em;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.2rem;
  margin-top: 1.6rem;
}

.form-actions .btn {
  min-width: 13.5rem;
}

.btn__spinner {
  display: none;
  width: 1.1em;
  height: 1.1em;
  border: 2px solid rgba(12, 12, 13, 0.25);
  border-top-color: var(--ink);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.is-sending .btn__spinner {
  display: block;
}

.is-sending [data-submit] .arrow {
  display: none;
}

.is-sending [data-submit] {
  cursor: progress;
  opacity: 0.85;
}

.form-status {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.form-alert {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.4rem;
  padding: 1rem 1.15rem;
  border: 1px solid;
  border-radius: 16px;
  font-size: 0.97rem;
  font-weight: 520;
  line-height: 1.5;
}

.form-alert:focus {
  outline: none;
}

.form-alert:focus-visible {
  outline: 2px solid var(--focus);
}

.form-alert[data-tone='success'] {
  border-color: #9fd4b2;
  background: #e8f5ec;
  color: #14532d;
}

.form-alert[data-tone='notice'] {
  border-color: #f0c98a;
  background: #fff4e2;
  color: #6b3b00;
}

.form-alert[data-tone='error'] {
  border-color: #f2b8b0;
  background: #fdecea;
  color: #8a1c12;
}

/* ------------------------------------------------------------ 14 Fuß */
.site-footer {
  padding-top: clamp(4rem, 8vw, 7rem);
  padding-bottom: 2rem;
  border-top: 1px solid rgba(246, 243, 237, 0.08);
}

.site-footer__grid {
  display: grid;
  gap: 2.6rem 2rem;
}

.site-footer__claim {
  max-width: 24rem;
  margin-top: 1.2rem;
  color: var(--text-muted);
}

.site-footer__heading {
  margin-bottom: 0.9rem;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-footer__col ul {
  display: grid;
  gap: 0.45rem;
}

.site-footer__col a {
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color 0.2s;
}

.site-footer__col a:hover {
  color: var(--accent-text);
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  margin-top: clamp(3.5rem, 6vw, 5rem);
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  color: var(--text-muted);
  font-size: 0.875rem;
}

.site-footer__sep {
  margin-inline: 0.6em;
}

.site-footer__powered {
  white-space: nowrap;
}

.site-footer__powered a {
  padding-inline: 0.1em;
}

.site-footer__powered a {
  color: var(--text);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 0.25em;
  transition: text-decoration-color 0.2s, color 0.2s;
}

.site-footer__powered a:hover {
  color: var(--accent-text);
  text-decoration-color: currentColor;
}

.site-footer__powered a:focus-visible {
  outline-offset: 4px;
}

@media (max-width: 479.98px) {
  .site-footer__sep {
    display: none;
  }
  .site-footer__powered {
    display: block;
    margin-top: 0.4rem;
  }
}

@media (min-width: 640px) {
  .site-footer__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .site-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1024px) {
  .site-footer__grid {
    grid-template-columns: minmax(0, 1.8fr) repeat(3, minmax(0, 1fr));
  }
  .site-footer__brand {
    grid-column: auto;
  }
}

/* ------------------------------------------------------------ 15 Rechtliches & 404 */
.legal {
  padding-top: calc(var(--header-h) + clamp(3rem, 8vw, 6rem));
  padding-bottom: var(--section-y);
}

.legal__container {
  max-width: calc(820px + 2 * var(--gutter));
}

.legal__head {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.legal__title {
  margin-bottom: 1.2rem;
  font-size: clamp(2.6rem, 1.6rem + 4.4vw, 5rem);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1;
  hyphens: manual;
}

.legal__lead {
  color: var(--text-muted);
  font-size: 1.15rem;
}

.legal__body {
  overflow-wrap: break-word;
}

.legal__body h2 {
  margin: 2.8rem 0 0.8rem;
  font-size: 1.35rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.3;
  scroll-margin-top: calc(var(--header-h) + 1.5rem);
}

.legal__body p,
.legal__body address,
.legal__body ul,
.legal__body dl {
  margin-bottom: 1rem;
  line-height: 1.7;
}

.legal__body ul {
  display: grid;
  gap: 0.45rem;
}

.legal__body ul li {
  position: relative;
  padding-left: 1.3rem;
}

.legal__body ul li::before {
  content: '';
  position: absolute;
  left: 0.15rem;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-ink);
}

.legal__body a {
  color: var(--accent-ink);
  font-weight: 560;
  text-underline-offset: 0.2em;
}

.legal__body .link-cta {
  text-decoration-color: transparent;
}

.legal__facts {
  display: grid;
  gap: 0.2rem 1.5rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
}

.legal__facts dt {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
}

.legal__facts dd + dt {
  margin-top: 0.7rem;
}

@media (min-width: 640px) {
  .legal__facts {
    grid-template-columns: 15rem 1fr;
  }
  .legal__facts dd + dt {
    margin-top: 0;
  }
}

.pending {
  padding: 0.1em 0.45em;
  border-radius: 6px;
  background: #fdf0c7;
  color: #6b4a00;
  font-weight: 600;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.legal__notice {
  padding: 1rem 1.2rem;
  border: 1px solid #ecd58a;
  border-radius: 16px;
  background: #fdf6dc;
  color: #5c4100;
}

.legal__back {
  margin-top: 3rem;
}

.notfound {
  display: grid;
  min-height: 88vh;
  min-height: 88svh;
  align-items: center;
  padding-top: calc(var(--header-h) + 3rem);
  padding-bottom: 5rem;
  text-align: center;
}

.notfound__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.notfound__inner .section-head__lead {
  margin-top: 1.2rem;
}

.notfound__code {
  margin-bottom: 0.5rem;
  background: linear-gradient(180deg, var(--accent), rgb(var(--accent-2-rgb)));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: var(--serif);
  font-size: clamp(6rem, 4rem + 14vw, 14rem);
  font-style: italic;
  line-height: 0.9;
}

/* ------------------------------------------------------------ 17 Dynamik (Redesign)
   Alles hier ist Zusatz: ohne JavaScript, bei reduzierter Bewegung und auf Touch-Geräten
   bleibt die ruhige Darstellung aus den Abschnitten oben bestehen. */

/* Farben als animierbare Eigenschaften – erlaubt weiche Übergänge zwischen hellen und dunklen Abschnitten */
@property --bg { syntax: '<color>'; inherits: true; initial-value: #f6f3ed; }
@property --text { syntax: '<color>'; inherits: true; initial-value: #0c0c0d; }
@property --text-muted { syntax: '<color>'; inherits: true; initial-value: #5a5651; }
@property --line { syntax: '<color>'; inherits: true; initial-value: rgba(12, 12, 13, 0.12); }
@property --eyebrow { syntax: '<color>'; inherits: true; initial-value: #4338ca; }
@property --accent-text { syntax: '<color>'; inherits: true; initial-value: #4338ca; }
@property --angle { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

/* 17.1 Weicher Szenenwechsel hell ↔ dunkel: Text und Fläche wechseln gemeinsam */
.motion body {
  background: var(--bg);
  color: var(--text);
  transition:
    --bg 0.8s var(--ease),
    --text 0.8s var(--ease),
    --text-muted 0.8s var(--ease),
    --line 0.8s var(--ease),
    --eyebrow 0.8s var(--ease),
    --accent-text 0.8s var(--ease);
}

.motion.scene-dark body {
  --bg: var(--ink);
  --text: var(--paper);
  --text-muted: #aaa59d;
  --line: rgba(246, 243, 237, 0.14);
  --focus: var(--paper);
  --eyebrow: var(--accent-bright);
  --accent-text: var(--accent-bright);
}

.motion main > section[data-theme]:not(.hero),
.motion .site-footer {
  --bg: inherit;
  --text: inherit;
  --text-muted: inherit;
  --line: inherit;
  --focus: inherit;
  --eyebrow: inherit;
  --accent-text: inherit;
  background: transparent;
}

/* Bausteine mit eigener heller Fläche behalten ihre Schriftfarben */
.service,
.demo__controls,
.legal__facts {
  color: var(--ink);
}

.service {
  --text-muted: #5a5651;
}

.motion .step.is-active .step__num {
  color: var(--on-accent);
}

.project__tag {
  color: var(--accent-text);
}

/* 17.2 Hero: Buchstaben-Einstieg und Tiefenebenen */
.hero__title .word {
  display: inline-block;
  white-space: nowrap;
}

.hero__title .ch {
  display: inline-block;
}

.motion .hero__title.is-split .hero__line > span {
  animation: none;
}

.motion .hero__title.is-split .ch {
  animation: char-in 1s var(--ease) both;
  animation-delay: calc(0.12s + var(--i, 0) * 26ms);
}

@keyframes char-in {
  from {
    opacity: 0;
    transform: translateY(0.7em) rotate(8deg);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

.hero-browser {
  translate: calc(var(--tx) * -12px) calc(var(--ty) * -8px + var(--hero-p) * 40px);
}

.hero-phone {
  translate: calc(var(--tx) * 26px) calc(var(--ty) * 16px + var(--hero-p) * -110px);
}

.hero-chip--type {
  translate: calc(var(--tx) * 38px) calc(var(--ty) * 24px + var(--hero-p) * -170px);
}

.hero-chip--palette {
  translate: calc(var(--tx) * 46px) calc(var(--ty) * 30px + var(--hero-p) * -80px);
}

.hero-chip--check {
  translate: calc(var(--tx) * 32px) calc(var(--ty) * 20px + var(--hero-p) * -130px);
}

/* 17.3 Laufband */
.marquee {
  overflow: hidden;
  padding-block: clamp(1.4rem, 3.5vw, 2.6rem);
  border-block: 1px solid var(--line);
  color: var(--text);
  user-select: none;
}

.marquee__track {
  display: flex;
  width: max-content;
  will-change: transform;
}

.marquee__group {
  display: flex;
  flex: none;
  align-items: center;
  gap: clamp(1.4rem, 3vw, 3rem);
  padding-right: clamp(1.4rem, 3vw, 3rem);
}

.marquee__item {
  font-size: clamp(2.1rem, 1.1rem + 4.6vw, 5.6rem);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.1;
  white-space: nowrap;
}

.marquee__item--serif {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.marquee__sep {
  flex: none;
  width: clamp(10px, 1.2vw, 16px);
  height: clamp(10px, 1.2vw, 16px);
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), rgb(var(--accent-2-rgb)));
}

/* 17.4 Überschriften mit Masken-Einblendung */
.motion [data-reveal] .display {
  clip-path: inset(-0.3em -0.3em -0.35em -0.3em);
  transition:
    clip-path 1.2s var(--ease),
    translate 1.2s var(--ease);
}

.motion [data-reveal]:not(.is-visible) .display {
  clip-path: inset(-0.3em -0.3em 100% -0.3em);
  translate: 0 0.35em;
}

/* 17.5 Leistungskarten: 3D-Neigung mit Lichtkante */
.service::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 1.5px;
  border-radius: inherit;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgb(var(--accent-rgb) / 0.9), rgb(var(--accent-2-rgb) / 0.35) 35%, transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}

.fx-pointer .service {
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(0);
  transition:
    transform 0.6s var(--ease),
    box-shadow 0.5s var(--ease),
    border-color 0.5s var(--ease),
    opacity 1s var(--ease);
}

.fx-pointer .service.is-tilting {
  transition:
    transform 0.12s linear,
    box-shadow 0.5s var(--ease),
    border-color 0.5s var(--ease),
    opacity 1s var(--ease);
}

.fx-pointer .service:hover {
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(14px);
}

.fx-pointer .service:hover::after {
  opacity: 1;
}

/* 17.7 Projekte: gestapelte Karten (nur große Bildschirme mit genug Höhe) */
.project {
  position: relative;
}

.projects__list.is-stacked {
  gap: 7vh;
}

.projects__list.is-stacked .project {
  position: sticky;
  top: calc(var(--header-h) + 20px + var(--stack-i, 0) * 16px);
  padding: clamp(28px, 3vw, 44px);
  border: 1px solid rgba(12, 12, 13, 0.08);
  border-radius: 34px;
  background: var(--white);
  box-shadow: 0 40px 90px -50px rgba(20, 18, 50, 0.45);
  transform-origin: 50% 0;
  scale: var(--stack-s, 1);
  color: var(--ink);
  --text-muted: #5a5651;
  --accent-text: var(--accent-ink);
}

.projects__list.is-stacked .project::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--ink);
  opacity: var(--stack-dim, 0);
  pointer-events: none;
}

.browser__screen img {
  transition: transform 6s var(--ease-in-out);
}

@media (hover: hover) {
  .project:hover .browser__screen img {
    transform: translateY(var(--shot-shift, -30%));
  }
}

/* 17.8 Bau-Sequenz: Tiefe, Leuchten und ein klarer „fertig“-Moment */
.build__stage {
  perspective: 1600px;
}

.build__canvas {
  transform-style: preserve-3d;
  transition: transform 1.1s var(--ease);
}

.build__canvas[data-state='0'] .bb,
.build__canvas[data-state='1'] .bb {
  box-shadow: 0 0 28px -6px rgb(var(--accent-rgb) / 0.45);
}

@media (min-width: 960px) {
  .build__canvas[data-state='0'] {
    transform: rotateX(22deg) rotateZ(-5deg) scale(0.9);
  }
  .build__canvas[data-state='1'] {
    transform: rotateX(10deg) scale(0.96);
  }
  .build__canvas[data-state='0'] .bb {
    transform: rotate(calc(var(--r, 0) * 1deg)) translateZ(calc(var(--z, 40) * 1px)) rotateX(calc(var(--r, 0) * 2deg));
  }
  .build__canvas[data-state='0'] [data-block='image'] { --z: 120; }
  .build__canvas[data-state='0'] [data-block='h1'] { --z: 80; }
  .build__canvas[data-state='0'] [data-block='btn'] { --z: 160; }
  .build__canvas[data-state='0'] [data-block='card2'] { --z: 100; }
}

.build__frame::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.85) 50%, transparent 65%);
  opacity: 0;
  transform: translateX(-120%);
  pointer-events: none;
}

.build__canvas.is-done .build__frame::after {
  animation: shine 1.3s var(--ease) 0.5s both;
}

.build__canvas.is-done .build__frame {
  box-shadow:
    0 0 0 1px rgb(var(--accent-rgb) / 0.5),
    0 0 80px -10px rgb(var(--accent-rgb) / 0.55),
    0 50px 100px -40px rgba(0, 0, 0, 0.7);
}

@keyframes shine {
  0% {
    opacity: 1;
    transform: translateX(-120%);
  }
  100% {
    opacity: 1;
    transform: translateX(120%);
  }
}

.build__done {
  position: absolute;
  left: 0;
  top: -2.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  padding: 0.35em 0.85em 0.35em 0.6em;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  scale: 0.6;
  transition:
    opacity 0.4s var(--ease),
    scale 0.6s var(--spring);
}

.build__done path {
  stroke-dasharray: 24;
  stroke-dashoffset: 24;
  transition: stroke-dashoffset 0.6s var(--ease) 0.25s;
}

.build__canvas.is-done ~ .build__done,
.no-js .build__done,
.reduce-motion .build__done {
  opacity: 1;
  scale: 1;
}

.build__canvas.is-done ~ .build__done path,
.no-js .build__done path,
.reduce-motion .build__done path {
  stroke-dashoffset: 0;
}

/* 17.9 Kontaktkarte mit umlaufendem Verlaufsrand */
.contact__card {
  position: relative;
  isolation: isolate;
}

.contact__card::before {
  content: '';
  position: absolute;
  inset: -2px;
  z-index: -1;
  border-radius: calc(var(--radius-lg) + 2px);
  background: conic-gradient(from var(--angle), rgb(var(--accent-rgb) / 0.05), var(--accent-bright), rgb(var(--accent-rgb)), rgb(var(--accent-2-rgb) / 0.8), rgb(var(--accent-rgb) / 0.05) 70%);
}

.contact__card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: var(--paper);
}

.motion .contact.is-inview .contact__card::before {
  animation: rotate-angle 7s linear infinite;
}

@keyframes rotate-angle {
  to {
    --angle: 360deg;
  }
}

/* 17.10 Erfolgsanzeige mit gezeichnetem Häkchen */
.check-draw {
  flex: none;
  width: 26px;
  height: 26px;
  margin-top: -2px;
}

.check-draw circle,
.check-draw path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.check-draw circle {
  stroke-dasharray: 63;
  stroke-dashoffset: 63;
  animation: draw 0.7s var(--ease) forwards;
}

.check-draw path {
  stroke-dasharray: 20;
  stroke-dashoffset: 20;
  animation: draw 0.45s var(--ease) 0.5s forwards;
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

/* 17.11 Smartphones: keine schweren 3D-Effekte */
@media (max-width: 959.98px) {
  .hero-browser,
  .hero-phone,
  .hero-chip {
    translate: 0 calc(var(--hero-p) * -20px);
  }
  .hero-browser {
    translate: none;
  }
}

/* ------------------------------------------------------------ 16 Bewegung reduziert */
@media (prefers-reduced-motion: reduce) {
  *,
  *::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;
    scroll-behavior: auto !important;
  }
}

.reduce-motion *,
.reduce-motion *::before,
.reduce-motion *::after {
  animation-duration: 0.01ms !important;
  animation-delay: 0s !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.01ms !important;
  transition-delay: 0s !important;
}

.reduce-motion .hero-cursor,
.reduce-motion .eyebrow__dot::after {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero-cursor,
  .eyebrow__dot::after {
    display: none;
  }
}

/* Druck: nur Inhalte */
@media print {
  .site-header,
  .mobile-menu,
  .hero__stage,
  .build__stage,
  .demo__device,
  .skip-link {
    display: none !important;
  }
  main > section,
  .site-footer {
    background: #fff !important;
    color: #000 !important;
  }
}
