/* HELPKEY Landingpage – Folien im Vollbild, rasten beim Scrollen ein. Ohne Bibliotheken, ohne Tracking. */
@font-face {
  font-family: 'Nunito'; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url('fonts/nunito-latin-variable.woff2') format('woff2');
}
@font-face { /* Ukrainisch/Russisch (nur Sprachen-Folie) */
  font-family: 'Nunito'; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url('fonts/nunito-cyrillic-variable.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

:root {
  --brand: #137C74; --brand-dark: #0B4F4A; --brand-light: #1EA49B;
  --mint: #BFE8E3; --tint: #DDF3F1; --rose: #F7B6C8; --peach: #F5C58A; --red: #C62828;
  --ink: #1D1D22; --paper: #F6F5F3;
  --safe-top: env(safe-area-inset-top, 0px); --safe-bottom: env(safe-area-inset-bottom, 0px);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; height: 100%; overflow: hidden; }
/* Die Folien scrollen in einem eigenen, fest stehenden Bereich (#deck), nicht die Seite selbst:
   so bleiben die Leisten von Safari ruhig, die Folienhöhe ändert sich nicht und das Einrasten ist sauber. */
#deck { position: fixed; top: 0; left: 0; right: 0; height: 100%; height: 100dvh; overflow-x: hidden; overflow-y: auto; overscroll-behavior: none;
  scroll-snap-type: y mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; outline: none; }
#deck::-webkit-scrollbar { display: none; }
body { margin: 0; height: 100%; overflow: hidden; transition: background-color .35s; font: 500 17px/1.5 'Nunito', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; color: var(--ink); background: var(--brand-dark); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
em { font-style: normal; }

/* ---------- Folie ---------- */
.slide { position: relative; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; overflow: hidden; display: flex; align-items: center; justify-content: center;
  padding: calc(88px + var(--safe-top)) 24px calc(64px + var(--safe-bottom)); }
.inner { position: relative; z-index: 2; width: 100%; max-width: 1120px; height: 100%; display: flex; flex-direction: column; gap: 18px; }
.inner.single { justify-content: center; align-items: flex-start; }
.text { display: flex; flex-direction: column; gap: 14px; }
.visual { position: relative; flex: 1; min-height: 0; display: flex; justify-content: center; align-items: flex-start; }

h1, h2 { margin: 0; font-weight: 900; line-height: 1.05; letter-spacing: -0.02em; font-size: clamp(34px, 8.6vw, 76px); text-wrap: balance; }
h2 { font-size: clamp(32px, 7.6vw, 68px); }
.lead { margin: 0; font-size: clamp(17px, 2.1vw, 22px); line-height: 1.45; max-width: 34em; font-weight: 600; opacity: .92; }
.eyebrow { margin: 0; font-size: 14px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.num { margin: 0; font-size: 15px; font-weight: 900; letter-spacing: .06em; display: inline-flex; align-self: flex-start; padding: 4px 14px; border-radius: 999px; background: rgba(0, 0, 0, .1); }

/* ---------- Farbwelten ---------- */
.s-hero { color: #fff; background: radial-gradient(120% 90% at 85% 10%, #22B3A8 0%, var(--brand) 45%, var(--brand-dark) 100%); }
.s-hero em { color: var(--peach); }
.s-moment { color: #4A1626; background: linear-gradient(160deg, #FFE3EA 0%, var(--rose) 100%); }
.s-moment em { color: var(--red); }
.s-mint { color: var(--brand-dark); background: linear-gradient(160deg, #EAF8F5 0%, var(--mint) 100%); }
.s-mint em { color: var(--brand); }
.s-red { color: #fff; background: linear-gradient(150deg, #E0453F 0%, var(--red) 55%, #8E1616 100%); }
.s-red em { color: #FFD9A8; }
.s-dark { color: #fff; background: radial-gradient(100% 80% at 20% 0%, #14504B 0%, #0A2E2B 60%, #061C1A 100%); }
.s-dark em { color: var(--mint); }
.s-peach { color: #4D2E08; background: linear-gradient(160deg, #FFF3DF 0%, var(--peach) 100%); }
.s-peach em { color: #B4530C; }
.s-violet { color: #fff; background: linear-gradient(150deg, #7B5BD6 0%, #5237A8 60%, #35217A 100%); }
.s-violet em { color: var(--rose); }
.s-light { color: var(--ink); background: linear-gradient(170deg, #fff 0%, var(--paper) 100%); }
.s-light em { color: var(--brand); }
.s-red .num, .s-dark .num, .s-violet .num { background: rgba(255, 255, 255, .18); }
.eyebrow.dark { opacity: .7; }

/* Deko-Blasen */
.blob { position: absolute; z-index: 1; border-radius: 50%; pointer-events: none; opacity: .5; animation: drift 14s ease-in-out infinite alternate; }
.blob.b1 { width: 46vmax; height: 46vmax; right: -16vmax; top: -18vmax; background: rgba(255, 255, 255, .14); }
.blob.b2 { width: 28vmax; height: 28vmax; left: -10vmax; bottom: -12vmax; background: rgba(255, 255, 255, .12); animation-duration: 18s; }
.blob.b3 { width: 12vmax; height: 12vmax; left: 46%; top: 12%; background: rgba(245, 197, 138, .28); animation-duration: 11s; }
.s-mint .blob, .s-peach .blob, .s-moment .blob { background: rgba(255, 255, 255, .5); }
.s-light .blob.b1 { background: var(--tint); } .s-light .blob.b2 { background: #FDE9EF; }
@keyframes drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-3vmax, 2.5vmax, 0) scale(1.08); } }

/* ---------- Knöpfe ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 12px 26px; border-radius: 999px; font-size: 17px; font-weight: 900; text-decoration: none; white-space: nowrap; transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s; }
.btn:active { transform: scale(.97); }
.btn-light { background: #fff; color: var(--brand-dark); box-shadow: 0 10px 28px rgba(0, 0, 0, .22); }
.btn-ghost { background: rgba(255, 255, 255, .14); color: #fff; border: 2px solid rgba(255, 255, 255, .5); }
.btn-small { min-height: 42px; padding: 8px 18px; font-size: 15px; background: #fff; color: var(--brand-dark); box-shadow: 0 6px 18px rgba(0, 0, 0, .18); }
.btn-big { min-height: 60px; padding: 14px 32px; font-size: 19px; }
@media (hover: hover) { .btn:hover { transform: translateY(-2px); } .btn-light:hover, .btn-small:hover { box-shadow: 0 14px 34px rgba(0, 0, 0, .28); } .btn-ghost:hover { background: rgba(255, 255, 255, .24); } }
.btn:focus-visible, .next:focus-visible, .dots a:focus-visible, .brand:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }

/* ---------- Feste Elemente ---------- */
.top { position: fixed; z-index: 20; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; padding: calc(12px + var(--safe-top)) 18px 12px; pointer-events: none; }
.top > * { pointer-events: auto; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 900; font-size: 19px; letter-spacing: .04em; color: #fff; padding: 5px 14px 5px 5px; border-radius: 999px; background: rgba(11, 79, 74, .82); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.brand img { border-radius: 50%; }
.dots { position: fixed; z-index: 20; right: 14px; top: 50%; transform: translateY(-50%); display: none; flex-direction: column; gap: 4px; }
.dots a { position: relative; width: 28px; height: 22px; display: flex; align-items: center; justify-content: center; }
.dots a::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: currentColor; opacity: .35; transition: all .25s var(--ease); }
.dots a[aria-current="true"]::before { opacity: 1; height: 22px; border-radius: 6px; }
.dots a span { position: absolute; right: 30px; white-space: nowrap; font-size: 13px; font-weight: 800; padding: 3px 10px; border-radius: 999px; background: rgba(0, 0, 0, .7); color: #fff; opacity: 0; transform: translateX(6px); transition: all .2s; pointer-events: none; }
.dots a:hover span, .dots a:focus-visible span { opacity: 1; transform: none; }
.counter { position: fixed; z-index: 20; left: 14px; bottom: calc(16px + var(--safe-bottom)); font-weight: 900; font-size: 15px; letter-spacing: .04em; display: flex; gap: 6px; align-items: baseline; padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .78); color: var(--brand-dark); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: opacity .3s; }
body.is-last .counter { opacity: 0; }
.counter b { font-size: 22px; } .counter span { opacity: .6; }
.next { position: fixed; z-index: 20; left: 50%; bottom: calc(12px + var(--safe-bottom)); transform: translateX(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(255, 255, 255, .92); color: var(--brand-dark); box-shadow: 0 6px 20px rgba(0, 0, 0, .2); display: flex; align-items: center; justify-content: center; animation: nudge 1.8s ease-in-out infinite; transition: opacity .3s; }
.next.is-last { opacity: 0; pointer-events: none; }
@keyframes nudge { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 6px); } }
/* Farbe der festen Elemente je Folie (hell/dunkel) */
body[data-tone="dark"] .dots { color: #fff; }
body[data-tone="light"] .dots { color: var(--brand-dark); }

/* ---------- Bausteine ---------- */
.product { width: min(86vw, 520px); filter: drop-shadow(0 26px 30px rgba(0, 0, 0, .35)); transform: rotate(-6deg); }
.float { animation: float 5.5s ease-in-out infinite; }
@keyframes float { 0%, 100% { translate: 0 0; rotate: 0deg; } 50% { translate: 0 -12px; rotate: 1.5deg; } }
.badge { position: absolute; display: flex; align-items: center; justify-content: center; text-align: center; width: 84px; height: 84px; border-radius: 50%; font-weight: 900; font-size: 17px; line-height: 1.1; box-shadow: 0 10px 24px rgba(0, 0, 0, .25); }
.badge-1 { background: var(--peach); color: #4D2E08; left: 4%; top: 2%; rotate: -12deg; }
.badge-2 { background: var(--rose); color: #4A1626; right: 4%; top: 46%; rotate: 10deg; }

.phone { width: min(64vw, 290px); aspect-ratio: 390 / 800; flex: none; border: 9px solid #17171B; border-radius: 40px; overflow: hidden; background: #17171B; box-shadow: 0 30px 60px rgba(0, 0, 0, .35), 0 0 0 2px rgba(255, 255, 255, .12); rotate: 3deg; }
.flip .phone { rotate: -3deg; }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 30px; }

.ticks { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-weight: 700; }
.ticks li { position: relative; padding-left: 34px; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: currentColor; opacity: .16; }
.ticks li::after { content: ''; position: absolute; left: 7px; top: 7px; width: 8px; height: 5px; border-left: 3px solid currentColor; border-bottom: 3px solid currentColor; transform: rotate(-45deg); }

.chips, .tags, .langs { list-style: none; margin: 6px 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 9px 18px; border-radius: 999px; background: #fff; font-weight: 800; font-size: clamp(15px, 2vw, 20px); box-shadow: 0 6px 16px rgba(74, 22, 38, .14); }
.chips li:nth-child(odd) { rotate: -2deg; } .chips li:nth-child(even) { rotate: 1.5deg; } .chips li:nth-child(3n) { rotate: 3deg; background: #4A1626; color: #fff; }
.tags li { padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .75); font-weight: 800; font-size: 15px; }
.langs li { padding: 9px 18px; border-radius: 999px; background: rgba(255, 255, 255, .16); border: 1.5px solid rgba(255, 255, 255, .4); font-weight: 800; font-size: clamp(15px, 1.9vw, 19px); }
.langs li:nth-child(3n+1) { background: #fff; color: #35217A; border-color: #fff; }

.facts { display: grid; grid-template-columns: 1fr; gap: 10px; width: 100%; margin-top: 8px; }
.fact { padding: 16px 18px; border-radius: 22px; background: rgba(255, 255, 255, .08); border: 1.5px solid rgba(191, 232, 227, .28); display: flex; flex-direction: column; }
.fact b { font-size: clamp(22px, 3vw, 32px); font-weight: 900; color: var(--mint); line-height: 1.15; } .fact span { opacity: .85; font-weight: 600; }

.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; margin-top: 8px; }
.card { padding: 14px; border-radius: 22px; background: #fff; box-shadow: 0 8px 26px rgba(29, 29, 34, .08); display: flex; flex-direction: column; gap: 4px; }
.card b { font-size: clamp(16px, 1.9vw, 21px); font-weight: 900; line-height: 1.2; hyphens: manual; } .card span:last-child { font-size: 14.5px; line-height: 1.4; color: #55555D; font-weight: 600; }
.card .ico { width: 46px; height: 46px; border-radius: 15px; background: var(--tint); color: var(--brand); display: flex; align-items: center; justify-content: center; margin-bottom: 4px; }
.card:nth-child(2) .ico { background: #FDE9EF; color: #A2304F; } .card:nth-child(3) .ico { background: #FFF0D9; color: #B4530C; } .card:nth-child(4) .ico { background: #EDE7FB; color: #5237A8; }
.card svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.steps { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 12px; width: 100%; }
.steps li { position: relative; background: #fff; border-radius: 24px; padding: 16px 18px 16px 74px; box-shadow: 0 8px 24px rgba(11, 79, 74, .12); }
.steps li > span { position: absolute; left: 16px; top: 16px; width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 900; font-size: 22px; display: flex; align-items: center; justify-content: center; }
.steps b { font-size: 20px; font-weight: 900; } .steps p { margin: 2px 0 0; font-weight: 600; color: #3F5B58; line-height: 1.4; }

.ticks.light li::before { opacity: .25; }
.foot { position: absolute; z-index: 3; left: 0; right: 0; bottom: calc(10px + var(--safe-bottom)); padding: 0 20px; text-align: center; font-size: 12.5px; line-height: 1.5; color: rgba(255, 255, 255, .8); }
.foot p { margin: 0; } .foot a { text-underline-offset: 2px; }
.s-final { padding-bottom: calc(84px + var(--safe-bottom)); }

/* ---------- Einblenden: Elemente kommen gestaffelt, sobald die Folie sichtbar ist ---------- */
.a { opacity: 0; transform: translateY(28px); transition: opacity .6s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 70ms + 80ms); }
.a.pop { transform: scale(.7); transition-timing-function: cubic-bezier(.3, 1.5, .5, 1); }
.a.rise { transform: translateY(40%); transition-duration: .9s; }
.is-in .a { opacity: 1; transform: none; }

/* ---------- Handy: Bild ragt von unten in die Folie ---------- */
@media (max-width: 899px) {
  .slide { align-items: stretch; }
  .visual { margin: 0 -24px calc(-64px - var(--safe-bottom)); align-items: flex-start; }
  .s-hero .visual { align-items: center; margin-bottom: 0; }
  .s-hero .product { width: min(78vw, 46vh); }
  .inner.single { justify-content: center; padding-bottom: 4vh; }
  .phone { border-radius: 40px 40px 0 0; border-bottom: 0; width: min(66vw, 300px); aspect-ratio: auto; height: 130%; }
  .phone img { border-radius: 30px 30px 0 0; }
  .s-final .visual { display: none; } .s-final .inner { justify-content: center; }
  .s-final .text { align-items: flex-start; }
  .ticks li:nth-child(n+3) { display: none; } .s-final .ticks li { display: block; }
  .langs { gap: 7px; } .langs li { padding: 6px 13px; }
  .tags li:nth-child(n+4) { display: none; }
}
@media (max-width: 899px) and (max-height: 700px) {
  .lead { font-size: 16px; } .slide { padding-top: calc(66px + var(--safe-top)); }
  .chips li { padding: 7px 14px; } .chips li:nth-child(n+7) { display: none; }
  .card span:last-child { font-size: 13.5px; } .steps li { padding-top: 12px; padding-bottom: 12px; }
}

/* ---------- Desktop / Tablet quer: Text und Bild nebeneinander ---------- */
@media (min-width: 900px) {
  .slide { padding: 96px 72px 72px; }
  .inner { flex-direction: row; align-items: center; gap: 56px; }
  .inner.flip { flex-direction: row-reverse; }
  .inner.single { flex-direction: column; align-items: flex-start; justify-content: center; gap: 22px; }
  .text { flex: 1.15; gap: 20px; } .visual { flex: 1; align-items: center; height: 100%; }
  .phone { width: auto; height: min(78vh, 680px); }
  .product { width: min(42vw, 560px); }
  .badge { width: 112px; height: 112px; font-size: 22px; }
  .dots { display: flex; }
  .facts { grid-template-columns: repeat(3, 1fr); gap: 18px; } .fact { padding: 26px; }
  .cards { grid-template-columns: repeat(4, 1fr); gap: 18px; } .card { padding: 24px; gap: 8px; } .card span:last-child { font-size: 16px; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; } .steps li { padding: 84px 24px 26px; } .steps li > span { left: 24px; top: 24px; width: 48px; height: 48px; }
  .counter { left: 28px; bottom: 26px; } .top { padding: 18px 32px; }
  .ticks { font-size: 18px; gap: 10px; }
  .chips { gap: 14px; margin: 14px 0; } .chips li { padding: 12px 24px; }
  .foot { bottom: 16px; }
}

/* Sehr niedrige Fenster: kein Einrasten, normal scrollen */
@media (max-height: 480px) { #deck { scroll-snap-type: none; } .slide { height: auto; min-height: 100%; } }

@media (prefers-reduced-motion: reduce) {
  .a, .a.pop, .a.rise { opacity: 1; transform: none; transition: none; }
  .blob, .float, .next { animation: none; }
}

/* iPhone: Produktbild passt sich dem freien Platz an und überdeckt keine Knöpfe; Überschrift bricht nicht mitten im Wort */
h1, h2 { hyphens: manual; overflow-wrap: normal; }
@media (max-width: 899px) {
  h1 { font-size: clamp(28px, 8.2vw, 44px); }
  .s-hero .visual { align-items: center; padding: 14px 0 54px; margin-bottom: 0; }
  .s-hero .product { width: auto; max-width: 82vw; max-height: 100%; object-fit: contain; }
  .s-hero .cta .btn-ghost { display: none; }
  .badge { width: 72px; height: 72px; font-size: 15px; }
  .badge-1 { left: 2%; top: 4%; } .badge-2 { right: 2%; top: auto; bottom: 22%; }
}
@media (max-width: 899px) {
  .s-hero .visual { padding: 6px 0 44px; min-height: 150px; }
  .s-hero .text { gap: 10px; }
}
@media (max-width: 899px) and (max-height: 700px) {
  .slide { padding-top: calc(84px + var(--safe-top)); }
  .s-hero .eyebrow { display: none; }
  .s-hero .lead { font-size: 15.5px; line-height: 1.4; }
  .s-hero .btn-light { min-height: 46px; }
}

/* Folie Papa & Großeltern */
.s-blue { color: #fff; background: linear-gradient(150deg, #3D8FE0 0%, #2565B5 55%, #17407F 100%); }
.s-blue em { color: var(--peach); }
.s-blue .num { background: rgba(255, 255, 255, .18); }
.ticks b { font-weight: 900; }
.gift { margin: 6px 0 0; align-self: flex-start; padding: 10px 18px; border-radius: 18px; background: var(--peach); color: #4D2E08; font-weight: 900; font-size: clamp(15px, 1.8vw, 19px); line-height: 1.3; rotate: -1.5deg; box-shadow: 0 8px 20px rgba(0, 0, 0, .2); }
@media (max-width: 899px) {
  .s-blue h2 { font-size: clamp(27px, 7vw, 40px); }
  .s-blue .lead { font-size: 16px; line-height: 1.4; }
  .s-blue .text { gap: 10px; }
  .s-blue .ticks { gap: 6px; font-size: 15.5px; }
}

/* Stichwort über der Überschrift (statt Feature-Nummer) */
.num { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; padding: 5px 14px; }

/* Startfolie: Bestell-Knopf steht schon oben rechts – hier mehr Platz für das Produktbild */
@media (max-width: 899px) {
  #start .cta { display: none; }
  #start .visual { padding: 0 0 40px; margin: 0 -18px; }
  #start .product { max-width: 100vw; }
}
