/* ===========================================================================
   UNITY ENGINE — Website
   Gleiche Bildsprache wie die App: Verlaufsgrund, Liquid Glass, gleiche
   Schriften. Bewusst eigenständig gehalten statt die App-CSS zu teilen -
   eine Seite hat andere Anforderungen (Scrollen, Responsivität) als ein
   Programmfenster fester Größe.
   =========================================================================== */

@font-face {
  font-family: 'Bebas Neue';
  font-style: normal; font-weight: 400; font-display: block;
  src: url('fonts/bebas-neue-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Yellowtail';
  font-style: normal; font-weight: 400; font-display: block;
  src: url('fonts/yellowtail-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Rajdhani';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url('fonts/rajdhani-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Rajdhani';
  font-style: normal; font-weight: 500; font-display: swap;
  src: url('fonts/rajdhani-latin-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Rajdhani';
  font-style: normal; font-weight: 600; font-display: swap;
  src: url('fonts/rajdhani-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Rajdhani';
  font-style: normal; font-weight: 700; font-display: swap;
  src: url('fonts/rajdhani-latin-700-normal.woff2') format('woff2');
}

:root {
  --accent: #6A00FF;
  --accent-deep: color-mix(in srgb, var(--accent) 45%, #1D0046);
  --accent-soft: color-mix(in srgb, var(--accent) 22%, transparent);

  /* Deutlich dunkler als zuvor. Der helle Verlauf ließ die Seite flach und
     ausgewaschen wirken - auf dunklem Grund tritt das Glas erst hervor. */
  --bg-core: color-mix(in srgb, var(--accent) 11%, #1c1330);
  --bg-edge: #110b1c;

  --text: rgba(255, 255, 255, 0.92);
  --text-dim: rgba(255, 255, 255, 0.58);
  --text-faint: rgba(255, 255, 255, 0.36);

  --wash-a: color-mix(in srgb, var(--accent) 15%, transparent);
  --wash-b: color-mix(in srgb, color-mix(in srgb, var(--accent) 55%, #ff2d95) 11%, transparent);
  --wash-c: color-mix(in srgb, color-mix(in srgb, var(--accent) 45%, #8c00ff) 10%, transparent);

  --radius: 16px;
  --ease: cubic-bezier(0.22, 0.9, 0.28, 1);
  --max: 1180px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Rajdhani', 'Segoe UI', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  /* Der Verlauf bleibt beim Scrollen stehen - sonst wandert die Farbwolke
     mit und der Hintergrund wirkt unruhig. */
  background:
    /* Abgedunkelte Ränder - hält den Blick in der Mitte. */
    radial-gradient(130% 95% at 50% 0%, transparent 38%, rgba(0, 0, 0, 0.55) 100%),
    radial-gradient(760px 700px at 32% 118%, var(--wash-c) 0%, transparent 66%),
    radial-gradient(520px 520px at 104% 6%, var(--wash-b) 0%, transparent 62%),
    radial-gradient(560px 560px at -8% 26%, var(--wash-a) 0%, transparent 64%),
    radial-gradient(56.61% 56.85% at 21.77% 9.8%, var(--bg-core) 3%, var(--bg-edge) 100%);
  background-attachment: fixed;
  background-color: var(--bg-edge);
}

/* Feines Raster im Hintergrund. Nimmt der Fläche das Leere, ohne sich
   vorzudrängen - nach außen blendet es aus, damit es nicht wie Karopapier
   über der ganzen Seite liegt. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(88% 65% at 50% 26%, #000 0%, transparent 78%);
  mask-image: radial-gradient(88% 65% at 50% 26%, #000 0%, transparent 78%);
}

/* Zusätzlich ein paar größere Rasterlinien - gibt Tiefe, weil zwei
   Maßstäbe übereinanderliegen. */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(color-mix(in srgb, var(--accent) 8%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--accent) 8%, transparent) 1px, transparent 1px);
  background-size: 224px 224px;
  -webkit-mask-image: radial-gradient(70% 55% at 50% 20%, #000 0%, transparent 72%);
  mask-image: radial-gradient(70% 55% at 50% 20%, #000 0%, transparent 72%);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ------------------------------------------------------------------ Aurora */
/* Langsam wandernde Farbschleier. Nur transform und opacity werden bewegt -
   das läuft im Compositor und kostet die Seite praktisch nichts. */

.aurora {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.aurora span {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  will-change: transform;
}

/* Deutlich zurückgenommen: sie sollen als Schimmer wirken, nicht als
   Farbfläche. Vorher übertönten sie den Grund und machten alles hell. */
.aurora .a1 {
  width: 46vw; height: 46vw;
  top: -14vw; left: -10vw;
  background: color-mix(in srgb, var(--accent) 55%, transparent);
  opacity: 0.17;
  animation: drift1 26s ease-in-out infinite alternate;
}
.aurora .a2 {
  width: 38vw; height: 38vw;
  top: 26vh; right: -12vw;
  background: color-mix(in srgb, color-mix(in srgb, var(--accent) 55%, #ff2d95) 60%, transparent);
  opacity: 0.12;
  animation: drift2 32s ease-in-out infinite alternate;
}
.aurora .a3 {
  width: 52vw; height: 52vw;
  left: 22vw; bottom: -26vw;
  background: color-mix(in srgb, color-mix(in srgb, var(--accent) 45%, #6200ff) 60%, transparent);
  opacity: 0.10;
  animation: drift3 38s ease-in-out infinite alternate;
}

@keyframes drift1 { to { transform: translate3d(9vw, 7vh, 0) scale(1.14); } }
@keyframes drift2 { to { transform: translate3d(-11vw, -6vh, 0) scale(0.88); } }
@keyframes drift3 { to { transform: translate3d(7vw, -9vh, 0) scale(1.1); } }

/* ------------------------------------------------------------- Liquid Glass */

.glass {
  position: relative;
  isolation: isolate;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.11) 0%, rgba(255, 255, 255, 0.04) 100%);
  backdrop-filter: blur(20px) saturate(175%);
  -webkit-backdrop-filter: blur(20px) saturate(175%);
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.26),
    inset 0 -1px 1px rgba(0, 0, 0, 0.2),
    0 10px 34px rgba(0, 0, 0, 0.32);
}

/* Glanzlicht auf der oberen Hälfte - macht aus einer Fläche eine Scheibe. */
.glass::after {
  content: '';
  position: absolute;
  inset: 1px 1px auto 1px;
  height: 46%;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 92%);
  pointer-events: none;
  z-index: -1;
}

/* --------------------------------------------------------------- Schriftzug */

.logo-unity {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 2px;
  background: linear-gradient(180deg, #ffffff 0%, #ece9f7 45%, #b6b1cb 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
}

.logo-engine {
  font-family: 'Yellowtail', cursive;
  position: relative;
  z-index: 2;
  background: linear-gradient(155deg,
    color-mix(in srgb, var(--accent) 25%, white) 0%,
    color-mix(in srgb, var(--accent) 85%, white 15%) 42%,
    var(--accent) 72%,
    color-mix(in srgb, var(--accent) 70%, black 30%) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6))
          drop-shadow(0 0 14px var(--accent-soft));
}

/* ---------------------------------------------------------------- Kopfzeile */

/* Schwebende Glasleiste statt durchgehendem Balken - sie liegt sichtbar über
   dem Inhalt statt ihn abzuschneiden. */
.topbar {
  position: sticky;
  top: 14px;
  z-index: 50;
  width: min(var(--max), calc(100% - 28px));
  margin: 14px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 9px 10px 9px 22px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0.035) 100%);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.26),
    inset 0 -1px 1px rgba(0, 0, 0, 0.2),
    0 12px 38px rgba(0, 0, 0, 0.34);
}

.topbar .logo { display: flex; align-items: baseline; line-height: 1; }
.topbar .logo-unity { font-size: 26px; }
.topbar .logo-engine { font-size: 23px; margin-left: -17px; }

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

.topnav a {
  padding: 7px 15px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dim);
  transition: color 0.18s, background 0.18s;
}

.topnav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.07); }

.topbar-right { display: flex; align-items: center; gap: 10px; }

/* -------------------------------------------------------------------- Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 40px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: var(--text);
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.18s var(--ease), background 0.2s, box-shadow 0.2s;
}

.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.btn-lg { height: 50px; padding: 0 28px; font-size: 17px; }

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(0.97); transition-duration: 0.09s; }

.btn-accent {
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--accent) 76%, white 16%) 0%,
    color-mix(in srgb, var(--accent) 92%, black 16%) 100%);
  border-color: color-mix(in srgb, var(--accent) 58%, white 25%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    0 10px 30px var(--accent-soft);
}

.btn-accent:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    0 16px 40px var(--accent-soft);
}

.discord-btn svg { width: 18px; height: 18px; fill: currentColor; stroke: none; }

.profile {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 40px;
  padding: 0 8px 0 8px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}

.profile img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }

.profile .logout {
  display: grid;
  place-items: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-faint);
  font-size: 11px;
  transition: background 0.16s, color 0.16s;
}

.profile .logout:hover { background: rgba(229, 72, 77, 0.25); color: #ff8086; }

/* ------------------------------------------------------------------- Hero */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(48px, 8vw, 96px) clamp(16px, 4vw, 40px) clamp(40px, 6vw, 72px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 30px;
  padding: 0 15px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: var(--text-dim);
  margin-bottom: 22px;
  transition: color 0.18s, border-color 0.18s;
}

.eyebrow b { color: var(--text); font-weight: 700; }
a.eyebrow:hover { color: var(--text); border-color: rgba(255, 255, 255, 0.26); }

.eyebrow .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 60%, white 40%);
  box-shadow: 0 0 9px var(--accent);
}

.hero-title {
  display: flex;
  align-items: baseline;
  margin: 0;
  line-height: 1;
}

.hero-title .logo-unity { font-size: clamp(56px, 8vw, 86px); }
.hero-title .logo-engine {
  font-size: clamp(50px, 7vw, 76px);
  margin-left: clamp(-56px, -5vw, -34px);
}

.hero-sub {
  margin: 10px 0 0;
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 600;
  color: var(--text-faint);
  letter-spacing: 0.3px;
}

.hero-text {
  margin: 22px 0 0;
  max-width: 46ch;
  color: var(--text-dim);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.hero-stats {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-faint);
}

.hero-stats b { color: var(--text); font-weight: 700; }
.stat-sep { width: 1px; height: 14px; background: rgba(255, 255, 255, 0.16); }

.hero-points {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: 15.5px;
  color: var(--text-dim);
}

.hero-points li { display: flex; align-items: flex-start; gap: 11px; }

/* Häkchen als reine Form gezeichnet - spart ein Symbol pro Zeile. */
.hero-points i,
.preis-liste i {
  flex: 0 0 auto;
  width: 17px; height: 17px;
  margin-top: 3px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 30%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 60%, transparent);
  position: relative;
}

.hero-points i::after,
.preis-liste i::after {
  content: '';
  position: absolute;
  left: 5px; top: 3px;
  width: 4px; height: 8px;
  border: solid color-mix(in srgb, var(--accent) 25%, white);
  border-width: 0 2px 2px 0;
  transform: rotate(42deg);
}

/* ------------------------------------------------------------------ Zahlen */

.band {
  border-block: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.022);
}

.band-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(26px, 4vw, 40px) clamp(16px, 4vw, 40px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 24px;
}

.figure { text-align: center; }

.figure b {
  display: block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(34px, 4.5vw, 48px);
  letter-spacing: 1.5px;
  line-height: 1;
  background: linear-gradient(180deg, #ffffff 0%, color-mix(in srgb, var(--accent) 45%, white) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.figure span {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-faint);
}

/* --------------------------------------------------------- Produktbild */

.hero-visual { position: relative; }

.shot-frame {
  margin: 0;
  padding: 9px;
  border-radius: 20px;
  overflow: hidden;
  /* Leicht gekippt - wirkt greifbarer als eine flache Grafik. */
  transform: perspective(1600px) rotateY(-8deg) rotateX(3deg);
  transition: transform 0.55s var(--ease), box-shadow 0.55s;
}

.hero-visual:hover .shot-frame {
  transform: perspective(1600px) rotateY(-2deg) rotateX(1deg);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 28px 70px rgba(0, 0, 0, 0.5);
}

.shot-frame img { width: 100%; border-radius: 13px; display: block; }

@media (max-width: 900px) {
  .shot-frame, .hero-visual:hover .shot-frame { transform: none; }
}

/* ------------------------------------------------------- Vorschaufenster */

.preview {
  border-radius: var(--radius);
  overflow: hidden;
  transform: perspective(1400px) rotateY(-7deg) rotateX(3deg);
  transition: transform 0.5s var(--ease);
}

.preview:hover { transform: perspective(1400px) rotateY(-3deg) rotateX(1deg); }

.preview-bar {
  display: flex;
  gap: 6px;
  padding: 11px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.preview-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); }

.preview-title {
  margin-left: 8px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 13px;
  letter-spacing: 1.4px;
  color: var(--text-faint);
}

/* Die Bühne zeigt ein echtes Community-Video - das überzeugt mehr als jede
   Beschreibung. Fehlt eines, bleibt der Verlauf darunter stehen. */
.preview-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(140deg,
    color-mix(in srgb, var(--accent) 30%, #1a1230),
    #140d22);
}

.preview-stage video,
.preview-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-size: cover;
  background-position: center;
}

.preview-live {
  position: absolute;
  top: 10px; left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: #fff;
}

.preview-live i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #34d97b;
  box-shadow: 0 0 8px #34d97b;
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.preview-body { padding: 18px; }

.preview-logo { display: flex; align-items: baseline; line-height: 1; margin-bottom: 14px; }
.preview-logo .logo-unity { font-size: 30px; }
.preview-logo .logo-engine { font-size: 27px; margin-left: -20px; }

.preview-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }

.pchip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 22px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.05);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-faint);
}

.pchip i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, 0.2); }
.pchip.on { border-color: color-mix(in srgb, var(--accent) 45%, transparent); color: var(--text); }
.pchip.on i { background: color-mix(in srgb, var(--accent) 60%, white 40%); box-shadow: 0 0 7px var(--accent); }

.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

.preview-tile {
  aspect-ratio: 16 / 10;
  border-radius: 9px;
  background: rgba(0, 0, 0, 0.3) center/cover;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

/* --------------------------------------------------------------- Abschnitte */

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(48px, 7vw, 88px) clamp(16px, 4vw, 40px);
}

.section-title {
  margin: 0;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(34px, 5vw, 48px);
  letter-spacing: 1.5px;
  line-height: 1.1;
}

.section-sub { margin: 8px 0 0; color: var(--text-faint); font-weight: 500; }

/* ------------------------------------------------------------------ Karten */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 18px;
  margin-top: 36px;
}

.card {
  border-radius: var(--radius);
  padding: 24px;
  transition: transform 0.22s var(--ease), box-shadow 0.22s, border-color 0.22s;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 20px 46px rgba(0, 0, 0, 0.42);
}

.card-icon {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--accent) 26%, transparent),
    color-mix(in srgb, var(--accent) 8%, transparent));
  color: color-mix(in srgb, var(--accent) 30%, white);
}

.card-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.card h3 { margin: 0 0 8px; font-size: 19px; font-weight: 700; letter-spacing: 0.2px; }
.card p { margin: 0; color: var(--text-dim); font-size: 15.5px; }

/* Eine Karte darf über zwei Spalten gehen - sonst wirkt das Raster monoton. */
.card-wide { grid-column: span 2; }
@media (max-width: 700px) { .card-wide { grid-column: span 1; } }

/* Balkenvergleich in der Leistungskarte */
.bars { margin-top: 16px; display: grid; gap: 9px; }

.bar { display: grid; grid-template-columns: 74px 1fr 52px; align-items: center; gap: 11px; font-size: 13.5px; }
.bar span { color: var(--text-faint); font-weight: 600; }
.bar b { text-align: right; font-weight: 700; }

.bar i {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg,
    color-mix(in srgb, var(--accent) 70%, white 20%),
    var(--accent));
  /* Wächst beim Sichtbarwerden - der Vergleich springt so besser ins Auge. */
  width: 0;
  animation: grow 1.1s var(--ease) forwards;
  animation-delay: 0.15s;
}

.bar .bar-low { background: linear-gradient(90deg, #00e0a4, #00b884); }

@keyframes grow { to { width: var(--w); } }

/* --------------------------------------------------------------- Showcase */

.shot {
  margin: 36px 0 0;
  padding: 10px;
  border-radius: 20px;
  overflow: hidden;
}

.shot img { width: 100%; border-radius: 12px; display: block; }

/* ----------------------------------------------------------------- Ablauf */

.steps {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 18px;
  counter-reset: schritt;
}

.step {
  position: relative;
  border-radius: var(--radius);
  padding: 26px 24px 24px;
}

.step-no {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  margin-bottom: 14px;
  border-radius: 50%;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 21px;
  letter-spacing: 1px;
  color: #fff;
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--accent) 74%, white 16%),
    color-mix(in srgb, var(--accent) 92%, black 14%));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42), 0 6px 18px var(--accent-soft);
}

.step h3 { margin: 0 0 7px; font-size: 18.5px; font-weight: 700; }
.step p { margin: 0; color: var(--text-dim); font-size: 15.5px; }

/* -------------------------------------------------------------------- FAQ */

.faq { margin-top: 32px; display: grid; gap: 11px; }

.faq details {
  border-radius: 14px;
  padding: 0 20px;
  overflow: hidden;
}

.faq summary {
  padding: 17px 0;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq summary::-webkit-details-marker { display: none; }

/* Plus, das sich beim Öffnen zum Minus dreht */
.faq summary::after {
  content: '';
  flex: 0 0 auto;
  width: 14px; height: 14px;
  background:
    linear-gradient(currentColor, currentColor) center/14px 2px no-repeat,
    linear-gradient(currentColor, currentColor) center/2px 14px no-repeat;
  color: var(--text-faint);
  transition: transform 0.25s var(--ease);
}

.faq details[open] summary::after { transform: rotate(135deg); }

.faq p { margin: 0 0 18px; color: var(--text-dim); font-size: 15.5px; max-width: 72ch; }

/* ------------------------------------------------------------ Abschnittskopf */

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

/* ---------------------------------------------------------------- Galerie */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.gallery-note { grid-column: 1 / -1; color: var(--text-faint); }

.tile {
  border-radius: 13px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.035);
  transition: transform 0.2s var(--ease), border-color 0.2s, box-shadow 0.2s;
}

.tile:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.tile-img {
  aspect-ratio: 16 / 9;
  background: rgba(0, 0, 0, 0.35) center/cover;
  display: grid;
  place-items: center;
  font-size: 12px;
  color: var(--text-faint);
}

.tile-meta { padding: 10px 12px; }
.tile-name { font-weight: 700; font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tile-author { font-size: 12.5px; color: var(--text-faint); }

/* ----------------------------------------------------------------- Preise */

/* Der Preisabschnitt schließt eng an die FAQ an - beide gehören zur
   Kaufentscheidung, deshalb kein voller Abstand dazwischen. */
.section-preise { padding-bottom: clamp(28px, 4vw, 44px); }
.section-letzte { padding-bottom: clamp(60px, 9vw, 110px); }

.preis-karten {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(272px, 1fr));
  gap: 18px;
  margin-top: 40px;
}

/* Ein einzelnes Angebot zieht sich nicht über die ganze Breite - eine
   Karte in Lesebreite wirkt wie ein Angebot, ein Balken wie ein Banner. */
.preis-karten.einzeln {
  grid-template-columns: minmax(0, 430px);
  justify-content: center;
}

.preis-karten.einzeln .preis-fuer { min-height: 0; }

.preis-karte {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  padding: 28px 26px 26px;
  transition: transform 0.22s var(--ease), box-shadow 0.22s, border-color 0.22s;
}

.preis-karte:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 20px 46px rgba(0, 0, 0, 0.42);
}

/* Die empfohlene Karte hebt sich über Farbe und Schein ab, nicht über
   Größe - sonst springt das Raster beim Umbruch. */
.preis-karte.hervor {
  border-color: color-mix(in srgb, var(--accent) 55%, transparent);
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--accent) 22%, rgba(255, 255, 255, 0.10)) 0%,
    rgba(255, 255, 255, 0.04) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -1px 1px rgba(0, 0, 0, 0.2),
    0 14px 44px rgba(0, 0, 0, 0.38),
    0 10px 44px var(--accent-soft);
}

.preis-karte.hervor:hover {
  border-color: color-mix(in srgb, var(--accent) 70%, white 10%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.36),
    0 22px 54px rgba(0, 0, 0, 0.45),
    0 14px 54px var(--accent-soft);
}

.preis-badge {
  position: absolute;
  top: -13px;
  left: 26px;
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 13px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--accent) 74%, white 16%),
    color-mix(in srgb, var(--accent) 92%, black 14%));
  border: 1px solid color-mix(in srgb, var(--accent) 58%, white 25%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42), 0 6px 18px var(--accent-soft);
}

.preis-name {
  margin: 0;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 27px;
  letter-spacing: 1.4px;
  line-height: 1.1;
}

/* Feste Mindesthöhe, damit die Preiszeile über alle drei Karten hinweg auf
   derselben Linie sitzt - auch wenn eine Beschreibung kürzer ausfällt. */
.preis-fuer {
  margin: 4px 0 0;
  min-height: 46px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-faint);
}

.preis-wert {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin: 16px 0 0;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.preis-wert b {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(38px, 4.5vw, 46px);
  letter-spacing: 1.5px;
  line-height: 1;
  background: linear-gradient(180deg, #ffffff 0%, color-mix(in srgb, var(--accent) 45%, white) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.preis-wert span { font-size: 14px; font-weight: 600; color: var(--text-faint); }

.preis-liste {
  list-style: none;
  margin: 20px 0 26px;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: 15px;
  color: var(--text-dim);
}

.preis-liste li { display: flex; align-items: flex-start; gap: 11px; }
.preis-liste b { color: var(--text); font-weight: 700; }

/* Schiebt den Knopf ans untere Ende - so stehen sie über alle Karten
   hinweg auf einer Linie, egal wie lang die Liste darüber ist. */
.preis-btn { margin-top: auto; width: 100%; }

/* Gilt für jede Karte, steht deshalb einmal darunter statt dreimal darin. */
.preis-fakten {
  list-style: none;
  margin: 22px 0 0;
  padding: 20px 24px;
  border-radius: 16px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px 26px;
}

.preis-fakten li { display: grid; gap: 2px; }
.preis-fakten span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: var(--text-faint);
}
.preis-fakten b { font-size: 15px; font-weight: 700; }

.preis-hinweis {
  margin: 16px 0 0;
  text-align: center;
  font-size: 14.5px;
  color: var(--text-faint);
}

/* ----------------------------------------------------------------- Fusszeile */

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 36px clamp(16px, 4vw, 40px) 48px;
  text-align: center;
  color: var(--text-faint);
}

.footer-logo { display: inline-flex; align-items: baseline; line-height: 1; margin-bottom: 6px; }
.footer-logo .logo-unity { font-size: 26px; }
.footer-logo .logo-engine { font-size: 23px; margin-left: -17px; }

.footer p { margin: 4px 0; font-size: 14.5px; }
.footer-small { font-size: 13px; opacity: 0.7; }

/* -------------------------------------------------------------- Schmale Anzeige */

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .preview { transform: none; order: -1; }
  .preview:hover { transform: none; }
  .topnav { display: none; }
}

@media (max-width: 560px) {
  .topbar { flex-wrap: wrap; }
  .preis-karte { padding: 26px 20px 22px; }
  .preis-fuer { min-height: 0; }
  .preis-fakten { padding: 18px 20px; }
}

/* ------------------------------------------------------------ Einblenden */
/* Als Klasse statt als Stil am Element: eine eingeblendete Karte behält so
   ihren eigenen transform - sonst überschriebe der Start-Stil jeden
   Hover-Effekt, weil er direkt am Element klebt. */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s var(--ease);
}

.reveal.sichtbar { opacity: 1; transform: none; }

/* Wer ruhige Oberflächen bevorzugt, bekommt keine Bewegung. */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .preview { transform: none; }
}
