/* Produktseite klatsch.celox.io (/ und /de/). Eigene kleine Schicht, unabhängig von der App.
   Farben nur über Tokens; dunkel per prefers-color-scheme. Schriften: Bangers (Überschriften, OFL),
   Roboto Flex (Text, OFL). Urls der Schriften setzt build.mjs (Inhalts-Hash). */

@font-face {
  font-family: 'Bangers';
  src: url('/site/bangers-4160a7311d.ttf') format('truetype');
  font-display: swap;
}
/* Anton: die Meme-Schrift der App, für den Text auf der Vorlage in der Werkbank */
@font-face {
  font-family: 'Anton';
  src: url('/site/anton-a4ba3a9235.ttf') format('truetype');
  font-display: swap;
}
@font-face {
  font-family: 'Roboto Flex';
  src: url('/site/roboto-flex-latin-b80f7198cc.woff2') format('woff2');
  font-weight: 100 1000;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Roboto Flex';
  src: url('/site/roboto-flex-latin-ext-22803b1210.woff2') format('woff2');
  font-weight: 100 1000;
  font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: light dark;
  --bg: #fff8f8;
  --surface: #fcebee;
  --surface-high: #f6e1e5;
  --text: #22191b;
  --text-muted: #524345;
  --primary: #b5124f;
  --on-primary: #ffffff;
  --primary-container: #ffd9e1;
  --on-primary-container: #3f0019;
  --accent: #ffc93c;
  --on-accent: #2e1500;
  --outline: #857375;
  --focus: #b5124f;
  --frame: #22191b;
  --radius-xl: 28px;
  --radius-lg: 20px;
  --pill: 9999px;
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease: cubic-bezier(0.2, 0, 0, 1);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #191113;
    --surface: #261d1f;
    --surface-high: #322729;
    --text: #f0dee0;
    --text-muted: #d7c1c4;
    --primary: #ffb1c4;
    --on-primary: #650029;
    --primary-container: #8d003b;
    --on-primary-container: #ffd9e1;
    --accent: #ffc93c;
    --on-accent: #2e1500;
    --outline: #a08c8f;
    --focus: #ffb1c4;
    --frame: #4a3a3d;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.6 'Roboto Flex', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-text-size-adjust: 100%;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
}
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 8px;
}
.skip {
  position: absolute;
  left: 16px;
  top: -100px;
  padding: 12px 20px;
  border-radius: var(--pill);
  background: var(--primary);
  color: var(--on-primary);
  z-index: 10;
}
.skip:focus {
  top: 12px;
}
.wrap {
  width: min(1120px, 100% - 32px);
  margin-inline: auto;
}

/* Kopf */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font: 400 1.75rem/1 'Bangers', 'Roboto Flex', sans-serif;
  letter-spacing: 0.04em;
}
.brand img {
  width: 40px;
  height: 40px;
}
.top nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: var(--pill);
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.35s var(--spring), border-radius 0.35s var(--spring);
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:active {
  transform: scale(0.96);
  border-radius: 16px;
}
.btn-primary {
  background: var(--primary);
  color: var(--on-primary);
}
.btn-tonal {
  background: var(--primary-container);
  color: var(--on-primary-container);
}
.btn-text {
  padding: 0 16px;
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.btn-lg {
  min-height: 56px;
  padding: 0 32px;
  font-size: 1.125rem;
}

@media (max-width: 420px) {
  .top nav {
    gap: 0;
  }
  .top .btn {
    padding: 0 12px;
  }
  .brand {
    font-size: 1.5rem;
  }
}

/* Hero */
.hero {
  display: grid;
  gap: 32px;
  align-items: center;
  padding-block: 32px 64px;
}
@media (min-width: 900px) {
  .hero {
    grid-template-columns: 1.1fr 1fr;
    padding-block: 56px 96px;
  }
}
.kicker {
  display: inline-block;
  margin: 0 0 16px;
  padding: 6px 14px;
  border-radius: var(--pill);
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 650;
  font-size: 0.9375rem;
}
h1,
h2 {
  font-family: 'Bangers', 'Roboto Flex', sans-serif;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.05;
  text-wrap: balance;
  margin: 0 0 16px;
}
h1 {
  font-size: clamp(2.75rem, 7vw, 4.75rem);
}
h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
}
h3 {
  margin: 0 0 6px;
  font-size: 1.25rem;
  line-height: 1.3;
}
p {
  margin: 0 0 16px;
  text-wrap: pretty;
}
.lead {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 36em;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-block: 24px 12px;
}
.note {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

/* Werkbank im Hero (2026-11-17): eine echte Vorlage, auf der der Text entsteht, daneben ein Chat, in dem die
   fertigen Sticker ankommen. Zeigt, was Klatsch tut, statt dekorativer Comic-Sticker. */
.bench {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 16px;
  align-items: end;
  max-width: 560px;
  width: 100%;
  margin-inline: auto;
}
@media (max-width: 559px) {
  .bench {
    grid-template-columns: minmax(0, 1fr);
    max-width: 380px;
  }
  .msg-sticker img {
    width: 120px;
  }
}
.bench-editor {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 12px;
  box-shadow: 0 12px 32px rgb(0 0 0 / 0.12);
}
.bench-chip {
  display: inline-block;
  margin: 2px 4px 10px;
  padding: 4px 12px;
  border-radius: var(--pill);
  background: var(--primary-container);
  color: var(--on-primary-container);
  font-size: 0.8125rem;
  font-weight: 650;
}
.bench-canvas {
  position: relative;
  aspect-ratio: 1;
  border-radius: 20px;
  overflow: hidden;
}
.bench-canvas img {
  display: block;
  width: 100%;
  height: auto;
}
.bench-line {
  position: absolute;
  inset-inline: 6%;
  color: #fff;
  font: 400 clamp(1.05rem, 4.6vw, 1.7rem) / 1.05 'Anton', 'Bangers', sans-serif;
  text-transform: uppercase;
  text-align: center;
  -webkit-text-stroke: 0.2em #000;
  paint-order: stroke fill;
  /* der Text entsteht von links nach rechts, wie getippt */
  clip-path: inset(0 100% 0 0);
  animation: type 1.1s steps(14, end) forwards;
}
.bench-top {
  top: 4%;
  animation-delay: 0.5s;
}
.bench-bottom {
  bottom: 5%;
  animation-delay: 1.8s;
}
@keyframes type {
  to {
    clip-path: inset(0 0 0 0);
  }
}
.bench-tools {
  display: flex;
  justify-content: space-around;
  margin-top: 10px;
  color: var(--text-muted);
}
.bench-tools span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: var(--pill);
}
.bench-tools span:first-child {
  background: var(--primary-container);
  color: var(--on-primary-container);
}
.bench-chat {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.msg {
  max-width: 92%;
  align-self: flex-end;
  animation: pop 0.6s var(--spring) both;
}
.msg-in {
  align-self: flex-start;
}
.msg-text {
  padding: 8px 12px;
  border-radius: 18px 18px 4px 18px;
  background: var(--primary);
  color: var(--on-primary);
  font-size: 0.9375rem;
  line-height: 1.3;
}
.msg-text.msg-in {
  border-radius: 18px 18px 18px 4px;
  background: var(--surface-high);
  color: var(--text);
}
.msg-sticker img {
  display: block;
  width: clamp(84px, 22vw, 132px);
  height: auto;
  filter: drop-shadow(0 6px 12px rgb(0 0 0 / 0.18));
}
/* der Chat setzt nach dem Tippen ein, eine Nachricht nach der anderen */
.bench-chat .msg:nth-child(1) { animation-delay: 3s; }
.bench-chat .msg:nth-child(2) { animation-delay: 3.4s; }
.bench-chat .msg:nth-child(3) { animation-delay: 3.9s; }
.bench-chat .msg:nth-child(4) { animation-delay: 4.3s; }
.bench-chat .msg:nth-child(5) { animation-delay: 4.7s; }
@keyframes pop {
  from {
    opacity: 0;
    transform: scale(0.4) translateY(24px);
  }
}

/* Abschnitte */
section {
  padding-block: 56px;
}
.band {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 48px 24px;
}
@media (min-width: 700px) {
  .band {
    padding: 64px 48px;
  }
}
.grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}
.card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.card p {
  margin: 0;
  color: var(--text-muted);
}
.feature-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 12px;
  border-radius: 18px;
  background: var(--primary-container);
  color: var(--on-primary-container);
}

.shots {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}
.shots figure {
  margin: 0;
}
.phone {
  border: 10px solid var(--frame);
  border-radius: 36px;
  overflow: hidden;
  background: var(--frame);
  max-width: 300px;
  margin-inline: auto;
  box-shadow: 0 16px 40px rgb(0 0 0 / 0.18);
}
.phone img {
  border-radius: 26px;
  width: 100%;
}
.shots figcaption {
  margin-top: 16px;
  text-align: center;
  color: var(--text-muted);
  max-width: 300px;
  margin-inline: auto;
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}
.steps li {
  counter-increment: step;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  border-radius: 16px;
  background: var(--primary);
  color: var(--on-primary);
  font: 400 1.75rem/1 'Bangers', sans-serif;
}
.steps p {
  margin: 0;
  color: var(--text-muted);
}
/* So kommen deine Sticker zu WhatsApp: vier gezeichnete Schritte und das Erklaervideo. */
.wa-steps {
  counter-reset: wa;
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
  margin: 32px 0 24px;
  padding: 0;
  list-style: none;
}
.wa-steps li {
  counter-increment: wa;
}
.wa-steps figure {
  margin: 0;
}
.wa-steps img {
  display: block;
  width: 100%;
  max-width: 240px;
  height: auto;
  margin-inline: auto;
  border: 8px solid var(--frame);
  border-radius: 32px;
  background: var(--frame);
  box-shadow: 0 12px 32px rgb(0 0 0 / 0.16);
}
.wa-steps figcaption {
  max-width: 240px;
  margin: 16px auto 0;
}
.wa-steps h3::before {
  content: counter(wa) '. ';
  color: var(--primary);
}
.wa-steps p {
  margin: 0;
  color: var(--text-muted);
}
.video-block {
  display: grid;
  gap: 24px;
  align-items: center;
  grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
  margin-top: 40px;
}
.video-block video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-lg);
  background: var(--frame);
}
.video-block p {
  margin: 0;
  color: var(--text-muted);
}
@media (max-width: 640px) {
  .video-block {
    grid-template-columns: minmax(0, 1fr);
  }
  .video-block video {
    max-width: 360px;
    margin-inline: auto;
  }
}
.aside {
  margin-top: 24px;
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  border: 2px dashed var(--outline);
}
.aside h3 {
  font-size: 1.0625rem;
}
.aside p {
  margin: 0;
  color: var(--text-muted);
}

/* Android-APK (R35): Fakten, Schritte, Prüfsummen. Text auf --surface (Band), Kontrast wie .checks. */
.download .facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin: 20px 0 24px;
}
.download dt {
  color: var(--text-muted);
  font-size: 0.875rem;
}
.download dd {
  margin: 0;
  font-weight: 600;
}
.download h3 {
  margin-top: 28px;
}
.install {
  margin: 12px 0 0;
  padding-left: 1.4em;
  display: grid;
  gap: 8px;
}
.download details {
  margin-top: 24px;
}
.download summary {
  cursor: pointer;
  min-height: 48px;
  display: flex;
  align-items: center;
  font-weight: 600;
}
.download summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 8px;
}
.hashes {
  display: grid;
  gap: 12px;
  margin: 8px 0 0;
}
.hashes code {
  overflow-wrap: anywhere;
  font-size: 0.875rem;
}

.checks {
  margin: 24px 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}
.checks li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.checks li::before {
  content: '';
  flex: none;
  width: 24px;
  height: 24px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--primary);
  -webkit-mask: radial-gradient(circle, #000 58%, transparent 60%);
  mask: radial-gradient(circle, #000 58%, transparent 60%);
}
.final {
  text-align: center;
}
.final .collage-row {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}
.final .collage-row img {
  width: 112px;
  height: auto;
  filter: drop-shadow(0 6px 12px rgb(0 0 0 / 0.16));
}
.final .collage-row img:nth-child(1) { rotate: -6deg; }
.final .collage-row img:nth-child(3) { rotate: 6deg; }

footer {
  padding-block: 32px 48px;
  color: var(--text-muted);
  font-size: 0.9375rem;
  text-align: center;
}
footer a {
  display: inline-block;
  padding: 12px 4px;
}

/* Ausprobieren ohne Konto: der Editor /try eingebettet, erst ab 1024 px (lang.js setzt dann src). */
.try-frame {
  display: none;
}
.try-frame iframe {
  display: block;
  width: 100%;
  height: min(860px, 100vh - 96px);
  border: 1px solid var(--outline);
  border-radius: var(--radius-xl);
  background: var(--surface);
}
@media (min-width: 1024px) {
  .try-frame {
    display: block;
    margin-block-start: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .msg {
    animation: fade 0.3s linear both;
  }
  /* kein Tippen: der Text steht von Anfang an da */
  .bench-line {
    animation: none;
    clip-path: none;
  }
  .btn,
  .btn:hover,
  .btn:active {
    transition: none;
    transform: none;
  }
}
@keyframes fade {
  from {
    opacity: 0;
  }
}
footer .provider {
  margin: 0 0 4px;
}
