/* =========================================
   nitee – Style
   ========================================= */

/* Tokens, mirrored from the app's src/theme/tokens.ts */
:root {
  --bg: #0E0E10;
  --surface: #161619;
  --elevated: #1E1E22;
  --pressed: #26262B;
  --border: #2A2A30;
  --border-strong: #3A3A42;
  --text: #EDEDED;
  --text-2: #A1A1AA;
  --text-3: #6B6B73;
  --accent: #4C1D95;
  --accent-pressed: #D9466A;
  --on-accent: #FFFFFF;
  --success: #34D399;
  --r: 16px;
  --shell: 1100px;
}


/* =========================================
   Base
   ========================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scrollbar-gutter: stable;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 24px;
}


/* =========================================
   Buttons
   ========================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  height: 52px;
  padding: 0 28px;

  border-radius: 999px;
  border: 0;

  font: 600 16px/1 inherit;
  font-family: inherit;

  cursor: pointer;
  white-space: nowrap;

  transition:
    transform 80ms ease-out,
    background-color 140ms ease-out;
}

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

.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
}

.btn-primary:hover {
  background: var(--accent-pressed);
  text-decoration: none;
}

.btn-quiet {
  background: var(--elevated);
  color: var(--text);
}

.btn-quiet:hover {
  background: var(--pressed);
  text-decoration: none;
}

.btn:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}


/* =========================================
   Header
   ========================================= */

header {
  padding: 20px 0;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  color: var(--text);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.3px;

  flex-shrink: 0;
}

.brand:hover {
  text-decoration: none;
}

.brand svg {
  display: block;
  height: 36px;
  width: auto;
  max-width: 100%;
}

nav {
  display: flex;
  align-items: center;
  gap: 24px;
  min-width: 0;
}

nav a {
  color: var(--text-2);
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
}

nav a:hover {
  color: var(--text);
  text-decoration: none;
}


/* =========================================
   Hero
   ========================================= */

.hero {
  display: flex;
  align-items: flex-start;
  gap: 48px;
  padding: 56px 0 72px;
}

.hero-copy {
  flex: 1;
  min-width: 0;
  padding-top: 70px;
}

h1 {
  font-size: clamp(38px, 6vw, 60px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -1px;
  text-wrap: balance;
}

.hero-sub {
  margin-top: 20px;
  font-size: 19px;
  color: var(--text-2);
  max-width: 34em;
}

.hero-ctas {
  margin-top: 32px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-hint {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-3);
}

.hero-phone-wrap {
  flex-shrink: 0;
}


/* =========================================
   Phone frames
   ========================================= */

.phone {
  position: relative;
  width: 300px;

  border-radius: 36px;
  border: 1px solid var(--border-strong);

  background: #000;
  padding: 10px;

  box-shadow: 8px 8px 0 0 #000;

  flex-shrink: 0;
}

.phone-screen {
  display: block;
  position: relative;
  overflow: hidden;

  border-radius: 27px;
  aspect-ratio: 390 / 844;

  background: var(--surface);
}

.phone-screen img {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  display: block;
  object-fit: cover;
}


/* =========================================
   Demo stamp
   ========================================= */

.stamp {
  position: absolute;
  top: 22px;
  right: -10px;
  z-index: 2;

  transform: rotate(-2.5deg);

  background: var(--success);
  color: #06281C;

  font-size: 11px;
  font-weight: 700;

  padding: 5px 10px;
  border-radius: 999px;

  box-shadow: 3px 3px 0 0 #000;
}


/* =========================================
   Interactive hero phone
   ========================================= */

.phone-tap {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.phone-tap:active .phone-screen {
  transform: scale(0.985);
}

.phone-tap .phone-screen {
  transition: transform 80ms ease-out;
}

.phone-tap img {
  transition:
    transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 200ms ease-out;
}

.phone-tap img.leaving {
  transform: translateY(-24px);
  opacity: 0;
}

.phone-tap img.entering {
  transform: translateY(24px);
  opacity: 0;
  transition: none;
}

.dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 16px 0 2px;
}

.dots i {
  width: 6px;
  height: 6px;

  border-radius: 999px;
  background: var(--border-strong);

  transition: background-color 140ms ease-out;
}

.dots i.on {
  background: var(--text);
}


/* =========================================
   General sections
   ========================================= */

section {
  padding: 56px 0;
}

.section-kicker {
  color: var(--accent);
  font-weight: 700;
  font-size: 20px;
}

h2 {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.6px;
  margin-top: 8px;
  text-wrap: balance;
}

.section-sub {
  margin-top: 12px;
  color: var(--text-2);
  max-width: 42em;
}


/* =========================================
   Product
   ========================================= */

.trio {
  display: flex;
  gap: 32px;
  margin-top: 44px;
  justify-content: space-between;
}

.trio-item {
  flex: 1;
  min-width: 0;

  display: flex;
  flex-direction: column;
  align-items: center;
}

.trio-item .phone {
  width: 100%;
  max-width: 280px;
}

.trio-item h3 {
  margin-top: 22px;
  font-size: 20px;
  font-weight: 700;
}

.trio-item p {
  margin-top: 6px;
  color: var(--text-2);
  font-size: 15px;
  text-align: center;
  max-width: 28em;
}


/* =========================================
   Veranstalter
   ========================================= */

.org-list {
  margin-top: 36px;
  border-radius: var(--r);
  background: var(--surface);
  overflow: hidden;
}

.org-row {
  display: flex;
  gap: 20px;
  padding: 24px 28px;
  align-items: flex-start;
}

.org-row + .org-row {
  border-top: 1px solid var(--border);
}

.org-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;

  border-radius: 12px;
  background: var(--elevated);

  display: flex;
  align-items: center;
  justify-content: center;

  color: var(--text);
}

.org-icon svg {
  width: 22px;
  height: 22px;
}

.org-body {
  min-width: 0;
}

.org-body h3 {
  font-size: 17px;
  font-weight: 700;
}

.org-body p {
  margin-top: 4px;
  color: var(--text-2);
  font-size: 15px;
}

.org-cta {
  margin-top: 28px;

  display: flex;
  align-items: center;

  gap: 16px;
  flex-wrap: wrap;
}

.org-cta span {
  color: var(--text-3);
  font-size: 14px;
}


/* =========================================
   Die Idee
   ========================================= */

.invest {
  border-top: 1px solid var(--border);
}

.invest-cols {
  display: flex;
  gap: 48px;
  margin-top: 32px;
}

.invest-col {
  flex: 1;
  min-width: 0;
}

.invest-col h3 {
  font-size: 17px;
  font-weight: 700;
}

.invest-col p {
  margin-top: 8px;
  color: var(--text-2);
  font-size: 15px;
}

.invest-note {
  margin-top: 36px;
  padding: 24px 28px;

  border-radius: var(--r);
  background: var(--surface);

  display: flex;
  align-items: center;
  justify-content: flex-start;

  gap: 24px;
  flex-wrap: wrap;
}

.invest-note p {
  color: var(--text-2);
  font-size: 15px;
  max-width: 36em;
}


/* =========================================
   Demo button
   ========================================= */

.demo-logo {
  height: 90px;
  padding: 0 24px;

  border-radius: 22px;

  background: #0E0E10;
  border: 1px solid #0E0E10;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 16px;

  flex-shrink: 0;

  text-decoration: none;
  color: var(--text);

  font-size: 16px;
  font-weight: 600;
}

.demo-logo:hover {
  background: #D9466A;
  border-color: #D9466A;
  text-decoration: none;
}

.demo-logo svg {
  width: 65px;
  height: auto;
  display: block;
}


/* =========================================
   Footer
   ========================================= */

footer {
  border-top: 1px solid var(--border);
  padding: 36px 0 48px;
  margin-top: 40px;
}

.foot-row {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 16px;
  flex-wrap: wrap;
}

.foot-row p {
  color: var(--text-3);
  font-size: 13px;
}

.foot-row a {
  color: var(--text-2);
  font-size: 13px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.footer-brand:hover {
  text-decoration: none;
}

.footer-brand svg {
  display: block;
  height: 34px;
  width: auto;
}


/* =========================================
   Document / legal pages
   ========================================= */

.doc {
  padding: 56px 0 72px;
  max-width: 68ch;
}

.doc h1 {
  font-size: clamp(28px, 4vw, 36px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.doc p {
  margin-top: 16px;
  color: var(--text-2);
}

.doc ul {
  margin: 28px 0 0 20px;
}

.doc li {
  color: var(--text-2);
  margin-top: 10px;
  line-height: 1.5;
}


/* =========================================
   Tablet
   ========================================= */

@media (max-width: 900px) {

  .hero {
    flex-direction: column;
    padding: 32px 0 48px;
  }

  .hero-phone-wrap {
    order: 2;
  }

  .trio {
    flex-direction: column;
    align-items: center;
    gap: 48px;
  }

  .invest-cols {
    flex-direction: column;
    gap: 28px;
  }
}


/* =========================================
   Mobile
   ========================================= */

/* =========================================
   Mobile
   ========================================= */

@media (max-width: 768px) {

  /* Gesamter Seitenabstand */
  .shell {
    width: 100%;
    padding-left: 24px;
    padding-right: 24px;
  }


  /* =========================================
     Header
     ========================================= */

  header {
    padding: 18px 0;
  }

  .header-row {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 16px;
  }

  .brand {
    max-width: 100%;
  }

  .brand svg {
    display: block;
    height: 48px;
    width: auto;
    max-width: 100%;
  }

  nav {
    width: 100%;

    display: flex;
    align-items: center;

    gap: 20px;
    flex-wrap: wrap;
  }

  nav a {
    font-size: 14px;
  }


  /* =========================================
     Hero
     ========================================= */

  .hero {
    width: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 40px;

    padding-top: 32px;
    padding-bottom: 48px;
  }

  .hero-copy {
    width: 100%;
    max-width: 100%;

    flex: none;

    padding-top: 0;
  }

  .hero-copy h1 {
    width: 100%;
    max-width: 100%;

    font-size: 40px;
    line-height: 1.05;
    letter-spacing: -0.8px;
  }

  .hero-sub {
    width: 100%;
    max-width: 100%;

    margin-top: 18px;

    padding: 0;

    font-size: 17px;
    line-height: 1.55;

    color: var(--text-2);
  }


  /* =========================================
     Hero Buttons
     ========================================= */

  .hero-ctas {
    width: 100%;

    margin-top: 28px;

    display: flex;
    flex-direction: column;
    align-items: stretch;

    gap: 12px;
  }

  .hero-ctas .btn {
    width: 100%;
    max-width: none;

    margin: 0;
  }

  .hero-hint {
    width: 100%;

    margin-top: 16px;

    font-size: 13px;
  }


  /* =========================================
     Hero Phone
     ========================================= */

  .hero-phone-wrap {
    width: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;

    flex-shrink: 1;
  }

  .hero-phone-wrap .phone {
    width: min(280px, 100%);
    max-width: 100%;
  }


  /* =========================================
     Sections
     ========================================= */

  section {
    padding: 48px 0;
  }

  .section-kicker {
    font-size: 18px;
  }

  h2 {
    font-size: 32px;
  }

  .section-sub {
    max-width: 100%;
  }


  /* =========================================
     Product
     ========================================= */

  .trio {
    width: 100%;

    margin-top: 36px;

    flex-direction: column;
    align-items: center;

    gap: 48px;
  }

  .trio-item {
    width: 100%;
    max-width: 100%;
  }

  .trio-item .phone {
    width: min(270px, 100%);
    max-width: 100%;
  }


  /* =========================================
     Veranstalter
     ========================================= */

  .org-list {
    width: 100%;

    margin-top: 28px;
  }

  .org-row {
    padding: 20px;

    gap: 16px;
  }

  .org-icon {
    width: 40px;
    height: 40px;
  }

  .org-icon svg {
    width: 20px;
    height: 20px;
  }

  .org-body {
    min-width: 0;
  }

  .org-cta {
    width: 100%;

    flex-direction: column;
    align-items: flex-start;

    gap: 12px;
  }

  .org-cta .btn {
    width: 100%;
    max-width: 360px;
  }


  /* =========================================
     Die Idee
     ========================================= */

  .invest-cols {
    width: 100%;

    flex-direction: column;

    gap: 28px;
  }

  .invest-col {
    width: 100%;
  }

  .invest-note {
    width: 100%;

    padding: 22px 20px;

    flex-direction: column;
    align-items: flex-start;

    gap: 18px;
  }

  .invest-note p {
    width: 100%;
    max-width: none;
  }


  /* =========================================
     Demo Button
     ========================================= */

  .demo-logo {
    width: 100%;
    max-width: 320px;

    height: 76px;

    justify-content: center;
  }

  .demo-logo svg {
    width: 54px;
    height: auto;
  }


  /* =========================================
     Footer
     ========================================= */

  footer {
    padding: 32px 0 40px;
    margin-top: 24px;
  }

  .foot-row {
    width: 100%;

    flex-direction: column;
    align-items: flex-start;

    gap: 16px;
  }

  .footer-brand svg {
    height: 32px;
    width: auto;
    max-width: 100%;
  }
}
/* =========================================
   Very small phones
   ========================================= */

@media (max-width: 380px) {

  .shell {
    padding-left: 16px;
    padding-right: 16px;
  }

  .brand svg {
    height: 30px;
    max-width: 135px;
  }

  nav {
    gap: 10px;
  }

  nav a {
    font-size: 11px;
  }

  .hero {
    padding-top: 30px;
  }

  .hero-copy h1 {
    font-size: 35px;
    max-width: 330px;
  }

  .hero-sub {
    font-size: 16px;
    max-width: 320px;
    padding-right: 0;
  }

  .hero-phone-wrap .phone {
    width: min(260px, 78vw);
  }

  .trio-item .phone {
    width: min(250px, 78vw);
  }

  .org-row {
    padding: 18px 16px;
  }
}

/* =========================================
   Reduced motion
   ========================================= */

@media (prefers-reduced-motion: reduce) {

  .btn,
  .phone-tap .phone-screen,
  .phone-tap img,
  .dots i {
    transition: none;
  }
}