:root {
  color-scheme: light dark;
  --blue: #4a5cf0;
  --violet: #7d4fd6;
  --pink: #e48bbd;
  --grad: linear-gradient(160deg, #3d4fe0 0%, #6a4fd8 45%, #a35fc9 75%, #e08cb9 100%);
  --grad-text: linear-gradient(90deg, #3d4fe0, #7d4fd6 55%, #c04f93);

  --bg: #f4f5fb;
  --bg-2: #ffffff;
  --card: #ffffff;
  --card-border: rgba(20, 24, 60, .08);
  --text: #11152e;
  --muted: #555a78;
  --accent: #4152e6;
  --shadow: 0 10px 30px rgba(20, 24, 70, .08);
  --radius: 22px;
  --max: 1120px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0f26;
    --bg-2: #10153a;
    --card: #161c45;
    --card-border: rgba(255, 255, 255, .08);
    --text: #f3f4ff;
    --muted: #a8acd0;
    --accent: #8f9bff;
    --shadow: 0 10px 30px rgba(0, 0, 0, .35);
    --grad-text: linear-gradient(90deg, #7f8cff, #b48cff 50%, #f2a2cf);
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body { overflow-x: clip; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); text-underline-offset: 2px; }

h1, h2, h3 {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
  line-height: 1.12;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
}

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

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--card); padding: 8px 12px; border-radius: 8px; }

.site-header {
  position: sticky; top: 0; z-index: 5;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--card-border);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 19px; letter-spacing: -.01em; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav { display: flex; gap: 4px; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15px; padding: 6px 10px; border-radius: 10px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: var(--card-border); }

.hero {
  background: var(--grad);
  color: #fff;
  overflow: hidden;
  position: relative;
}
.hero .wrap { display: grid; gap: 40px; padding-top: 56px; padding-bottom: 0; align-items: end; }
.hero-text { text-align: center; }
.hero-icon { width: 88px; height: 88px; border-radius: 22px; margin: 0 auto 22px; box-shadow: 0 12px 30px rgba(10, 10, 60, .35); }
.hero h1 { font-size: clamp(44px, 9vw, 76px); font-weight: 800; margin-bottom: .15em; }
.hero .subtitle { font-size: clamp(20px, 3.6vw, 28px); font-weight: 600; opacity: .95; margin: 0 0 14px; }
.hero .lead { font-size: 18px; max-width: 34em; margin: 0 auto 26px; opacity: .9; }
.platforms { font-size: 15px; opacity: .85; margin-top: 14px; }
.hero-phones { display: flex; justify-content: center; position: relative; }
.hero-phones .phone { width: min(76vw, 400px); margin-bottom: calc(min(76vw, 400px) * -0.95); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 200px; background: linear-gradient(to bottom, transparent, color-mix(in srgb, var(--bg) 70%, transparent) 60%, var(--bg)); pointer-events: none; }

@media (min-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr 1fr; padding-top: 80px; align-items: center; }
  .hero-text { text-align: left; padding-bottom: 60px; }
  .hero-icon { margin-left: 0; }
  .hero .lead { margin-left: 0; }
  .hero-phones { align-self: end; padding-top: 30px; }
  .hero-phones .phone { width: 400px; margin-bottom: -330px; }
}

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; border-radius: 14px;
  font-weight: 600; font-size: 17px; text-decoration: none;
  border: 0; cursor: default;
}
.btn-store { background: #000; color: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, .3); }
.btn-store svg { width: 22px; height: 22px; fill: currentColor; }
.btn-store small { display: block; font-size: 11px; font-weight: 500; opacity: .75; line-height: 1; }
.btn-store span { line-height: 1.15; text-align: left; }

.phone {
  border-radius: 13% / 6%;
  padding: 2.6%;
  background: #05070f;
  box-shadow: 0 30px 60px rgba(10, 10, 50, .45), inset 0 0 0 1.5px rgba(255, 255, 255, .14);
}
.phone img { border-radius: 11% / 5.1%; width: 100%; aspect-ratio: 1320 / 2868; object-fit: cover; }

section { padding: 80px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.eyebrow { display: inline-block; font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 10px; }
.section-head h2 { font-size: clamp(32px, 5.5vw, 48px); font-weight: 800; }
.section-head p { color: var(--muted); font-size: 18px; margin: 0; }

.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}

.zielgruppen { display: grid; gap: 20px; }
@media (min-width: 700px) { .zielgruppen { grid-template-columns: repeat(2, 1fr); } }
.zielgruppen h3 { font-size: 22px; font-weight: 750; margin-bottom: .35em; }
.zielgruppen p { color: var(--muted); margin: 0; font-size: 16px; }
.klarstellung { max-width: 46em; margin: 28px auto 0; text-align: center; color: var(--muted); font-size: 15px; }

.verlauf { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

.statement { text-align: center; padding: 110px 0 40px; }
.statement h2 { font-size: clamp(38px, 7.5vw, 80px); font-weight: 800; letter-spacing: -.035em; max-width: 13em; margin: 0 auto .4em; }
.statement p { font-size: clamp(18px, 2.2vw, 22px); color: var(--muted); max-width: 36em; margin: 0 auto; }

.story { padding: 70px 0; }
.story-inner { display: grid; gap: 44px; align-items: center; }
.story-text { text-align: center; max-width: 34em; margin: 0 auto; }
.story-text h2 { font-size: clamp(36px, 6.4vw, 68px); font-weight: 800; letter-spacing: -.035em; margin-bottom: .35em; }
.story-text p { font-size: clamp(18px, 2vw, 21px); color: var(--muted); margin: 0; }
.story-bild { position: relative; display: flex; justify-content: center; }
.story-bild .phone { position: relative; z-index: 1; width: min(78vw, 400px); }

.story-bild, .hero-phones { --geraet: min(78vw, 400px); }
.hero-phones { --geraet: min(76vw, 400px); }
.story-bild::before, .hero-phones::before, .kachel::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  left: 50%; top: 50%; translate: -50% -50%;
  width: calc(var(--geraet) + 44px); aspect-ratio: 1320 / 2700;
  border-radius: 16% / 7.5%;
  background: linear-gradient(170deg, #4a5cf0, #8b5cf6, #e48bbd, #38bdf8, #6d5cf6, #4a5cf0);
  background-size: 100% 300%;
  filter: blur(34px) saturate(1.25); opacity: var(--glow, .8);
  animation: glow-fliessen 12s ease-in-out infinite alternate, glow-atmen 6s ease-in-out infinite;
}
.hero-phones::before { top: 0; translate: -50% 0; margin-top: 10px; }
.hero-phones .phone { position: relative; z-index: 1; }
.kachel { position: relative; }
.kachel > * { position: relative; z-index: 1; }
.kachel::before { --geraet: min(78%, 300px); top: auto; bottom: -46%; translate: -50% 0; opacity: calc(var(--glow, .8) * .8); }
.story-rechts .story-bild::before { animation-direction: alternate-reverse, normal; }
@media (min-width: 900px) { .story-bild { --geraet: 420px; } }
@media (min-width: 960px) { .hero-phones { --geraet: 400px; } }
@media (prefers-color-scheme: light) { :root { --glow: .5; } }
@keyframes glow-fliessen { from { background-position: 0 0; } to { background-position: 0 100%; } }
@keyframes glow-atmen { 0%, 100% { scale: .98; } 50% { scale: 1.035; } }
@keyframes schweben { 0%, 100% { translate: 0 0; } 50% { translate: 0 -16px; } }

@media (min-width: 900px) {
  .story { padding: 110px 0; }
  .story-inner { grid-template-columns: 1fr 1fr; gap: 80px; }
  .story-text { text-align: left; margin: 0; }
  .story-rechts .story-text { order: 2; }
  .story-bild .phone { width: 420px; }
}

.story-breit .story-text.zentriert { text-align: center; margin: 0 auto 50px; }
.story-breit .chips { justify-content: center; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chip { font-size: 14px; font-weight: 600; padding: 7px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--card-border); }
.doc-stack { position: relative; max-width: 980px; margin: 0 auto; padding-bottom: 14%; }
.doc-stack img { border-radius: 12px; box-shadow: 0 30px 70px rgba(10, 10, 50, .35); background: #fff; }
.doc-stack img:first-child { width: 86%; rotate: -2.5deg; }
.doc-stack img:last-child { width: 80%; position: absolute; right: 0; bottom: 0; rotate: 2deg; }

.bento-bereich { padding: 90px 0 60px; }
.bento-bereich .section-head h2 { font-size: clamp(36px, 6.4vw, 68px); letter-spacing: -.035em; }
.bento { display: grid; gap: 20px; }
@media (min-width: 900px) { .bento { grid-template-columns: repeat(3, 1fr); } }
.kachel {
  background: var(--card); border: 1px solid var(--card-border); border-radius: 30px;
  padding: 34px 28px 0; overflow: hidden; text-align: center; box-shadow: var(--shadow);
  display: flex; flex-direction: column; min-height: 560px;
}
.kachel h3 { font-size: clamp(24px, 2.6vw, 30px); font-weight: 800; letter-spacing: -.02em; margin-bottom: .3em; }
.kachel p { color: var(--muted); margin: 0 0 28px; font-size: 16px; }
.kachel .phone { width: 78%; max-width: 300px; margin: auto auto -42%; }
.demo-hinweis { text-align: center; color: var(--muted); font-size: 14px; margin: 26px 0 0; }

@media (prefers-reduced-motion: no-preference) {
  .story-bild .phone, .hero-phones .phone { animation: schweben 7s ease-in-out infinite; }
  .story-rechts .story-bild .phone { animation-duration: 8.5s; animation-delay: -2s; }

  @supports (animation-timeline: view()) {
    .story-bild { animation: ins-bild linear both; animation-timeline: view(); animation-range: entry 0% cover 42%; }
    .story-rechts .story-bild { animation-name: ins-bild-rechts; }
    .story-text { animation: von-links linear both; animation-timeline: view(); animation-range: entry 0% cover 35%; }
    .story-rechts .story-text { animation-name: von-rechts; }
    .statement h2, .section-head, .story-breit .story-text { animation: auftauchen linear both; animation-timeline: view(); animation-range: entry 0% cover 30%; }

    .doc-stack { view-timeline-name: --stapel; }
    .doc-stack img:first-child { animation: blatt-links linear both; animation-timeline: --stapel; animation-range: entry 10% cover 50%; }
    .doc-stack img:last-child { animation: blatt-rechts linear both; animation-timeline: --stapel; animation-range: entry 10% cover 50%; }

    .kachel, .zielgruppen .card, .devices .card { animation: auftauchen linear both; animation-timeline: view(); animation-range: entry 0% cover 30%; }
    .kachel .phone { animation: hochfahren linear both; animation-timeline: view(); animation-range: entry 10% cover 55%; }
    .bento .kachel:nth-child(2), .zielgruppen .card:nth-child(2n) { animation-range: entry 8% cover 36%; }
    .bento .kachel:nth-child(3) { animation-range: entry 16% cover 42%; }

    .pills li { animation: aufploppen linear both; animation-timeline: view(); animation-range: entry 0% cover 25%; }
    .pills li:nth-child(2) { animation-range: entry 4% cover 29%; }
    .pills li:nth-child(3) { animation-range: entry 8% cover 33%; }
    .pills li:nth-child(4) { animation-range: entry 12% cover 37%; }
    .pills li:nth-child(5) { animation-range: entry 16% cover 41%; }
    .pills li:nth-child(6) { animation-range: entry 20% cover 45%; }

    .hero-text { animation: hero-weg linear both; animation-timeline: scroll(root); animation-range: 0 70vh; }
  }
}
@keyframes auftauchen { from { opacity: 0; translate: 0 70px; scale: .96; } to { opacity: 1; translate: 0 0; scale: 1; } }
@keyframes ins-bild { from { opacity: 0; scale: .78; rotate: -7deg; } to { opacity: 1; scale: 1; rotate: 0deg; } }
@keyframes ins-bild-rechts { from { opacity: 0; scale: .78; rotate: 7deg; } to { opacity: 1; scale: 1; rotate: 0deg; } }
@keyframes von-links { from { opacity: 0; translate: -70px 0; } to { opacity: 1; translate: 0 0; } }
@keyframes von-rechts { from { opacity: 0; translate: 70px 0; } to { opacity: 1; translate: 0 0; } }
@keyframes blatt-links { from { rotate: 0deg; translate: 8% 10%; } to { rotate: -2.5deg; translate: 0 0; } }
@keyframes blatt-rechts { from { rotate: 0deg; translate: -10% -18%; opacity: .2; } to { rotate: 2deg; translate: 0 0; opacity: 1; } }
@keyframes hochfahren { from { translate: 0 30%; } to { translate: 0 0; } }
@keyframes aufploppen { from { opacity: 0; scale: .6; } to { opacity: 1; scale: 1; } }
@keyframes hero-weg { to { opacity: .15; translate: 0 -40px; scale: .96; } }

.privacy-band { background: var(--grad); color: #fff; border-radius: 28px; padding: 44px 28px; text-align: center; }
.privacy-band h2 { font-size: clamp(30px, 5vw, 44px); font-weight: 800; }
.privacy-band p { max-width: 40em; margin: 0 auto 26px; opacity: .92; font-size: 18px; }
.pills { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.pills li { background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .28); padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: 15px; }
.privacy-band a { color: #fff; font-weight: 600; }

.devices { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); max-width: 720px; margin: 0 auto; text-align: center; }
.devices .card { padding: 22px 12px; }
.devices svg { width: 40px; height: 40px; stroke: var(--accent); fill: none; stroke-width: 1.6; margin: 0 auto 8px; display: block; }
.devices strong { display: block; font-size: 18px; }
.devices span { color: var(--muted); font-size: 14px; }

.cta { text-align: center; }
.cta h2 { font-size: clamp(30px, 5vw, 44px); font-weight: 800; }
.cta p { color: var(--muted); }

.page-hero { background: var(--grad); color: #fff; padding: 56px 0 48px; }
.page-hero h1 { font-size: clamp(29px, 7.6vw, 54px); font-weight: 800; margin: 0; overflow-wrap: anywhere; hyphens: auto; }
.page-hero p { margin: 8px 0 0; opacity: .9; }

.prose { max-width: 760px; padding-top: 44px; padding-bottom: 80px; }
.prose h2 { font-size: 26px; font-weight: 750; margin-top: 2em; }
.prose h3 { font-size: 19px; font-weight: 700; margin-top: 1.6em; margin-bottom: .4em; }
.prose p, .prose li { color: var(--text); }
.prose ul { padding-left: 1.2em; }
.prose li { margin: .3em 0; }
.prose .muted { color: var(--muted); }
.prose address { font-style: normal; }
.toc { margin-top: 0; }
.toc ol { margin: 0; padding-left: 1.3em; columns: 1; }
@media (min-width: 640px) { .toc ol { columns: 2; column-gap: 32px; } }
.toc a { text-decoration: none; }

.placeholder {
  background: #ffe9a8; color: #5a3d00;
  padding: 0 .35em; border-radius: 5px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em; font-weight: 600;
}
.note {
  border-left: 4px solid #f0b400; background: color-mix(in srgb, #f0b400 12%, var(--card));
  padding: 16px 18px; border-radius: 0 14px 14px 0; margin: 24px 0;
}

details.card { padding: 0; margin: 12px 0; }
details.card summary { cursor: pointer; padding: 18px 22px; font-weight: 650; list-style: none; position: relative; padding-right: 48px; }
details.card summary::-webkit-details-marker { display: none; }
details.card summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--accent); }
details.card[open] summary::after { content: "–"; }
details.card > div { padding: 0 22px 18px; color: var(--muted); }
details.card > div p { color: var(--muted); margin: 0 0 .6em; }

.site-footer { border-top: 1px solid var(--card-border); padding: 30px 0 40px; color: var(--muted); font-size: 15px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 24px; justify-content: space-between; align-items: center; }
.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); }

.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 60px 20px; }
.notfound .big { font-size: clamp(80px, 20vw, 160px); font-weight: 800; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

@media (max-width: 520px) {
  body { font-size: 16px; }
  .nav a { padding: 6px 7px; font-size: 14px; }
  .nav .hide-sm { display: none; }
  section { padding: 60px 0; }
  .devices { gap: 10px; } .devices .card { padding: 16px 6px; } .devices strong { font-size: 16px; } .devices span { font-size: 12px; }
}

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