:root {
  --bg: #000b1e;
  --magenta: #c730d1;
  --magenta-50: #dd80e3;
  --magenta-25: #eebff2;
  --gold: #c8a45f;
  --white: #ffffff;
  --text-dim: rgba(255,255,255,.74);
  --text-faint: rgba(255,255,255,.42);
  --line: rgba(199,48,209,.22);
  --line-soft: rgba(255,255,255,.07);
  --panel: rgba(255,255,255,.028);
  --bg-medium: #141f38;
  --bg-dark: #0e182b;
  --discord: #5865F2;
  --serif: 'Open Sauce One','Segoe UI',Tahoma,sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; overflow-x: hidden; scroll-behavior: smooth; }

body {
  font-family: var(--serif);
  font-weight: 300;
  letter-spacing: .012em;
  background:
    radial-gradient(1400px 1100px at 85% -5%, rgba(199,48,209,.22), transparent 65%),
    radial-gradient(1000px 850px at -5% 12%, rgba(199,48,209,.10), transparent 65%),
    radial-gradient(1150px 1000px at 105% 25%, rgba(199,48,209,.12), transparent 65%),
    radial-gradient(1150px 1000px at -5% 45%, rgba(199,48,209,.12), transparent 65%),
    radial-gradient(1050px 900px at 110% 60%, rgba(199,48,209,.10), transparent 65%),
    radial-gradient(1200px 1050px at -10% 78%, rgba(199,48,209,.12), transparent 65%),
    radial-gradient(1300px 1100px at 105% 95%, rgba(199,48,209,.14), transparent 65%),
    var(--bg);
  color: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.accent { color: var(--magenta); }

/* === HEADER === */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0,11,30,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  height: 80px;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}

.nav-logo {
  height: 34px;
  width: auto;
  filter: drop-shadow(0 0 8px rgba(199,48,209,.4));
}

.wordmark {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: .02em;
  color: var(--white);
}

.wordmark b { color: var(--magenta); }

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-weight: 400;
  font-size: .88rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: color .2s;
}

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

/* === HERO === */
.hero {
  padding: 7rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "top  images"
    "btns btns";
  column-gap: 3rem;
  row-gap: 3rem;
  align-items: center;
}

.hero-text-top              { grid-area: top; }
.hero-inner > picture       { grid-area: images; align-self: center; }
.hero-inner > .button-group { grid-area: btns; }

.hero-images {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  filter: drop-shadow(0 0 60px rgba(199,48,209,.35));
}

.hero-images img {
  height: auto;
  display: block;
}

.hero-img-core {
  width: clamp(220px, 23vw, 320px);
  --float-base: -22px;
  --float-peak: -34px;
  animation: float-offset 6s ease-in-out infinite;
  position: relative;
  z-index: 1;
}

.hero-img-app {
  width: clamp(180px, 18vw, 250px);
  --float-base: 22px;
  --float-peak: 10px;
  animation: float-offset 6s ease-in-out infinite -3s;
  margin-left: clamp(-56px, -3vw, -36px);
  position: relative;
  z-index: 2;
}

@keyframes float-offset {
  0%, 100% { transform: translateY(var(--float-base)); }
  50%       { transform: translateY(var(--float-peak)); }
}

.hero-kicker {
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.hero h1 {
  font-weight: 700;
  font-size: clamp(36px, 6vw, 60px);
  line-height: 1.04;
  letter-spacing: .01em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.hero-subtitle {
  font-weight: 400;
  font-size: 18px;
  color: var(--magenta-50);
  letter-spacing: .02em;
  margin-bottom: 16px;
}

.hero-lede {
  font-weight: 300;
  font-size: 15.5px;
  color: var(--text-dim);
  max-width: 62ch;
  margin-bottom: 28px;
}

.hero-lede strong { color: var(--white); font-weight: 400; }

/* === BUTTONS === */
.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2rem;
  font-family: var(--serif);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  transition: all .25s;
}

.btn-primary {
  background: var(--magenta);
  color: var(--white);
  border-color: var(--magenta);
}

.btn-primary:hover {
  background: transparent;
  color: var(--magenta);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(199,48,209,.3);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.2);
}

.btn-outline:hover {
  border-color: var(--magenta);
  color: var(--magenta);
  transform: translateY(-2px);
}

.btn-discord {
  background: var(--discord);
  color: var(--white);
  border-color: var(--discord);
}

.btn-discord:hover {
  background: transparent;
  color: var(--discord);
  transform: translateY(-2px);
}

.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* === LAYOUT HELPERS === */
.section { padding: 5rem 0; }

.section-label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  font-weight: 400;
  font-size: 11px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.section-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.section-title {
  font-weight: 700;
  font-size: clamp(28px, 4vw, 40px);
  text-transform: uppercase;
  letter-spacing: .01em;
  margin-bottom: 12px;
}

.section-intro {
  font-size: 15px;
  color: var(--text-dim);
  max-width: 60ch;
  margin-bottom: 2.5rem;
}

/* === DEMO SECTION === */
.demo-section {
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
}

.demo-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  position: relative;
  z-index: 1;
}


.demo-content h2 {
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .02em;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.demo-description {
  font-size: 15px;
  color: var(--text-dim);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.demo-features {
  display: flex;
  flex-direction: column;
  gap: .7rem;
  margin-bottom: 2rem;
}

.demo-feature {
  display: flex;
  align-items: center;
  gap: .8rem;
  font-size: 14.5px;
  color: var(--text-dim);
}

.demo-feature svg {
  width: 18px;
  height: 18px;
  stroke: var(--magenta);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}

.demo-note {
  margin-top: 1rem;
  font-size: .88rem;
  color: var(--text-faint);
}

.demo-app-img {
  display: block;
  width: 100%;
  max-width: 220px;
  margin: 0 auto;
  border-radius: 24px;

  transform: perspective(800px) rotateY(-8deg);
  transition: transform .3s;
}

.demo-app-img:hover { transform: perspective(800px) rotateY(0); }

/* === FEATURE CARDS === */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.card {
  position: relative;
  background: var(--panel);
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 22px 22px 24px;
  overflow: hidden;
  transition: border-color .3s, transform .3s;
}

.card:hover {
  border-color: var(--line);
  transform: translateY(-2px);
}

.card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.icon {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 30% 30%, rgba(199,48,209,.22), rgba(199,48,209,.07));
  border: 1px solid var(--line);
}

.icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--magenta);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card h3 {
  font-weight: 700;
  font-size: 15px;
  line-height: 1.28;
  margin-bottom: 8px;
  letter-spacing: .01em;
}

.card p {
  font-weight: 300;
  font-size: 13.5px;
  color: var(--text-dim);
  line-height: 1.5;
}

/* === ROADMAP CARD === */
.card.card-roadmap {
  border-style: dashed;
  border-color: rgba(200,164,95,.40);
  background: rgba(200,164,95,.035);
}

.card.card-roadmap:hover { border-color: rgba(200,164,95,.65); }

.card.card-roadmap .icon {
  background: radial-gradient(circle at 30% 30%, rgba(200,164,95,.22), rgba(200,164,95,.07));
  border-color: rgba(200,164,95,.40);
}

.card.card-roadmap .icon svg { stroke: var(--gold); }

.card-tag {
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(200,164,95,.45);
  border-radius: 6px;
  padding: 4px 8px;
  margin-left: auto;
  white-space: nowrap;
  line-height: 1;
}

.card p b { color: var(--white); font-weight: 400; }

/* === PRODUCT SECTION === */

.product-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.product-info > p {
  font-size: 14.5px;
  color: var(--text-dim);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.product-features {
  list-style: none;
  margin: 1.5rem 0 2rem;
}

.product-features li {
  padding: .8rem 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: .8rem;
  font-size: 14px;
  transition: color .2s, padding-left .2s;
}

.product-features li:hover { color: var(--white); padding-left: .4rem; }

.product-features li::before {
  content: '✓';
  color: var(--magenta);
  font-weight: 700;
  flex-shrink: 0;
}

.gallery-main {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 12px;
  background: var(--bg-dark);
  cursor: zoom-in;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  overflow: hidden;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .3s;
}

.gallery-main:hover img { transform: scale(1.04); }

.gallery-thumbnails {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: .5rem;
  margin-top: .75rem;
}

.gallery-thumb {
  aspect-ratio: 1;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  transition: all .25s;
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .35rem;
  overflow: hidden;
}

.gallery-thumb.active, .gallery-thumb:hover {
  border-color: var(--magenta);
  box-shadow: 0 0 8px rgba(199,48,209,.4);
}

.gallery-thumb img { width: 100%; height: 100%; object-fit: contain; }

.product-specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
  padding: 2rem;
  background: rgba(255,255,255,.02);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.spec-item { text-align: center; transition: transform .25s; }
.spec-item:hover { transform: translateY(-4px); }

.spec-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: radial-gradient(circle at 30% 30%, rgba(199,48,209,.22), rgba(199,48,209,.07));
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  margin: 0 auto 10px;
}

.spec-icon-wrap svg {
  width: 22px;
  height: 22px;
  stroke: var(--magenta);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.spec-item h4 {
  font-weight: 700;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 4px;
}

.spec-item p { font-size: 12px; color: var(--text-dim); }

/* === COMMUNITY === */

.community-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.community-card {
  background: var(--panel);
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 2rem;
  text-align: center;
  transition: all .3s;
}

.community-card.discord-card:hover { border-color: var(--discord); transform: translateY(-4px); box-shadow: 0 10px 32px rgba(88,101,242,.2); }
.community-card.wiki-card:hover { border-color: var(--magenta); transform: translateY(-4px); box-shadow: 0 10px 32px rgba(199,48,209,.2); }

.community-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin: 0 auto 1.2rem;
}

.community-card-icon svg { width: 28px; height: 28px; }
.discord-icon-wrap { background: rgba(88,101,242,.12); }
.wiki-icon-wrap { background: rgba(199,48,209,.10); }

.community-card h3 { font-weight: 700; font-size: 18px; margin-bottom: .75rem; }
.community-card > p { font-size: 13.5px; color: var(--text-dim); margin-bottom: 1.5rem; }

.community-features {
  text-align: left;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.community-feature { font-size: 13px; color: var(--text-dim); display: flex; align-items: center; gap: .5rem; }
.community-feature.discord-feature::before { content: '✓'; color: var(--discord); font-weight: 700; }
.community-feature.wiki-feature::before { content: '✓'; color: var(--magenta); font-weight: 700; }

/* === PARTNER === */
.partner-diagram {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 2.5rem;
}

.partner-card {
  flex: 1;
  background: var(--panel);
  border-radius: 16px;
  padding: 2rem 1.75rem;
  text-align: center;
}

.partner-role {
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--magenta);
  font-weight: 400;
  margin-bottom: .75rem;
}

.partner-name {
  font-size: 15px;
  color: var(--white);
  font-weight: 400;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.partner-card p {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.65;
}

.partner-connector {
  flex: none;
  display: flex;
  align-items: center;
  width: 120px;
  position: relative;
}

.connector-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line) 40%, var(--magenta-50) 100%);
}

.connector-line:last-child {
  background: linear-gradient(90deg, var(--magenta-50) 0%, var(--line) 60%, transparent);
}

.connector-node {
  flex: none;
  font-size: 9px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--magenta);
  border: 1px solid var(--magenta);
  border-radius: 20px;
  padding: 5px 10px;
  white-space: nowrap;
  background: rgba(199,48,209,.08);
  box-shadow: 0 0 12px rgba(199,48,209,.25);
}

.vertrieb-note {
  margin-top: 2.5rem;
  padding: 1.5rem 1.75rem;
  border: 1px dashed var(--line-soft);
  border-radius: 12px;
  background: rgba(255,255,255,.02);
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.vertrieb-label {
  flex: none;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--magenta-50);
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.vertrieb-note p {
  font-size: 13.5px;
  color: var(--text-dim);
  line-height: 1.55;
  margin: 0;
}

.vertrieb-note a {
  color: var(--magenta-50);
  text-decoration: none;
}

.vertrieb-note a:hover {
  color: var(--magenta);
  text-decoration: underline;
}

/* === FOOTER === */
footer {
  background: var(--bg-dark);
  padding: 3rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-section h3 {
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--magenta-50);
  margin-bottom: 1rem;
}

.footer-section p, .footer-section address {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.7;
  font-style: normal;
}

.footer-section a {
  color: var(--text-dim);
  text-decoration: none;
  display: block;
  font-size: 13px;
  padding: .2rem 0;
  transition: color .2s;
}

.footer-section a:hover { color: var(--magenta); }

.footer-bottom {
  border-top: 1px solid var(--line-soft);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem;
}

.footer-bottom p { font-size: 12px; color: var(--text-faint); }

/* === MODAL === */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,11,30,.95);
  z-index: 1000;
  backdrop-filter: blur(5px);
  padding: 1rem;
}

.modal-content {
  background: var(--bg-dark);
  border: 1px solid var(--line);
  border-radius: 14px;
  max-width: 680px;
  margin: 40px auto;
  padding: 2.5rem;
  max-height: calc(100vh - 80px);
  overflow-y: auto;
}

.modal-content h2 {
  color: var(--magenta);
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 1.5rem;
}

.modal-content p { font-size: 13px; color: var(--text-dim); line-height: 1.8; margin-bottom: .75rem; }
.modal-content strong { color: var(--white); font-weight: 400; }
.modal-content a { color: var(--magenta-50); text-decoration: none; }
.modal-content a:hover { text-decoration: underline; }

.close-button {
  margin-top: 1.5rem;
  padding: .7rem 1.8rem;
  background: var(--magenta);
  color: var(--white);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-family: var(--serif);
  font-weight: 700;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  transition: all .25s;
}

.close-button:hover { background: var(--magenta-50); transform: translateY(-2px); }

/* === LIGHTBOX === */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,11,30,.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 2000;
  cursor: zoom-out;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox-content {
  max-width: min(90vw, 860px);
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-image {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  filter: drop-shadow(0 8px 40px rgba(0,0,0,.6));
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0,0,0,.6);
  color: var(--white);
  font-size: 1.8rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 2001;
  transition: background .25s;
  line-height: 1;
}

.lightbox-close:hover { background: rgba(199,48,209,.5); }

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0,0,0,.5);
  border: 1px solid rgba(255,255,255,.15);
  color: var(--white);
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 2001;
  transition: background .2s, border-color .2s;
}

.lightbox-arrow svg { width: 22px; height: 22px; }
.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }
.lightbox-arrow:hover { background: rgba(199,48,209,.5); border-color: var(--magenta); }

/* === FLOW (So funktioniert) === */

.flow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 1.5rem;
}

.flow-step {
  background: var(--panel);
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 0;
  transition: border-color .3s, transform .3s;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.flow-step:hover {
  border-color: var(--line);
  transform: translateY(-2px);
}

.flow-step:hover .flow-img,
.flow-step:hover .device-tile {
  transform: translateY(-2px);
}

.flow-media {
  height: 230px;
  display: grid;
  place-items: center;
  padding: 16px;
  background:
    radial-gradient(circle at 50% 40%, rgba(199,48,209,.18), transparent 70%),
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0));
  position: relative;
  overflow: hidden;
}

.flow-img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 28px rgba(199,48,209,.30));
  transition: transform .3s;
}

.flow-img-phone { max-height: 200px; max-width: 110px; }
.flow-img-core { max-height: 190px; max-width: 190px; border-radius: 8px; }

.flow-devices {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  width: 100%;
  max-width: 170px;
}

.device-tile {
  aspect-ratio: 1;
  border-radius: 10px;
  background: rgba(199,48,209,.10);
  border: 1px solid var(--line);
  color: var(--magenta-50);
  display: grid;
  place-items: center;
  box-shadow: 0 4px 14px rgba(199,48,209,.15);
  transition: transform .3s;
}

.device-tile svg {
  width: 56%;
  height: 56%;
}

.flow-step-body {
  border-top: 1px solid var(--line);
  padding: 26px 24px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.flow-step-body .card-link-action {
  margin-top: auto;
  padding-top: 16px;
}

.flow-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.flow-head h3 {
  margin: 0;
  height: 30px;
  display: flex;
  align-items: center;
  line-height: 1;
}

.flow-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--magenta), var(--magenta-50));
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(199,48,209,.3);
}

.flow-step h3 {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .01em;
}

.flow-step p {
  font-weight: 300;
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.55;
}

/* === INTEGRATIONS === */

.integration-brands {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.brand-pill {
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--white);
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
  padding: 7px 12px;
  border-radius: 7px;
}

.card-link-action {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: 14px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--magenta);
  text-decoration: none;
  transition: color .2s;
}

.card-link-action:hover { color: var(--magenta-50); }

/* === TRUST (Aufbauer / Endkunden) === */

.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 1.5rem;
}

.trust-card {
  background: var(--panel);
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 28px 26px;
  transition: border-color .3s, transform .3s;
}

.trust-card:hover {
  border-color: var(--line);
  transform: translateY(-2px);
}

.trust-card .icon { margin-bottom: 16px; }

.trust-card h3 {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 10px;
}

.trust-card p {
  font-weight: 300;
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.55;
}

.trust-card strong {
  color: var(--white);
  font-weight: 400;
}

/* === REVEAL ANIMATION === */
.js .reveal {
  opacity: 0;
  transform: translateY(14px);
}

.js .reveal.is-visible {
  animation: rise .7s cubic-bezier(.2,.7,.2,1) forwards;
}

@keyframes rise { to { opacity: 1; transform: none; } }

/* === RESPONSIVE === */
@media (max-width: 860px) {
  .cards-grid,
  .product-content,
  .community-grid,
  .demo-banner,
  .flow-grid,
  .trust-grid { grid-template-columns: 1fr; }

  .flow-media { height: 190px; padding: 12px; }
  .flow-img-phone { max-height: 166px; max-width: 90px; }
  .flow-img-core { max-height: 160px; max-width: 160px; }
  .flow-devices { max-width: 150px; }

  .hero-inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "top"
      "images"
      "btns";
    row-gap: 1.75rem;
  }
  .hero-inner > .button-group { margin-top: 2.5rem; }
  .hero-lede { max-width: none; }
  .hero-images { justify-content: center; }
  .hero-img-core { width: clamp(200px, 32vw, 280px); --float-base: -18px; --float-peak: -30px; }
  .hero-img-app { width: clamp(165px, 26vw, 220px); --float-base: 18px; --float-peak: 6px; margin-left: clamp(-44px, -4vw, -32px); }

  .demo-visual { order: -1; }
  .demo-app-img { max-width: 260px; }
  .gallery-thumbnails { grid-template-columns: repeat(3, 1fr); }
  .partner-diagram { flex-direction: column; }
  .partner-connector { width: auto; height: 60px; flex-direction: column; }
  .connector-line { width: 1px; height: 100%; background: linear-gradient(180deg, transparent, var(--line) 40%, var(--magenta-50) 100%); flex: 1; }
  .connector-line:last-child { background: linear-gradient(180deg, var(--magenta-50) 0%, var(--line) 60%, transparent); }
}

@media (max-width: 600px) {
  .nav-links { display: none; }
  .hero { padding: 4rem 0 2rem; }
  .hero-img-core { width: clamp(180px, 42vw, 240px); --float-base: -14px; --float-peak: -26px; }
  .hero-img-app { width: clamp(150px, 34vw, 195px); --float-base: 14px; --float-peak: 2px; margin-left: clamp(-36px, -6vw, -26px); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .lightbox { padding-bottom: 5rem; }
  .lightbox-prev { top: auto; bottom: 1.5rem; left: calc(50% - 56px); transform: none; }
  .lightbox-next { top: auto; bottom: 1.5rem; right: calc(50% - 56px); transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .reveal.is-visible { animation: none; opacity: 1; transform: none; }
  .demo-app-img { transform: none !important; }
  .hero-img-core, .hero-img-app { animation: none; transform: translateY(var(--float-base)); }
}

@media print {
  header, .demo-section, .community-section, .partner-section, footer { display: none; }
  .js .reveal, .js .reveal.is-visible { animation: none; opacity: 1; transform: none; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
