@font-face {
  font-family: "Baloo 2";
  src: url("assets/Baloo2.ttf") format("truetype");
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("assets/Nunito.ttf") format("truetype");
  font-weight: 200 1000;
  font-display: swap;
}

:root {
  --primary: #ff5c7a;
  --secondary: #3ec9c0;
  --tertiary: #ffc738;
  --purple: #8c6bff;
  --green: #4cd97b;
  --bg: #fff8f0;
  --surface: #ffffff;
  --text: #2a1e2f;
  --text-2: #7a6e7f;
  --line: rgba(42, 30, 47, 0.1);
  --shadow: 0 18px 50px -20px rgba(140, 107, 255, 0.35);
  --gradient: linear-gradient(135deg, var(--primary), var(--purple));
  --radius: 28px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1d1720;
    --surface: #2a2230;
    --text: #fcf7ff;
    --text-2: #c3b6c7;
    --line: rgba(252, 247, 255, 0.12);
    --shadow: 0 18px 50px -20px rgba(0, 0, 0, 0.7);
  }
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Nunito", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
.btn,
.brand {
  font-family: "Baloo 2", "Nunito", sans-serif;
  line-height: 1.1;
  margin: 0;
}
a {
  color: inherit;
}
img,
svg {
  max-width: 100%;
  display: block;
}
.wrap {
  width: min(1120px, 100% - 32px);
  margin-inline: auto;
}
.grad-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Header */
header.top {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid var(--line);
}
header.top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 800;
  text-decoration: none;
}
.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}
nav.links {
  display: flex;
  gap: 22px;
  font-weight: 700;
  font-size: 0.95rem;
}
nav.links a {
  text-decoration: none;
  color: var(--text-2);
}
nav.links a:hover {
  color: var(--primary);
}

/* Mobile-Menü (details/summary, ohne Framework) */
.menu {
  display: none;
  position: relative;
}
.menu summary {
  list-style: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: grid;
  place-content: center;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.menu summary::-webkit-details-marker {
  display: none;
}
.menu .bars,
.menu .bars::before,
.menu .bars::after {
  display: block;
  width: 20px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.2s ease;
}
.menu .bars {
  position: relative;
}
.menu .bars::before,
.menu .bars::after {
  content: "";
  position: absolute;
  left: 0;
}
.menu .bars::before {
  top: -6px;
}
.menu .bars::after {
  top: 6px;
}
.menu[open] .bars {
  background: transparent;
}
.menu[open] .bars::before {
  transform: translateY(6px) rotate(45deg);
}
.menu[open] .bars::after {
  transform: translateY(-6px) rotate(-45deg);
}
.menu .panel {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  width: min(280px, calc(100vw - 32px));
  display: grid;
  gap: 4px;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.menu .panel a:not(.btn) {
  padding: 12px 14px;
  border-radius: 14px;
  font-weight: 800;
  text-decoration: none;
}
.menu .panel a:not(.btn):hover {
  background: var(--bg);
}
.menu .panel .btn {
  margin-top: 6px;
  justify-content: center;
}
@media (max-width: 720px) {
  nav.links {
    display: none;
  }
  .menu {
    display: block;
  }
  .btn.head-cta {
    display: none;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn.primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 12px 28px -10px var(--primary);
}
.btn.ghost {
  border-color: var(--line);
  background: var(--surface);
}
.btn.small {
  padding: 8px 20px;
  font-size: 1rem;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 96px;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.35;
  z-index: -1;
}
.blob.b1 {
  width: 420px;
  height: 420px;
  background: var(--primary);
  top: -120px;
  left: -120px;
}
.blob.b2 {
  width: 380px;
  height: 380px;
  background: var(--secondary);
  bottom: -100px;
  right: 8%;
}
.blob.b3 {
  width: 260px;
  height: 260px;
  background: var(--tertiary);
  top: 30%;
  right: -80px;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.pill {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2.6rem, 6.2vw, 4.6rem);
  font-weight: 800;
  letter-spacing: -0.01em;
}
.hero p.lead {
  font-size: 1.3rem;
  color: var(--text-2);
  max-width: 34ch;
  margin: 22px 0 32px;
}
.hero .cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero .fine {
  margin-top: 18px;
  font-size: 0.9rem;
  color: var(--text-2);
}
@media (max-width: 860px) {
  .hero .wrap {
    grid-template-columns: 1fr;
  }
  .hero {
    padding-top: 40px;
  }
}

/* Phone-Rahmen für echte Screenshots */
.phone {
  width: min(300px, 100%);
  margin-inline: auto;
  background: var(--text);
  border-radius: 44px;
  border: 8px solid var(--text);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.phone img {
  width: 100%;
  height: auto;
  border-radius: 34px;
}
.hero .phone {
  transform: rotate(3deg);
}
.shots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.shots figure {
  margin: 0;
  text-align: center;
}
.shots figcaption {
  margin-top: 16px;
  color: var(--text-2);
  font-size: 0.98rem;
}
.shots figcaption b {
  display: block;
  font-family: "Baloo 2", sans-serif;
  font-size: 1.25rem;
  color: var(--text);
}
@media (max-width: 980px) {
  .shots {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 520px) {
  .shots {
    grid-template-columns: 1fr;
  }
}

/* Marquee-Chips */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding: 0 0 8px;
}
.chips span {
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.95rem;
  color: #2a1e2f;
}

/* Sections */
section {
  padding: 88px 0;
}
.eyebrow {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  color: var(--primary);
  margin-bottom: 10px;
}
h2 {
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.01em;
}
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 52px;
}
.section-head p {
  color: var(--text-2);
  font-size: 1.15rem;
  margin: 16px 0 0;
}

/* Feature-Highlight (Foto) */
.spotlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: var(--gradient);
  color: #fff;
  border-radius: 40px;
  padding: 56px;
  box-shadow: var(--shadow);
}
.spotlight p {
  font-size: 1.2rem;
  opacity: 0.95;
}
.spotlight ul {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 10px;
  font-weight: 800;
}
.spotlight li::before {
  content: "✓ ";
  color: var(--tertiary);
}
.snap {
  background: rgba(255, 255, 255, 0.16);
  border-radius: 32px;
  padding: 28px;
  text-align: center;
  backdrop-filter: blur(6px);
}
.snap .plate {
  font-size: 6rem;
  line-height: 1;
}
.snap .res {
  margin-top: 16px;
  background: var(--surface);
  color: var(--text);
  border-radius: 20px;
  padding: 14px 18px;
  text-align: left;
}
.snap .res b {
  font-family: "Baloo 2", sans-serif;
  font-size: 1.5rem;
}
.snap .res small {
  color: var(--text-2);
  font-weight: 700;
  display: block;
}
@media (max-width: 860px) {
  .spotlight {
    grid-template-columns: 1fr;
    padding: 32px 24px;
  }
}

/* Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.card .ico {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-content: center;
  font-size: 1.7rem;
  margin-bottom: 18px;
}
.card h3 {
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.card p {
  margin: 0;
  color: var(--text-2);
}

/* Transparenz / Formel */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.split p {
  color: var(--text-2);
  font-size: 1.15rem;
}
.formula {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  font-weight: 700;
}
.formula .row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
}
.formula .row:last-child {
  border: 0;
}
.formula .row span:last-child {
  font-family: "Baloo 2", sans-serif;
  font-size: 1.2rem;
}
.formula .total {
  margin-top: 8px;
  padding: 14px 18px;
  border-radius: 18px;
  background: var(--gradient);
  color: #fff;
  display: flex;
  justify-content: space-between;
  font-family: "Baloo 2", sans-serif;
  font-size: 1.3rem;
}
@media (max-width: 860px) {
  .split {
    grid-template-columns: 1fr;
  }
}

/* Schritte */
.steps {
  counter-reset: s;
}
.steps .card::before {
  counter-increment: s;
  content: counter(s);
  display: grid;
  place-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  margin-bottom: 16px;
}

/* Datenschutz-Band */
.trust {
  background: var(--surface);
  border-block: 1px solid var(--line);
}
.trust .grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}
.trust .item {
  text-align: center;
}
.trust .item .ico {
  font-size: 2.2rem;
}
.trust .item b {
  display: block;
  font-family: "Baloo 2", sans-serif;
  font-size: 1.25rem;
  margin: 6px 0 4px;
}
.trust .item span {
  color: var(--text-2);
  font-size: 0.98rem;
}

/* Über */
.about {
  display: flex;
  gap: 28px;
  align-items: center;
  max-width: 760px;
  margin-inline: auto;
}
.about img {
  width: 96px;
  height: 96px;
  border-radius: 28px;
  flex: none;
  box-shadow: var(--shadow);
}
.about p {
  margin: 8px 0 0;
  color: var(--text-2);
}
@media (max-width: 600px) {
  .about {
    flex-direction: column;
    text-align: center;
  }
}

/* Schluss-CTA */
.final {
  text-align: center;
  background: var(--gradient);
  color: #fff;
  border-radius: 40px;
  padding: 72px 24px;
  box-shadow: var(--shadow);
}
.final p {
  font-size: 1.25rem;
  opacity: 0.95;
  margin: 16px auto 32px;
  max-width: 44ch;
}
.final .btn {
  background: #fff;
  color: #2a1e2f;
}

footer {
  padding: 40px 0 56px;
  color: var(--text-2);
  font-size: 0.95rem;
}
footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: space-between;
}
footer nav {
  display: flex;
  gap: 22px;
}

/* Rechtsseiten */
.legal {
  max-width: 760px;
  padding: 56px 0 24px;
}
.legal h1 {
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 24px;
}
.legal h2 {
  font-size: 1.5rem;
  margin: 32px 0 8px;
}
.legal p {
  margin: 0 0 12px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .hero .phone {
    transform: none;
  }
}

/* "Bald im App Store": sieht aus wie ein Knopf, ist bis zum Release aber
   bewusst kein Link. */
.btn.soon,
.btn.soon:hover {
  cursor: default;
  transform: none;
}
