/* Weckger – Landingpage. Gleiche Haltung wie die App: warmes Weiß und Schwarz,
   eine Schrift, Farbe nur als Signal (Gelb, Grün, Orange). */

:root {
  --paper: #ecebe6;
  --paper-2: #e3e1db;
  --case: #f6f5f1;
  --line: #d6d3cb;
  --ink: #1d1d1b;
  --ink-2: #67665f;
  --ink-3: #9d9b94;
  --dark: #121211;
  --dark-2: #1c1c1b;
  --dark-line: #2c2b29;
  --dark-ink: #ecebe5;
  --dark-ink-2: #9b9992;
  --yellow: #f2b705;
  --green: #4f9b33;
  --green-hi: #5fae41;
  --orange: #e2581f;
  --key: #3a3936;
  --key-hi: #4b4a46;
  --r: 22px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.55 "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }

/* Sprache: beide Texte im HTML, sichtbar ist nur die gewählte */
html[data-lang="en"] [lang="de"], html[data-lang="de"] [lang="en"] { display: none !important; }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }

.eyebrow {
  margin: 0 0 14px;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-2);
}
.eyebrow.yellow { color: var(--yellow); }
h1, h2 { margin: 0; font-weight: 700; letter-spacing: -.035em; line-height: 1.02; }
h1 { font-size: clamp(42px, 5.6vw, 78px); }
h2 { font-size: clamp(34px, 4.8vw, 62px); }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-2); max-width: 34em; margin: 26px 0 0; }
.sub { font-size: 19px; color: var(--ink-2); max-width: 38em; margin: 20px 0 0; }
.head { margin-bottom: 56px; }
.head.center { text-align: center; }
.head.center .sub { margin-inline: auto; }

section { position: relative; padding: 130px 0; }

/* ── Navigation ─────────────────────────────────────────────────────────── */

.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, background .2s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; letter-spacing: -.02em; text-decoration: none; }
.brand img { border-radius: 7px; }
.links { display: flex; gap: 26px; margin-left: auto; font-size: 15px; }
.links a { text-decoration: none; color: var(--ink-2); transition: color .15s; }
.links a:hover { color: var(--ink); }
.links .nav-dl { color: #fff; background: var(--green); padding: 6px 14px; border-radius: 20px; font-weight: 600; }
.links .nav-dl:hover { color: #fff; background: var(--green-hi); }
.lang { display: flex; background: var(--paper-2); border-radius: 9px; padding: 3px; }
.lang button { border: 0; background: none; font-size: 12px; font-weight: 700; letter-spacing: .06em; padding: 5px 9px; border-radius: 7px; color: var(--ink-3); }
.lang button.on { background: var(--ink); color: var(--paper); }

/* ── Hero ───────────────────────────────────────────────────────────────── */

.hero { padding: 70px 0 0; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1.12fr 1fr; gap: 40px; align-items: center; min-height: min(760px, calc(100vh - 64px)); }
.cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 56px; padding: 0 26px 0 22px; border-radius: 28px; border: 0;
  font-size: 17px; font-weight: 600; text-decoration: none;
  transition: transform .12s, box-shadow .12s, background .15s;
}
.btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.btn-green { background: var(--green); color: #fff; box-shadow: 0 3px 0 #3b7a24, 0 10px 24px rgba(79,155,51,.28); }
.btn-green:hover { background: var(--green-hi); }
.btn-green:active { transform: translateY(2px); box-shadow: 0 1px 0 #3b7a24, 0 4px 12px rgba(79,155,51,.25); }
.btn-key { background: var(--case); color: var(--ink); padding-left: 8px; box-shadow: 0 0 0 1px var(--line) inset, 0 6px 18px rgba(40,36,28,.08); }
.btn-key:hover { background: #fff; }
.pk {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: radial-gradient(circle at 50% 35%, var(--key-hi), var(--key) 70%);
  color: #f2f0ea;
  box-shadow: 0 2px 0 rgba(0,0,0,.25), 0 3px 8px rgba(0,0,0,.18);
}
.pk svg { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.pk .i-stop { display: none; }
.playing .pk { background: radial-gradient(circle at 50% 35%, #ffd23f, var(--yellow) 70%); color: var(--ink); }
.playing .pk .i-play { display: none; }
.playing .pk .i-stop { display: block; }
.fine { margin: 18px 0 0; font-size: 14px; color: var(--ink-3); }

.hero-art { position: relative; height: 100%; min-height: 620px; }
.hero-front, .hero-back { position: absolute; filter: drop-shadow(0 40px 50px rgba(40,36,28,.22)) drop-shadow(0 8px 14px rgba(40,36,28,.14)); }
.hero-front { width: min(430px, 82%); left: 2%; top: 50%; transform: translateY(-50%); z-index: 2; border-radius: 0; }
.hero-back { width: min(380px, 70%); right: -6%; top: 50%; transform: translateY(-62%) rotate(4deg); z-index: 1; opacity: .98; }
.hero-front.reveal { transform: translateY(calc(-50% + 30px)); }
.hero-front.reveal.in { transform: translateY(-50%); }
.hero-back.reveal { transform: translateY(-56%) rotate(9deg); }
.hero-back.reveal.in { transform: translateY(-62%) rotate(4deg); }

.grille {
  height: 70px; margin-top: 30px;
  background-image: radial-gradient(circle at center, #c4c1b9 1.8px, transparent 2.3px);
  background-size: 12px 12px;
  background-position: center;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}

/* ── Fakten ─────────────────────────────────────────────────────────────── */

.facts { padding: 36px 0 90px; }
.facts-in { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.fact { background: var(--case); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 20px; }
.fact b { display: block; font-size: 38px; font-weight: 300; letter-spacing: -.03em; line-height: 1.1; }
.fact b svg { width: 34px; height: 38px; fill: none; stroke: var(--ink); stroke-width: 1.6; }
.fact span { font-size: 14px; color: var(--ink-2); }

/* ── Dunkle Abschnitte ──────────────────────────────────────────────────── */

.dark { background: var(--dark); color: var(--dark-ink); }
.dark .sub, .dark p { color: var(--dark-ink-2); }
.dark h2 { color: var(--dark-ink); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split-img img { width: min(520px, 100%); margin-inline: auto; filter: drop-shadow(0 40px 60px rgba(0,0,0,.6)); }
.split-text h2 { margin-bottom: 22px; }
.split-text p { font-size: 19px; max-width: 30em; }

.beep-viz { margin: 34px 0 30px; max-width: 440px; }
.bv-ticks { position: relative; height: 38px; }
.bv-ticks i { position: absolute; top: 0; bottom: 0; width: 2px; border-radius: 1px; background: var(--dark-line); transition: background .1s; }
.bv-ticks i.on { background: var(--yellow); box-shadow: 0 0 6px rgba(242,183,5,.6); }
.bv-labels { position: relative; height: 18px; margin-top: 8px; font-size: 12px; color: var(--dark-ink-2); }
.bv-labels span { position: absolute; }
.bv-labels span:nth-child(1) { left: 0; }
.bv-labels span:nth-child(2) { left: 26.67%; }
.bv-labels span:nth-child(3) { left: 53.33%; }
.bv-labels span:nth-child(4) { left: 80%; }

.play-big {
  display: flex; align-items: center; gap: 16px; width: min(360px, 100%);
  padding: 10px 22px 10px 10px; border-radius: 40px; border: 0;
  background: var(--dark-2); color: var(--dark-ink); box-shadow: 0 0 0 1px var(--dark-line) inset;
  position: relative; overflow: hidden; text-align: left;
}
.play-big .pk { width: 52px; height: 52px; background: radial-gradient(circle at 50% 35%, #ffd23f, var(--yellow) 70%); color: var(--ink); }
.play-big .pk svg { width: 20px; height: 20px; }
.play-big .pb-text b { display: block; font-size: 17px; }
.play-big .pb-text small { color: var(--dark-ink-2); font-size: 13px; font-variant-numeric: tabular-nums; }
.pb-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; }
.pb-bar span { display: block; height: 100%; width: 0; background: var(--yellow); }

/* ── Klänge ─────────────────────────────────────────────────────────────── */

.snd-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.snd {
  display: flex; align-items: center; gap: 16px;
  background: var(--case); border: 1px solid var(--line); border-radius: 18px;
  padding: 14px 18px 14px 14px; text-align: left; position: relative; overflow: hidden;
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.snd:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(40,36,28,.08); }
.snd b { display: block; font-size: 16px; font-weight: 600; }
.snd small { display: block; font-size: 13.5px; color: var(--ink-2); line-height: 1.35; margin-top: 2px; }
.snd .bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--yellow); }
.snd.playing { border-color: var(--yellow); }
.snd.own { background: transparent; border-style: dashed; cursor: default; }
.snd.own:hover { transform: none; box-shadow: none; }
.snd.own .pk { background: var(--green); color: #fff; font-size: 26px; font-weight: 300; }

/* ── Anzeigen ───────────────────────────────────────────────────────────── */

.faces { padding-bottom: 140px; }
.faces-bg { position: absolute; inset: 52% 0 0; display: grid; grid-template-columns: 1fr 1fr; z-index: 0; }
.faces-bg span:first-child { background: var(--paper-2); }
.faces-bg span:last-child { background: var(--dark); }
.faces .wrap { position: relative; z-index: 1; }
.faces-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; align-items: end; }
.faces-grid figure { margin: 0; }
.faces-grid img { filter: drop-shadow(0 26px 34px rgba(30,28,22,.22)); }
.faces-grid .on-dark img { filter: drop-shadow(0 26px 40px rgba(0,0,0,.55)); }
.faces-grid figcaption { text-align: center; font-size: 14px; color: var(--ink-2); margin-top: 18px; letter-spacing: .04em; }
.faces-grid .on-dark figcaption { color: var(--dark-ink-2); }

/* ── Widget ─────────────────────────────────────────────────────────────── */

.widget { background: var(--paper-2); }
.desk {
  position: relative; aspect-ratio: 16 / 9; border-radius: 26px; overflow: hidden;
  background:
    radial-gradient(60% 80% at 15% 20%, #c9b38a 0%, transparent 60%),
    radial-gradient(50% 70% at 85% 80%, #6f7f68 0%, transparent 65%),
    radial-gradient(40% 50% at 70% 25%, #b9876a 0%, transparent 60%),
    linear-gradient(140deg, #8d8a74, #4e5a4f);
  box-shadow: 0 50px 80px rgba(40,36,28,.25), 0 0 0 1px rgba(0,0,0,.08);
}
.desk::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 100% at 50% 0%, transparent 60%, rgba(0,0,0,.25)); pointer-events: none; }
.desk-bar {
  position: absolute; inset: 0 0 auto 0; height: 30px; z-index: 3;
  display: flex; align-items: center; gap: 18px; padding: 0 16px;
  background: rgba(240,236,228,.55); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  font-size: 13px; color: #1d1d1b;
}
.desk-bar .apple { width: 12px; height: 14px; background: #1d1d1b; border-radius: 50% 50% 45% 45%; }
.desk-bar .grow { flex: 1; }
.desk img { position: absolute; z-index: 2; filter: drop-shadow(0 18px 22px rgba(0,0,0,.35)) drop-shadow(0 3px 5px rgba(0,0,0,.25)); }
.desk .w1 { width: 17%; left: 7%; top: 14%; }
.desk .w2 { width: 25%; right: 6%; top: 12%; }
.desk .w3 { width: 12%; right: 9%; bottom: 9%; }
.desk-win {
  position: absolute; z-index: 1; left: 30%; top: 30%; width: 44%; height: 58%;
  background: rgba(250,249,246,.92); border-radius: 12px;
  box-shadow: 0 30px 60px rgba(0,0,0,.3);
}
.desk-win i { position: absolute; top: 12px; width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; left: 14px; }
.desk-win i:nth-child(2) { background: #febc2e; left: 32px; }
.desk-win i:nth-child(3) { background: #28c840; left: 50px; }
.desk-win::after { content: ""; position: absolute; inset: 44px 22px 22px; border-radius: 6px; background: repeating-linear-gradient(180deg, #e7e5df 0 10px, transparent 10px 22px); opacity: .8; }

/* ── Details ────────────────────────────────────────────────────────────── */

.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; align-items: start; }
.shots figure { margin: 0; }
.shots img { width: 100%; }
.shots figcaption { padding: 0 8%; margin-top: -8px; font-size: 15px; color: var(--ink-2); }
.shots figcaption b { display: block; font-size: 19px; color: var(--ink); margin-bottom: 4px; }
.ticks { list-style: none; padding: 0; margin: 80px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 60px; }
.ticks li { padding: 15px 0 15px 34px; border-top: 1px solid var(--line); position: relative; font-size: 16.5px; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 22px; width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(79,155,51,.15); }

/* ── Download ───────────────────────────────────────────────────────────── */

.dl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 380px)); justify-content: center; gap: 22px; }
.dl {
  display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center;
  padding: 40px 30px 30px; border-radius: 26px; text-decoration: none;
  background: var(--dark-2); box-shadow: 0 0 0 1px var(--dark-line) inset;
  color: var(--dark-ink-2); font-size: 15px;
  transition: transform .15s, box-shadow .15s;
}
.dl:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px #3d3c39 inset, 0 24px 50px rgba(0,0,0,.5); }
.dl .os { width: 46px; height: 46px; fill: var(--dark-ink); margin-bottom: 8px; }
.dl b { font-size: 26px; color: var(--dark-ink); letter-spacing: -.02em; }
.dl-btn {
  margin-top: 20px; height: 50px; padding: 0 28px; border-radius: 25px;
  display: inline-flex; align-items: center;
  background: var(--green); color: #fff; font-weight: 600; font-size: 16px;
  box-shadow: 0 3px 0 #3b7a24;
}
.dl:hover .dl-btn { background: var(--green-hi); }
.first-run { max-width: 640px; margin: 40px auto 0; border-top: 1px solid var(--dark-line); padding-top: 18px; }
.first-run summary { cursor: pointer; color: var(--dark-ink); font-weight: 600; list-style: none; text-align: center; }
.first-run summary::after { content: " ▾"; color: var(--yellow); }
.first-run[open] summary::after { content: " ▴"; }
.first-run p { font-size: 15.5px; margin: 12px 0 0; }
.first-run b { color: var(--dark-ink); }
.good { max-width: 640px; margin: 34px auto 0; padding: 18px 22px; border-radius: 16px; background: var(--dark-2); border-left: 4px solid var(--yellow); font-size: 15px; color: var(--dark-ink-2); }
.good b { display: block; color: var(--dark-ink); margin-bottom: 4px; }

/* ── Fuß ────────────────────────────────────────────────────────────────── */

.foot { background: var(--dark); color: var(--dark-ink-2); border-top: 1px solid var(--dark-line); padding: 40px 0 50px; font-size: 14px; }
.foot-in { display: grid; grid-template-columns: auto 1fr auto; gap: 30px; align-items: start; }
.foot-brand { display: flex; gap: 12px; align-items: center; }
.foot-brand img { border-radius: 8px; }
.foot-brand b { display: block; color: var(--dark-ink); font-size: 17px; }
.foot-brand small { color: var(--dark-ink-2); }
.foot-by { align-self: center; text-align: center; }
.foot-by a { color: var(--dark-ink); font-weight: 600; text-decoration: none; border-bottom: 1.5px solid var(--yellow); }
.foot-legal { align-self: center; text-align: right; max-width: 380px; }
.foot-legal summary { cursor: pointer; list-style: none; }
.foot-legal summary:hover { color: var(--dark-ink); }
.legal { text-align: left; margin-top: 14px; font-size: 13px; line-height: 1.6; }
.legal b { color: var(--dark-ink); }
.legal a { color: var(--dark-ink); }

/* ── Einblenden beim Scrollen ───────────────────────────────────────────── */

.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .9s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.facts .reveal:nth-child(2), .faces-grid .reveal:nth-child(2), .shots .reveal:nth-child(2) { transition-delay: .08s; }
.facts .reveal:nth-child(3), .faces-grid .reveal:nth-child(3), .shots .reveal:nth-child(3) { transition-delay: .16s; }
.facts .reveal:nth-child(4), .faces-grid .reveal:nth-child(4) { transition-delay: .24s; }
.facts .reveal:nth-child(5) { transition-delay: .32s; }
.hero-back.reveal { transition-delay: .15s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal.in { opacity: 1; transition: none; }
  .hero-front.reveal { transform: translateY(-50%); }
  .hero-back.reveal { transform: translateY(-62%) rotate(4deg); }
}

/* ── Schmal ─────────────────────────────────────────────────────────────── */

@media (max-width: 1000px) {
  .facts-in { grid-template-columns: repeat(3, 1fr); }
  .snd-grid { grid-template-columns: repeat(2, 1fr); }
  .faces-grid { grid-template-columns: repeat(2, 1fr); }
  .faces-bg { inset: 30% 0 0; }
  .faces-bg { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; }
}
@media (max-width: 860px) {
  section { padding: 90px 0; }
  .links a:not(.nav-dl) { display: none; }
  .hero { padding-top: 40px; }
  .hero-in { grid-template-columns: 1fr; min-height: 0; }
  .hero-art { min-height: 0; height: auto; aspect-ratio: 1 / 1.05; }
  .split { grid-template-columns: 1fr; gap: 50px; }
  .split-img { order: -1; }
  .shots { grid-template-columns: 1fr; gap: 60px; max-width: 420px; margin-inline: auto; }
  .ticks { grid-template-columns: 1fr; }
  .dl-grid { grid-template-columns: 1fr; }
  .foot-in { grid-template-columns: 1fr; text-align: center; }
  .foot-brand { justify-content: center; }
  .foot-legal { text-align: center; max-width: none; }
  .desk { aspect-ratio: 4 / 3.4; }
  .desk .w1 { width: 28%; left: 5%; }
  .desk .w2 { width: 40%; right: 4%; }
  .desk .w3 { width: 20%; }
  .desk-win { left: 18%; width: 64%; top: 40%; height: 50%; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .facts-in { grid-template-columns: repeat(2, 1fr); }
  .fact:last-child { grid-column: span 2; }
  .snd-grid { grid-template-columns: 1fr; }
  .faces-grid { gap: 14px; }
  .cta .btn { width: 100%; justify-content: center; }
  .lang button { padding: 5px 7px; }
  .nav-in { gap: 14px; }
}
