@font-face {
  font-family: 'Space Grotesk';
  src: url('./fonts/SpaceGrotesk.woff2') format('woff2');
  font-weight: 300 700;
  font-display: swap;
}

@font-face {
  font-family: 'IBM Plex Sans';
  src: url('./fonts/IBMPlexSans.woff2') format('woff2');
  font-weight: 400 600;
  font-display: swap;
}

@font-face {
  font-family: 'Big Shoulders Display';
  src: url('./fonts/BigShouldersDisplay.woff2') format('woff2');
  font-weight: 700 900;
  font-display: swap;
}

@font-face {
  font-family: 'Archivo Expanded';
  src: url('./fonts/ArchivoExpanded.woff2') format('woff2');
  font-weight: 600 900;
  font-display: swap;
}

@font-face {
  font-family: 'Gloock';
  src: url('./fonts/Gloock.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

:root {
  --bg: #0f1012;
  --panel: #17181b;
  --panel-2: #1e1f23;
  --well: #0b0c0d;
  --seam: #26272c;
  --text: #f4f4f5;
  --muted: #9a9ca3;
  --line: rgba(255, 255, 255, 0.055);
  --blue: #3d6df2;
  --yellow: #f7c948;
  --display: 'Space Grotesk', system-ui, sans-serif;
  --ui: 'IBM Plex Sans', system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--ui);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

p {
  margin: 0;
}

a {
  color: inherit;
}

.i {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── Knöpfe ── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 44px;
  padding: 0 1.15rem;
  border: 1px solid transparent;
  border-radius: 8px;
  font: 600 0.92rem/1 var(--ui);
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}

.btn-light {
  background: #fff;
  color: #111214;
}

.btn-light:hover {
  background: var(--yellow);
}

.btn-blue {
  background: var(--blue);
  color: #fff;
}

.btn-blue:hover {
  filter: brightness(1.08);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text);
  background: rgba(15, 16, 18, 0.5);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-wide {
  width: 100%;
  height: 50px;
}

.btn .i {
  width: 16px;
  height: 16px;
}

/* ── Navigation ── */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 68px;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  background: rgba(15, 16, 18, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font: 600 1.2rem var(--display);
  letter-spacing: -0.03em;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 1.6rem;
  margin-right: auto;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.92rem;
  text-decoration: none;
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: var(--text);
}

.nav .btn {
  height: 38px;
  font-size: 0.85rem;
}

/* ── Hero: die Kachelwand ── */

.hero {
  position: relative;
  z-index: 1;
  height: 100svh;
  min-height: 640px;
  overflow: hidden;
  background: var(--bg);
}

.board {
  --cell: 80px;
  position: absolute;
  display: grid;
  grid-template-columns: repeat(var(--cols), var(--cell));
  grid-template-rows: repeat(var(--rows), var(--cell));
  width: calc(var(--cols) * var(--cell) + 1px);
  height: calc(var(--rows) * var(--cell) + 1px);
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: var(--cell) var(--cell);
}

.tile {
  margin: 1px 0 0 1px;
  background: var(--c);
  transition: background-color 0.45s var(--ease);
  animation: tile-in 0.7s var(--ease) backwards;
  animation-delay: var(--d, 0s);
}

@keyframes tile-in {
  from {
    opacity: 0;
    transform: scale(0.85);
  }
}

.logo {
  margin: 1px 0 0 1px;
}

.logo svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.logo path {
  fill: #fff;
  stroke: #fff;
  stroke-width: 4;
  stroke-dasharray: 1;
  animation:
    draw 0.9s cubic-bezier(0.65, 0, 0.35, 1) var(--d) backwards,
    fill-in 0.5s ease var(--fill) backwards;
}

.logo.still path {
  animation: none;
}

@keyframes draw {
  from {
    stroke-dashoffset: 1;
  }
}

@keyframes fill-in {
  from {
    fill-opacity: 0;
  }
}

.hero-copy {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(760px, calc(100% - 2.5rem));
  padding-top: 2rem;
  transform: translateX(-50%);
  text-align: center;
  animation: rise 0.8s var(--ease) 1.6s backwards;
}

.hero-copy h1 {
  font-size: clamp(2.3rem, 5.4vw, 4.2rem);
}

.hero-copy p {
  max-width: 34rem;
  margin: 1rem auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.12rem);
}

.try-hero {
  max-width: 560px;
  margin: 1.8rem auto 0;
  padding: 6px;
  border: 1px solid var(--app-seam);
  border-radius: 12px;
  background: var(--app-bg);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.try-hero .try-field {
  height: 52px;
  padding-left: 1rem;
}

.try-hero .try-field input {
  font-size: 1rem;
}

.try-hero .try-field button {
  height: 42px;
  padding: 0 1.2rem;
  font-size: 0.9rem;
}

.hero-copy .hero-alt {
  margin-top: 0.9rem;
  font-size: 0.85rem;
}

.hero-alt a {
  color: var(--text);
}

@keyframes rise-y {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translate(-50%, 14px);
  }
}

/* ── Fortsetzung der Wand unter der Seite ── */

.trail {
  position: absolute;
  z-index: 0;
  display: grid;
  grid-template-columns: repeat(var(--cols), var(--cell));
  grid-template-rows: repeat(var(--rows), var(--cell));
  overflow: hidden;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: var(--cell) var(--cell);
  mask-image: linear-gradient(to bottom, #000, #000 calc(100% - 200px), transparent);
}

.trail .tile {
  opacity: 0;
  transform: scale(0.6);
  animation: none;
  transition:
    opacity 0.5s ease var(--d),
    transform 0.7s var(--ease) var(--d),
    background-color 0.45s var(--ease);
}

.trail .tile.is-on {
  opacity: 1;
  transform: none;
}

.trail .tile.no-anim {
  transition: background-color 0.45s var(--ease);
}

/* Inhalte liegen über der Wand, die Ränder bleiben für die Flächen frei */
.section,
.foot {
  position: relative;
  z-index: 1;
  pointer-events: none;
}

.section > *,
.foot > * {
  pointer-events: auto;
}

/* ── Abschnitte ── */

.section {
  width: min(1180px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: clamp(5rem, 10vw, 8rem) 0 0;
}

.section-head {
  max-width: 40rem;
  margin: 0 auto 3rem;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(2rem, 4.2vw, 3.1rem);
}

.section-head p {
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 1.05rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s ease,
    transform 0.8s var(--ease);
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ── App-Attrappe ── */

/* the editor's own grey surface (tyles App.css, theme „Grau“) */
:root {
  --app-bg: #323233;
  --app-panel: #3c3c3e;
  --app-raised: #48484b;
  --app-active: #5e5e62;
  --app-seam: #29292a;
  --app-stage: #555558;
  --app-muted: #c3c3c7;
}

/* clip, not hidden: the bar with the address field stays sticky while the window scrolls past */
.app {
  --tile-h: 380px;
  max-width: 980px;
  margin: 0 auto;
  border: 1px solid var(--app-seam);
  border-radius: 10px;
  background: var(--app-bg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  overflow: clip;
}

.app-top {
  position: sticky;
  top: 68px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  height: 52px;
  padding: 0 0.75rem 0 0;
  background: var(--app-bg);
  border-bottom: 1px solid var(--app-seam);
  font-size: 0.78rem;
}

.app-top .try-form {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 560px;
}

.app-top .try-field input {
  min-width: 0;
}

.app-top .try-field {
  height: 38px;
}

.app-top .try-field button {
  height: 30px;
}

.app-brand {
  display: grid;
  place-items: center;
  flex: none;
  align-self: stretch;
  width: 64px;
  border-right: 1px solid var(--app-seam);
}

.app-brand svg {
  width: 14px;
  height: 28px;
  fill: var(--text);
}

.app-seg {
  display: inline-flex;
  align-self: center;
  gap: 2px;
  margin-left: auto;
  padding: 2px;
  border-radius: 7px;
  background: var(--app-raised);
  color: var(--app-muted);
  font-size: 0.7rem;
}

.app-seg b,
.app-seg span {
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  font-weight: 600;
}

.app-seg b {
  background: var(--app-active);
  color: var(--text);
}

.app-download {
  display: inline-flex;
  flex: none;
  align-self: center;
  align-items: center;
  gap: 0.4rem;
  height: 32px;
  padding: 0 0.85rem;
  border: 0;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}

/* only a built tile can be downloaded, and the round picture has no room for the note bar */
.app-download:disabled {
  opacity: 0.45;
  cursor: default;
}

.app-download.is-busy {
  cursor: progress;
}

.app-download .i {
  width: 14px;
  height: 14px;
}

.app-body {
  display: grid;
  grid-template-columns: 64px 1fr;
}

.app-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  padding: 1rem 0;
  border-right: 1px solid var(--app-seam);
  background: var(--app-bg);
  color: var(--app-muted);
  font-size: 0.62rem;
}

.app-rail span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.app-pack {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-top: auto;
  border-radius: 8px;
  background: var(--t-bg);
  color: var(--t-ink);
  font: 700 0.85rem var(--display);
  transition:
    background 0.5s ease,
    color 0.5s ease;
}

.app-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: calc(var(--tile-h) + 120px);
  padding: 2rem 1rem;
  background: var(--app-stage);
}

.app-format {
  color: var(--app-muted);
  font-size: 0.75rem;
  letter-spacing: 0.02em;
}

.app-hint {
  margin: -0.4rem 0 0;
  color: var(--text);
  font-size: 0.85rem;
  text-align: center;
}

.has-tile .app-hint {
  display: none;
}

/* Die Kachel: jede Marke bringt Farben, Schrift und ihren eigenen Aufbau mit */
.tile-mock {
  position: relative;
  container-type: size;
  width: calc(var(--tile-h) * var(--t-w));
  height: var(--tile-h);
  border-radius: 4px;
  background: var(--t-bg);
  color: var(--t-ink);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
  transition:
    width 0.55s var(--ease),
    border-radius 0.55s var(--ease),
    background 0.5s ease,
    color 0.5s ease,
    filter 0.7s ease,
    opacity 0.7s ease;
}

.tm-layer {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 7cqw;
  border-radius: inherit;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition:
    opacity 0.4s ease,
    transform 0.6s var(--ease),
    visibility 0.4s,
    filter 0.7s ease;
}

.tm-try {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.tm-layer > * {
  position: relative;
  transition: opacity 0.3s ease;
}

.tm-sel {
  position: relative;
  outline: 1.5px solid var(--blue);
  outline-offset: 5px;
}

/* Rund ist das Profilbild: nur das Markenzeichen */
.tm-av {
  position: absolute !important;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
}

.is-round .tile-mock {
  border-radius: 50%;
  overflow: hidden;
}

.is-round .tm-layer > * {
  opacity: 0;
}

.is-round .tm-layer > .tm-av {
  opacity: 1;
}

/* Live-Test: eine Kachel, die Farben, Schriften und Logo aus dem Scan bekommt */
[data-demo] {
  --t-bg: var(--yellow);
  --t-ink: #141414;
  --t-accent: #3d6df2;
  --try-btn-bg: #141414;
  --try-btn-ink: var(--yellow);
  --try-radius: 0.5;
  --try-head: var(--display);
  --try-body: var(--ui);
  --try-head-w: 700;
  --try-body-w: 400;
  --try-plate: #fff;
}

.tm-try {
  font-family: var(--try-body);
}

.try-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 4cqw;
}

.try-logo {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  max-width: 52cqw;
  height: 11cqw;
}

.try-logo.is-square {
  height: 17cqw;
}

.try-logo.has-plate {
  height: 14cqw;
  padding: 2cqw 3cqw;
  border-radius: 2cqw;
  background: var(--try-plate);
}

/* a compact sign on a field needs room all around, like a badge */
.try-logo.has-plate.is-square {
  height: 22cqw;
  padding: 4.5cqw;
}

/* a site without rounded corners: the logo field docks in the corner, its padding instead of the tile's margin
   (7cqw, see .tm-layer); the tile's own corner stays round on the page */
.is-sharp .try-logo.has-plate {
  border-radius: 0;
}

.tm-try.is-docked .try-logo.has-plate {
  height: 24cqw;
  margin: -7cqw 0 0 -7cqw;
  padding: 7cqw;
  border-top-left-radius: 4px;
}

.tm-try.is-docked .try-logo.has-plate.is-square {
  height: 27cqw;
}

.tile-photo.is-docked .tp-top {
  padding: 0;
  background: none;
}

.tile-photo.is-docked .tp-logo.has-plate {
  height: 19cqw;
  padding: 6cqw;
  border-top-right-radius: 4px;
}

.tile-photo.is-docked .tp-logo.has-plate.is-square {
  height: 22cqw;
}

.shot .is-docked .try-logo.has-plate {
  border-radius: 0;
}

/* a fixed limit: a percentage of the shrink-to-fit box lets logos without own size collapse to 0 */
.try-logo img {
  display: block;
  width: auto;
  height: 100%;
  max-width: 46cqw;
  object-fit: contain;
  object-position: left center;
}

.try-logo b {
  overflow: hidden;
  font: var(--try-head-w) 6cqw/1.1 var(--try-head);
  letter-spacing: -0.01em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.try-host {
  padding-top: 0.6cqw;
  font: 500 2.8cqw/1.2 var(--try-body);
  text-align: right;
  opacity: 0.7;
  overflow-wrap: anywhere;
}

.try-main {
  margin-top: auto;
}

.try-kicker {
  display: block;
  margin-bottom: 2.6cqw;
  color: var(--t-accent);
  font: 700 3.4cqw/1.15 var(--try-body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.try-head {
  display: inline-block;
  font: var(--try-head-w) min(9.2cqw, 6.4cqh) / 1.04 var(--try-head);
  letter-spacing: -0.02em;
  text-wrap: balance;
  overflow-wrap: break-word;
}

.is-upper .try-head {
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.try-sub {
  display: block;
  max-width: 94%;
  margin-top: 3.4cqw;
  font: var(--try-body-w) min(3.9cqw, 2.7cqh) / 1.38 var(--try-body);
  opacity: 0.86;
}

.try-foot {
  display: flex;
  margin-top: 5.5cqw;
}

.try-btn {
  display: inline-flex;
  align-items: center;
  height: 9cqw;
  padding: 0 5cqw;
  border-radius: calc(var(--try-radius) * 9cqw);
  background: var(--try-btn-bg);
  color: var(--try-btn-ink);
  font: 700 3.3cqw/1 var(--try-body);
}

.is-btn-upper .try-btn {
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.try-av img {
  width: 58cqw;
  height: 58cqw;
  object-fit: contain;
}

.try-av.is-wide img {
  width: 70cqw;
  height: 34cqw;
}

/* an icon with its own square background: the circle takes that colour, the square sits inside it */
.try-av.is-filled img {
  width: 70cqw;
  height: 70cqw;
}

.try-av.has-plate img {
  padding: 4cqw;
  border-radius: 6cqw;
  background: var(--try-plate);
}

.try-av b {
  color: var(--t-accent);
  font: var(--try-head-w) 46cqw/1 var(--try-head);
}

.tm-try.is-built > * {
  animation: try-in 0.7s var(--ease) both;
}

.tm-try.is-built > :nth-child(2) {
  animation-delay: 0.08s;
}

.tm-try.is-built > :nth-child(3) {
  animation-delay: 0.16s;
}

@keyframes try-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

.is-round .tm-try.is-built > :not(.tm-av) {
  animation: none;
}

/* Neben der Markenkachel eine Foto-Kachel, wenn die Seite ein passendes Foto hat */
.app-tiles {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.tile-photo {
  overflow: hidden;
  background: #111214;
  color: #fff;
  transition:
    width 0.55s var(--ease),
    opacity 0.4s ease;
}

.tile-photo[hidden],
.is-round .tile-photo {
  display: none;
}

.is-scanning .tile-photo {
  opacity: 0.35;
}

.tp-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* the text at the bottom like on the brand tile, the logo top right */
.tp-copy {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 26cqh 7cqw 7cqw;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.5) 55%, transparent);
}

.tp-top {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  justify-content: flex-end;
  padding: 7cqw 7cqw 16cqh;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent);
}

.tp-top[hidden] {
  display: none;
}

.tp-copy > * {
  position: relative;
}

.tile-photo .try-kicker {
  color: #fff;
  opacity: 0.85;
}

.tp-logo {
  display: flex;
  height: 8cqw;
}

.tp-logo img {
  max-width: 40cqw;
  object-position: right center;
}

.tp-logo.is-square {
  height: 13cqw;
}

.tp-logo.has-plate {
  width: max-content;
  height: 11cqw;
}

.tp-logo.has-plate.is-square {
  height: 17cqw;
  padding: 3.5cqw;
}

.tile-photo.is-built .tp-img {
  animation: tp-in 0.9s var(--ease) both;
}

.tile-photo.is-built .tp-copy > * {
  animation: try-in 0.7s var(--ease) both;
}

.tile-photo.is-built .tp-copy > .try-head {
  animation-delay: 0.1s;
}

.tile-photo.is-built .tp-copy > .try-foot {
  animation-delay: 0.2s;
}

.tile-photo.is-built .tp-top {
  animation: try-in 0.7s var(--ease) both;
}

@keyframes tp-in {
  from {
    opacity: 0;
    transform: scale(1.06);
  }
}

/* Video: die Kacheln spielen ihren Aufbau in Schleife ab, wie das MP4 aus tyles, mit Fortschrittsbalken */
.is-video .tile-mock::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  height: 3px;
  background: currentColor;
  opacity: 0.6;
  transform-origin: left;
  animation: vid-bar 8s linear infinite;
}

.is-video .tm-sel {
  outline-color: transparent;
}

.is-video .ebar {
  opacity: 0;
}

/* each part has its own start in the keyframes instead of a delay, so all leave together at the end of the loop */
[data-demo].is-video .tile-mock .try-top,
[data-demo].is-video .tile-mock .tp-logo {
  animation: vid-top 8s infinite both;
}

[data-demo].is-video .tile-mock .try-kicker {
  animation: vid-kicker 8s infinite both;
}

[data-demo].is-video .tile-mock .try-head {
  animation: vid-head 8s infinite both;
}

[data-demo].is-video .tile-mock .try-sub {
  animation: vid-sub 8s infinite both;
}

[data-demo].is-video .tile-mock .try-foot {
  transform-origin: left center;
  animation: vid-btn 8s infinite both;
}

[data-demo].is-video .tile-mock .tp-img {
  animation: vid-photo 8s linear infinite both;
}

@keyframes vid-top {
  0%,
  4% {
    opacity: 0;
    transform: translateY(5cqw);
    animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  }
  15%,
  88% {
    opacity: 1;
    transform: none;
    animation-timing-function: ease-in;
  }
  94%,
  100% {
    opacity: 0;
    transform: translateY(-2cqw);
  }
}

@keyframes vid-kicker {
  0%,
  9% {
    opacity: 0;
    transform: translateY(5cqw);
    animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  }
  20%,
  88% {
    opacity: 1;
    transform: none;
    animation-timing-function: ease-in;
  }
  94%,
  100% {
    opacity: 0;
    transform: translateY(-2cqw);
  }
}

@keyframes vid-head {
  0%,
  13% {
    opacity: 0;
    transform: translateY(10cqw);
    animation-timing-function: cubic-bezier(0.22, 1.25, 0.36, 1);
  }
  28%,
  88% {
    opacity: 1;
    transform: none;
    animation-timing-function: ease-in;
  }
  94%,
  100% {
    opacity: 0;
    transform: translateY(-2cqw);
  }
}

@keyframes vid-sub {
  0%,
  22% {
    opacity: 0;
    transform: translateY(5cqw);
    animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  }
  33%,
  88% {
    opacity: 1;
    transform: none;
    animation-timing-function: ease-in;
  }
  94%,
  100% {
    opacity: 0;
    transform: translateY(-2cqw);
  }
}

@keyframes vid-btn {
  0%,
  31% {
    opacity: 0;
    transform: scale(0.55);
    animation-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1);
  }
  39%,
  88% {
    opacity: 1;
    transform: none;
    animation-timing-function: ease-in;
  }
  94%,
  100% {
    opacity: 0;
    transform: scale(0.96);
  }
}

/* the photo stands from the first frame and zooms slowly over the whole clip */
@keyframes vid-photo {
  0% {
    opacity: 0;
    transform: scale(1);
  }
  3% {
    opacity: 1;
    transform: scale(1.004);
  }
  94% {
    opacity: 1;
    transform: scale(1.113);
  }
  100% {
    opacity: 0;
    transform: scale(1.12);
  }
}

@keyframes vid-bar {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

/* Bildmodus (kachel.html): die Kacheln in Originalgröße nebeneinander, admin.itstyles.app schneidet sie aus dem Bild */
.shot body {
  margin: 0;
  overflow: hidden;
  background: #ff00ff;
}

/* the note bar sits below the tile: the window is the tile plus 100 px (TRY_SHOT_BAR in admin.itstyles.app) */
.shot-tiles {
  --tile-h: calc(100vh - 100px);
  display: flex;
}

.shot-tile {
  display: flex;
  flex: none;
  flex-direction: column;
}

/* the server takes magenta for a page that is not ready yet */
.shot-tiles:not(.is-ready) {
  opacity: 0;
}

.shot .tile-mock {
  flex: none;
  border-radius: 0;
  box-shadow: none;
}

.shot *,
.shot *::before,
.shot *::after {
  animation: none !important;
  transition: none !important;
}

.shot-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  width: 0;
  min-width: 100%;
  height: 100px;
  padding: 0 48px;
  overflow: hidden;
  background: #0f1012;
  color: #fff;
  font: 500 30px/1 var(--ui);
}

.shot-bar span {
  white-space: nowrap;
}

.shot-bar span:last-child {
  display: flex;
  align-items: center;
  gap: 16px;
}

.shot-bar b {
  font-weight: 700;
}

.shot-bar img {
  width: 44px;
  height: 44px;
}

/* Während des Scans: ein Fortschrittsbalken oben an der Kachel */
.try-scan {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: end center;
  padding-bottom: 7cqw;
  border-radius: inherit;
  background: rgba(50, 50, 51, 0.55);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s;
}

.is-scanning .try-scan {
  opacity: 1;
  visibility: visible;
}

.try-scan i {
  position: absolute;
  top: 0;
  left: 0;
  width: 35%;
  height: 3px;
  background: var(--blue);
  animation: try-sweep 1.2s ease-in-out infinite;
}

@keyframes try-sweep {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(290%);
  }
}

.try-scan span {
  position: relative;
  padding: 0.45rem 0.7rem;
  border-radius: 6px;
  background: #4a4a4d;
  color: #f4f4f5;
  font: 500 0.75rem/1 var(--ui);
  white-space: nowrap;
}

.is-round .try-scan {
  place-items: center;
  padding: 0;
}

/* Während des ersten Tests verschwimmt das Beispiel hinter dem Fortschritt */
.is-scanning:not(.has-tile) .tm-try {
  filter: blur(8px);
}

.try-form .ctl-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.tip {
  position: fixed;
  z-index: 30;
  max-width: 240px;
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  background: #4a4a4d;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
  color: var(--text);
  font: 500 0.75rem/1.3 var(--ui);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.tip.is-shown {
  opacity: 1;
}

[data-tip] {
  cursor: default;
}

/* error under the address field, as a small note like the editor's tooltips */
.try-gate-msg {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 2;
  margin: 0;
  padding: 0.45rem 0.65rem;
  border-radius: 6px;
  background: #4a4a4d;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
  color: #ff9a85;
  font-size: 0.8rem;
}

.try-gate-msg:empty {
  display: none;
}

/* Die Leiste am unteren Rand, solange Start, Live-Test und Anmeldung nicht im Bild sind */
.try-dock {
  position: fixed;
  bottom: max(16px, env(safe-area-inset-bottom));
  left: 50%;
  z-index: 15;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  width: min(640px, calc(100% - 1.5rem));
  padding: 7px 7px 7px 1rem;
  border: 1px solid var(--app-seam);
  border-radius: 10px;
  background: var(--app-bg);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 16px);
  transition:
    opacity 0.3s ease,
    transform 0.45s var(--ease),
    visibility 0.3s;
}

.try-dock.is-shown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.try-dock-text {
  flex: none;
  font: 600 0.92rem var(--display);
  white-space: nowrap;
}

.try-dock .try-field {
  height: 40px;
}

.try-dock .try-field button {
  height: 32px;
}

.try-form {
  display: flex;
  flex: 1 1 420px;
  align-items: center;
  gap: 0.4rem;
  max-width: 540px;
}

.try-field {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  height: 42px;
  padding: 0 4px 0 0.85rem;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--app-raised);
  transition: border-color 0.2s ease;
}

.try-field:focus-within {
  border-color: var(--blue);
}

.try-field .i {
  width: 16px;
  height: 16px;
  color: var(--app-muted);
}

.try-field input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font: 500 0.9rem var(--ui);
}

.try-field input::placeholder {
  color: #9a9aa0;
}

.try-field button {
  flex: none;
  height: 34px;
  padding: 0 1rem;
  border: 0;
  border-radius: 6px;
  background: var(--blue);
  color: #fff;
  font: 600 0.82rem var(--ui);
  white-space: nowrap;
  cursor: pointer;
}

.try-field button:hover {
  filter: brightness(1.08);
}

.try-field button:disabled {
  opacity: 0.6;
  cursor: progress;
}

.try-info {
  display: grid;
  justify-items: center;
  gap: 0.7rem;
  padding: 0 1rem 1.1rem;
  text-align: center;
}

.try-info:has(> .try-status:empty):has(> .try-found[hidden]) {
  display: none;
}

.try-status {
  margin: 0;
  color: var(--app-muted);
  font-size: 0.86rem;
}

.try-status:empty {
  display: none;
}

.try-status.is-error {
  color: #ff9a85;
}

.try-found {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.6rem 1.2rem;
  font-size: 0.86rem;
}

.try-found[hidden] {
  display: none;
}

.try-swatches {
  display: inline-flex;
  gap: 4px;
}

.try-swatches i {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: var(--sw);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.try-fonts {
  color: var(--app-muted);
}

.try-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--yellow);
  font-weight: 600;
  text-decoration: none;
}

.try-cta:hover {
  text-decoration: underline;
}

.try-cta .i {
  width: 16px;
  height: 16px;
}

.try-note {
  max-width: 980px;
  margin: 1rem auto 0;
  color: var(--muted);
  font-size: 0.78rem;
  text-align: center;
}

.try-note a {
  color: inherit;
}

/* Leiste am Element, wie im Editor */
.ebar {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.45rem 0.7rem;
  border-radius: 10px;
  background: #3c3c3e;
  color: #f4f4f5;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
  font: 500 0.78rem/1 var(--ui);
  font-style: normal;
  letter-spacing: 0;
  white-space: nowrap;
}

.tm-sel .ebar {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 16px);
  transform: translateX(-50%);
  transition: opacity 0.3s ease;
}

.ebar .i {
  width: 15px;
  height: 15px;
}

.ebar-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--t-accent, var(--yellow));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.app-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2rem;
  padding: 0.85rem 1rem;
  border-top: 1px solid var(--app-seam);
}

.ctl {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

.ctl-label {
  margin-right: 0.3rem;
  color: var(--app-muted);
  font-size: 0.78rem;
}

/* like the editor's segmented control */
.ctl-seg {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border-radius: 9px;
  background: var(--app-raised);
}

.ctl button {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  height: 30px;
  padding: 0 0.85rem;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--app-muted);
  font: 600 0.8rem var(--ui);
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.ctl button:hover {
  background: #535356;
  color: var(--text);
}

.ctl button[aria-pressed='true'] {
  background: var(--blue);
  color: #fff;
}

.ctl i {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: var(--sw);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25);
}

/* ── Schritte ── */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  position: relative;
  padding: 1rem 1rem 1.6rem;
  border: 1px solid var(--seam);
  border-radius: 12px;
  background: var(--panel);
}

.step:nth-child(2) {
  transition-delay: 0.08s;
}

.step:nth-child(3) {
  transition-delay: 0.16s;
}

.step-visual {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.6rem;
  height: 200px;
  margin-bottom: 1.4rem;
  padding: 1.2rem;
  border-radius: 8px;
  background: var(--well);
  overflow: hidden;
}

.step-num {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin: 0 0.4rem 0.9rem;
  border-radius: 9px 9px 9px 2px;
  background: var(--accent);
  color: #111214;
  font: 700 1rem var(--display);
  transition: transform 0.35s var(--ease);
}

.step:hover .step-num {
  transform: rotate(-8deg) scale(1.08);
}

.step h3,
.step p {
  margin-inline: 0.4rem;
}

.step h3 {
  font-size: 1.3rem;
}

.step p {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.scan-url {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--seam);
  border-radius: 10px;
  background: var(--panel-2);
  font-size: 0.85rem;
}

.scan-url .i {
  width: 15px;
  height: 15px;
  color: var(--muted);
}

.scan-row {
  display: flex;
  gap: 0.4rem;
}

.scan-row i {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--sw);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  transform: scale(0);
  transition: transform 0.45s var(--ease);
}

.is-in .scan-row i {
  transform: none;
}

.scan-row i:nth-child(1) {
  transition-delay: 0.4s;
}
.scan-row i:nth-child(2) {
  transition-delay: 0.5s;
}
.scan-row i:nth-child(3) {
  transition-delay: 0.6s;
}
.scan-row i:nth-child(4) {
  transition-delay: 0.7s;
}

.scan-font,
.scan-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.scan-font b,
.scan-logo b {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--panel-2);
  color: var(--text);
  font: 700 0.9rem var(--display);
}

.scan-font b {
  font: 900 1.05rem 'Big Shoulders Display', sans-serif;
}

.scan-logo b {
  width: auto;
  min-width: 30px;
  padding: 0 0.45rem;
  background: #1b2a8c;
  color: #fff;
  font: 900 0.9rem 'Big Shoulders Display', sans-serif;
}

/* Kleine Vorlagen: echte Inhalte statt Platzhalterbalken */
.mini {
  position: relative;
  container-type: inline-size;
  flex-shrink: 0;
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  background: var(--m-bg);
  color: var(--m-ink);
  font-family: 'Space Grotesk', sans-serif;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.mi {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  padding: 9cqw;
}

.m-s {
  font: 500 7cqw/1.15 'IBM Plex Sans', sans-serif;
  opacity: 0.85;
}

.m-ac {
  color: var(--m-ac);
}

.m-h {
  display: block;
  font-weight: 700;
  font-size: 15cqw;
  line-height: 0.98;
  letter-spacing: -0.035em;
  hyphens: manual;
}

.m-sm {
  font-size: 12.5cqw;
}

.m-big {
  font-weight: 700;
  font-size: 40cqw;
  line-height: 0.85;
  letter-spacing: -0.06em;
}

.m-tag {
  display: inline-block;
  margin-bottom: 5cqw;
  padding: 2.5cqw 4cqw;
  border-radius: 1px;
  background: var(--m-ac);
  color: var(--m-bg);
  font-weight: 700;
  font-size: 7cqw;
  line-height: 1;
}

.m-tag-ink {
  background: var(--m-ink);
}

.m-rows {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  font: 500 6.5cqw/1 'IBM Plex Sans', sans-serif;
}

.m-rows span {
  padding: 3cqw 0;
  border-top: 1px solid color-mix(in srgb, var(--m-ink) 25%, transparent);
}

.m-hsg {
  font-family: 'Big Shoulders Display', sans-serif;
  text-transform: uppercase;
}

.m-hsg .m-s {
  font: 700 7.5cqw/1.1 'Big Shoulders Display', sans-serif;
  letter-spacing: 0.04em;
  opacity: 1;
}

.m-hsg .m-h {
  font-weight: 800;
  font-size: 17cqw;
  line-height: 0.9;
  letter-spacing: 0;
}

.m-hsg .m-big {
  font-weight: 900;
  font-size: 31cqw;
  line-height: 0.84;
  letter-spacing: 0;
}

.m-hsg .m-big.m-huge {
  font-size: 64cqw;
}

.m-hsg .m-rows {
  font: 700 8cqw/1 'Big Shoulders Display', sans-serif;
}

.m-bru {
  font-family: 'Archivo Expanded', sans-serif;
}

.m-bru .m-s {
  font: 600 6cqw/1.15 'Archivo Expanded', sans-serif;
}

.m-bru .m-h {
  font-weight: 800;
  font-size: 11cqw;
  line-height: 1;
  letter-spacing: -0.03em;
}

.m-bru .m-big {
  font-weight: 900;
  font-size: 25cqw;
  letter-spacing: -0.04em;
}

.m-kino {
  font-family: 'Gloock', serif;
}

.m-kino .m-s {
  font: 600 6cqw/1.1 'IBM Plex Sans', sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.m-kino .m-h {
  font-weight: 400;
  font-size: 17cqw;
  letter-spacing: -0.025em;
}

.picks {
  justify-content: center;
  padding: 0;
}

.picks-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0 1.2rem;
  transition: transform 0.7s var(--ease);
}

.picks .mini {
  width: 104px;
}

.picks .is-picked {
  box-shadow:
    0 0 0 2px var(--well),
    0 0 0 4px var(--blue),
    0 10px 24px rgba(0, 0, 0, 0.28);
}

.step:hover .picks-row {
  transform: translateX(-62px);
}

.finish {
  gap: 0.75rem;
}

.slides {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem;
  border-radius: 12px;
  background: #25262a;
  font-size: 0.8rem;
}

.slides b {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: #33353a;
  font-weight: 500;
}

.slides b.on {
  background: var(--blue);
}

.slides em {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0 0.6rem;
  font-style: normal;
  font-weight: 600;
}

.slides .i {
  width: 14px;
  height: 14px;
}

.dl {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.85rem;
  border-radius: 9px;
  background: var(--blue);
  font-size: 0.8rem;
  font-weight: 600;
}

.dl .i {
  width: 15px;
  height: 15px;
}

/* ── Funktionen ── */

.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-areas:
    'ai ai vid vid'
    'car lay mode media'
    'fmt fmt own own';
  gap: 1rem;
}

.bx {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-height: 220px;
  padding: 1.5rem;
  border-radius: 12px;
  background: var(--bx);
  color: var(--bx-ink, #111214);
  overflow: hidden;
  transition:
    opacity 0.7s ease,
    transform 0.5s var(--ease);
}

.bx.is-in:hover {
  transform: translateY(-4px) rotate(-0.6deg);
}

.bx h3 {
  font-size: 1.35rem;
}

.bx p {
  max-width: 30rem;
  font-size: 0.95rem;
  opacity: 0.82;
}

.bx-icon {
  width: 26px;
  height: 26px;
  margin-bottom: 0.4rem;
}

.bx-ai {
  grid-area: ai;
  --bx: var(--blue);
  --bx-ink: #fff;
}

.bx-video {
  grid-area: vid;
  --bx: #3dd3ee;
}

.bx-carousel {
  grid-area: car;
  --bx: var(--yellow);
}

.bx-layouts {
  grid-area: lay;
  --bx: #c9b3f5;
}

.bx-mode {
  grid-area: mode;
  --bx: #ff8c19;
}

.bx-media {
  grid-area: media;
  --bx: #f2a7c3;
}

.bx-formats {
  grid-area: fmt;
  --bx: #efe8dc;
}

.bx-own {
  grid-area: own;
  --bx: #22a06b;
  --bx-ink: #fff;
}

.bx-visual {
  margin-top: auto;
}

.prompt {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
  padding-top: 1.5rem;
}

.bubble {
  padding: 0.75rem 1rem;
  border-radius: 14px 14px 14px 4px;
  background: #fff;
  color: #111214;
  font-size: 0.92rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.variants {
  display: flex;
  align-self: stretch;
  gap: 0.6rem;
}

.variants .mini {
  width: min(128px, calc((100% - 1.2rem) / 3));
  transform: translateY(12px);
  opacity: 0;
  transition:
    transform 0.6s var(--ease),
    opacity 0.6s ease;
}

.bx-ai.is-in .variants .mini {
  transform: none;
  opacity: 1;
}

.variants .mini:nth-child(1) {
  transition-delay: 0.5s;
}

.variants .mini:nth-child(2) {
  transition-delay: 0.65s;
}

.variants .mini:nth-child(3) {
  transition-delay: 0.8s;
}

/* Video: die Elemente laufen nacheinander ein, wie im Export */
.reel {
  display: flex;
  align-items: flex-end;
  gap: 1.4rem;
  padding-top: 1.2rem;
}

.reel-tile {
  width: 132px;
}

.reel-bread {
  display: block;
  width: 100%;
}

.reel-band {
  align-self: stretch;
  padding: 4cqw 6cqw;
  background: var(--m-ac);
  color: var(--m-bg);
  font: 600 6cqw/1.1 'IBM Plex Sans', sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.reel-btn {
  padding: 3.5cqw 7cqw;
  border-radius: 99px;
  background: var(--m-ink);
  color: var(--m-bg);
  font: 600 7cqw/1 'IBM Plex Sans', sans-serif;
}

.reel-tile .r-fade,
.reel-tile .r-grow,
.reel-tile .r-rise,
.reel-tile .r-pop {
  animation: 6s var(--ease) infinite both;
}

.r-fade {
  animation-name: reel-fade !important;
}

.r-grow {
  animation-name: reel-grow !important;
}

.r-rise {
  animation-name: reel-rise !important;
}

.r-pop {
  animation-name: reel-pop !important;
}

@keyframes reel-fade {
  0%,
  4% {
    opacity: 0;
  }
  12%,
  88% {
    opacity: 1;
  }
  96%,
  100% {
    opacity: 0;
  }
}

@keyframes reel-grow {
  0%,
  8% {
    opacity: 0;
    transform: scale(0.7);
  }
  22%,
  88% {
    opacity: 1;
    transform: none;
  }
  96%,
  100% {
    opacity: 0;
  }
}

@keyframes reel-rise {
  0%,
  18% {
    opacity: 0;
    transform: translateY(40%);
  }
  30%,
  88% {
    opacity: 1;
    transform: none;
  }
  96%,
  100% {
    opacity: 0;
  }
}

@keyframes reel-pop {
  0%,
  28% {
    opacity: 0;
    transform: scale(0.4);
  }
  35% {
    opacity: 1;
    transform: scale(1.1);
  }
  40%,
  88% {
    opacity: 1;
    transform: none;
  }
  96%,
  100% {
    opacity: 0;
  }
}

.reel-side {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.8rem;
  max-width: 260px;
  padding-bottom: 0.3rem;
}

.reel-seg {
  margin-top: 0;
}

.reel-bar {
  height: 4px;
  border-radius: 2px;
  background: rgba(17, 18, 20, 0.18);
  overflow: hidden;
}

.reel-bar i {
  display: block;
  height: 100%;
  background: #111214;
  transform-origin: left;
  animation: reel-progress 6s linear infinite;
}

@keyframes reel-progress {
  from {
    transform: scaleX(0);
  }
}

.reel-meta {
  font: 600 0.8rem var(--display);
  opacity: 0.75;
}

.fan {
  position: relative;
  height: 106px;
}

.fan .mini {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  transition: transform 0.45s var(--ease);
}

.fan .mini:nth-child(1) {
  transform: translateX(28px);
}

.fan .mini:nth-child(2) {
  transform: translateX(14px);
}

.bx-carousel:hover .fan .mini:nth-child(1) {
  transform: translateX(176px) rotate(5deg);
}

.bx-carousel:hover .fan .mini:nth-child(2) {
  transform: translateX(88px) rotate(2.5deg);
}

.shapes {
  display: flex;
  align-items: flex-end;
  gap: 0.7rem;
  padding-top: 1rem;
}

.shapes i {
  display: grid;
  place-items: center;
  height: 64px;
  font: 600 0.7rem var(--display);
  font-style: normal;
  border: 2px solid #111214;
  border-radius: 4px;
  transition: transform 0.4s var(--ease);
}

.s-45 {
  width: 51px;
}
.s-11 {
  width: 64px;
}
.s-916 {
  width: 36px;
}
.s-o {
  width: 64px;
  border-radius: 50% !important;
}
.s-169 {
  width: 114px;
  height: 64px;
}

.bx-formats:hover .shapes i:nth-child(odd) {
  transform: translateY(-6px);
  background: #111214;
  color: #efe8dc;
}

.bx-seg {
  display: inline-flex;
  align-self: flex-start;
  margin-top: auto;
  padding: 4px;
  border-radius: 10px;
  background: rgba(17, 18, 20, 0.14);
  font: 600 0.85rem var(--ui);
}

.bx-seg b,
.bx-seg span {
  padding: 0.35rem 0.8rem;
  border-radius: 7px;
  transition:
    background 0.3s ease,
    color 0.3s ease;
}

.bx-seg b {
  background: #111214;
  color: #fff;
}

.bx-mode:hover .bx-seg b {
  background: transparent;
  color: inherit;
}

.bx-mode:hover .bx-seg span {
  background: #111214;
  color: #fff;
}

/* ── Preis ── */

.price-card {
  display: grid;
  grid-template-columns: minmax(0, 400px) minmax(0, 1fr);
  max-width: 980px;
  margin: 0 auto;
  border: 1px solid var(--seam);
  border-radius: 12px;
  background: var(--panel);
  overflow: hidden;
}

.price-main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  padding: 2.2rem;
  background: var(--yellow);
  color: #111214;
}

.price-tag {
  font: 600 0.95rem var(--display);
}

.price-amount {
  display: flex;
  align-items: flex-end;
  gap: 0.9rem;
}

.price-amount b {
  font: 600 clamp(4rem, 9vw, 5.6rem) / 0.9 var(--display);
  letter-spacing: -0.05em;
}

.price-amount span {
  padding-bottom: 0.4rem;
  font: 500 0.9rem/1.25 var(--ui);
}

.price-later {
  font-size: 0.98rem;
}

.price-note {
  margin-top: -0.4rem;
  font-size: 0.82rem;
  opacity: 0.75;
}

.btn-dark {
  background: #111214;
  color: #fff;
}

.btn-dark:hover {
  background: #26272c;
}

.price-main .btn {
  margin-top: auto;
}

.price-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
  padding: 2.2rem 2.4rem;
}

.price-side h3 {
  font-size: 1.2rem;
}

.price-side h3:not(:first-child) {
  margin-top: 1.4rem;
}

.packs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.5rem 0 0;
  padding: 0;
  list-style: none;
}

.packs li {
  display: flex;
  flex-direction: column;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--seam);
  border-radius: 9px;
  background: var(--panel-2);
}

.packs b {
  font: 600 0.9rem var(--display);
}

.packs span {
  color: var(--muted);
  font-size: 0.82rem;
}

.price-side p {
  color: var(--muted);
}

/* ── Zugang ── */

.signup {
  display: grid;
  grid-template-columns: 1fr minmax(0, 460px);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}

.signup-copy h2 {
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
}

.signup-copy p {
  max-width: 28rem;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.addr {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 2rem;
}

.addr-label {
  color: var(--muted);
  font-size: 0.8rem;
}

.addr-url {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 0.6rem;
  padding: 0.7rem 1rem;
  border: 1px dashed #3a3b41;
  border-radius: 12px;
  color: var(--muted);
  font: 500 1.05rem var(--display);
  transition:
    color 0.2s ease,
    border-color 0.2s ease;
}

.addr-url:has(.is-set) {
  border-style: solid;
  border-color: var(--yellow);
  color: var(--text);
}

.form {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.75rem;
  border: 1px solid var(--app-seam);
  border-radius: 12px;
  background: var(--app-bg);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  color: var(--app-muted);
  font-size: 0.82rem;
  font-weight: 500;
}

.field-box {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  height: 46px;
  padding: 0 0.85rem;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--app-raised);
  transition: border-color 0.2s ease;
}

.field-box:focus-within {
  border-color: var(--blue);
}

.field-box .i {
  flex: none;
  width: 16px;
  height: 16px;
  color: var(--app-muted);
}

.field input {
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font: 500 0.95rem var(--ui);
}

.field input::placeholder {
  color: #9a9aa0;
}

/* browser autofill paints its own light background otherwise */
.field input:-webkit-autofill {
  -webkit-text-fill-color: var(--text);
  box-shadow: 0 0 0 40px var(--app-raised) inset;
  caret-color: var(--text);
}

.check {
  display: flex;
  gap: 0.7rem;
  color: var(--app-muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.check input {
  width: 18px;
  height: 18px;
  margin: 0.1rem 0 0;
  accent-color: var(--blue);
  flex-shrink: 0;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-error {
  color: #ff8a6b;
  font-size: 0.88rem;
}

.form-error:empty {
  display: none;
}

.btn:disabled {
  opacity: 0.6;
  cursor: progress;
}

.form-done {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 2rem;
  border-radius: inherit;
  background: var(--app-bg);
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.97);
  transition:
    opacity 0.35s ease,
    transform 0.45s var(--ease),
    visibility 0.35s;
}

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

.form-done .i {
  width: 52px;
  height: 52px;
  padding: 12px;
  border-radius: 14px 14px 14px 4px;
  background: var(--blue);
  color: #fff;
  stroke-width: 2.4;
}

.form-done h3 {
  font-size: 1.6rem;
}

.form-done p {
  color: var(--muted);
}

.form.is-sent .form-done {
  opacity: 1;
  visibility: visible;
  transform: none;
}

/* ── Fuß ── */

.foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1180px, calc(100% - 2.5rem));
  margin: clamp(5rem, 10vw, 8rem) auto 0;
  padding: 1.5rem 0 2rem;
  border-top: 1px solid var(--seam);
  color: var(--muted);
  font: 500 0.88rem var(--display);
}

.foot-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.foot nav {
  display: flex;
  gap: 1.4rem;
}

.foot a {
  text-decoration: none;
}

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

/* ── Rechtstexte ── */

.legal {
  width: min(760px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 8rem 0 0;
}

.legal h1 {
  margin-bottom: 2rem;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
}

.legal h2 {
  margin: 2.2rem 0 0.6rem;
  font-size: 1.25rem;
}

.legal p,
.legal address {
  color: var(--muted);
  font-style: normal;
}

.legal p + p {
  margin-top: 0.8rem;
}

.legal .legal-lead {
  margin: -1rem 0 1rem;
  color: var(--text);
  font-size: 1.1rem;
}

.legal a {
  color: var(--text);
  text-underline-offset: 3px;
}

/* ── Klein ── */

@media (max-width: 960px) {
  .steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .bento {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      'ai ai'
      'vid vid'
      'car lay'
      'mode media'
      'fmt fmt'
      'own own';
  }

  .signup,
  .price-card {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .nav-links {
    display: none;
  }

  .nav {
    justify-content: space-between;
  }

  .board {
    --cell: 56px;
  }

  /* Text läuft unter Kopfzeile und Logo (4 Zellen) weiter, statt an der Bildschirmmitte abgeschnitten zu werden */
  .hero {
    height: auto;
    min-height: 100svh;
    padding: 316px 0 3.5rem;
  }

  .hero-copy {
    position: relative;
    top: auto;
    left: auto;
    margin: 0 auto;
    transform: none;
    animation-name: rise-y;
  }

  .app {
    --tile-h: 300px;
  }

  .app.has-photo:not(.is-round) {
    --tile-h: 190px;
  }

  .app-tiles {
    gap: 0.75rem;
  }

  .app-body {
    grid-template-columns: 1fr;
  }

  .app-rail,
  .app-seg,
  .app-brand {
    display: none;
  }

  .app-top {
    gap: 0.5rem;
    padding-left: 0.6rem;
    padding-right: 0.6rem;
  }

  /* only the icon: the address field gets the width */
  .app-download {
    width: 38px;
    padding: 0;
    justify-content: center;
  }

  .app-download span {
    display: none;
  }

  .try-field input {
    font-size: 16px;
  }

  .try-field button {
    padding: 0 0.75rem;
  }

  .try-dock {
    padding-left: 7px;
  }

  .try-dock-text {
    display: none;
  }

  .app-controls {
    justify-content: stretch;
  }

  .ctl {
    flex-basis: 100%;
  }

  .ctl-label {
    flex-basis: 100%;
    margin: 0 0 0.1rem;
  }

  .ctl-seg {
    flex: 1;
  }

  .ctl button {
    flex: 1;
    justify-content: center;
    padding: 0 0.5rem;
  }

  .bento {
    grid-template-columns: 1fr;
    grid-template-areas: 'ai' 'vid' 'car' 'lay' 'mode' 'media' 'fmt' 'own';
  }

  .foot {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reel *,
  .is-video *,
  .is-video .tile-mock::after {
    animation: none !important;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
}
