/* whoknowsapp.com – Farben und Schrift wie in der App (Lime auf Fast-Schwarz) */

@font-face { font-family: "Manrope"; src: url("fonts/Manrope-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("fonts/Manrope-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("fonts/Manrope-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("fonts/Manrope-ExtraBold.ttf") format("truetype"); font-weight: 800; font-display: swap; }

:root {
  --bg: #0e0e10;
  --bg-2: #141417;
  --surface: #1a1a1f;
  --line: #2a2a31;
  --text: #f4f4f1;
  --muted: #a4a4ab;
  --accent: #d7fb4f;
  --accent-ink: #0e0e10;
  --radius: 22px;
  --wrap: 1160px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* Nichts darf seitlich herausragen – sonst lässt sich die Seite am Handy hin- und herschieben */
main, .foot { overflow-x: clip; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h1 { font-size: clamp(40px, 6.4vw, 72px); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(30px, 4.2vw, 46px); font-weight: 800; letter-spacing: -0.03em; }
h3 { font-size: 21px; font-weight: 700; }
p { margin: 0 0 1em; }
em { font-style: normal; color: var(--accent); }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
.center { text-align: center; }
.sub { color: var(--muted); font-size: 19px; max-width: 640px; }
.center.sub, .sub.center { margin-inline: auto; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 10px; z-index: 100; font-weight: 700; }
.skip:focus { left: 16px; }

/* Kopfzeile */
.top {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.bar { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.bar nav { display: flex; align-items: center; gap: 6px; }
.bar nav > a { color: var(--text); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 999px; }
.bar nav > a:hover { background: var(--surface); }
.bar nav > a.lang { border: 1px solid var(--line); font-size: 13px; letter-spacing: 0.04em; padding: 6px 12px; margin-left: 4px; }

/* Menü fürs Handy: ganzer Bildschirm unter der Kopfzeile (ohne JavaScript bedienbar) */
.menu { display: none; }
.menu summary {
  list-style: none; cursor: pointer; width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center; margin-left: 2px;
}
.menu summary::-webkit-details-marker { display: none; }
.menu summary span, .menu summary span::before, .menu summary span::after {
  display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--text);
  transition: transform 0.25s ease, background 0.2s ease;
}
.menu summary span { position: relative; }
.menu summary span::before, .menu summary span::after { content: ""; position: absolute; left: 0; }
.menu summary span::before { top: -6px; }
.menu summary span::after { top: 6px; }
.menu[open] summary { background: var(--surface); }
.menu[open] summary span { background: transparent; }
.menu[open] summary span::before { transform: translateY(6px) rotate(45deg); }
.menu[open] summary span::after { transform: translateY(-6px) rotate(-45deg); }
body:has(.menu[open]) { overflow: hidden; }
.top:has(.menu[open]) { background: var(--bg); }
.menu-panel {
  position: absolute; left: 0; right: 0; top: 100%;
  height: calc(100vh - 60px); height: calc(100dvh - 60px); overflow-y: auto;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  padding: 16px 16px max(28px, env(safe-area-inset-bottom));
  background:
    radial-gradient(90% 50% at 85% 0%, rgba(215, 251, 79, 0.12), transparent 70%),
    var(--bg);
  animation: menu-in 0.25s ease both;
}
.menu-links { list-style: none; margin: 0; padding: 0; }
.menu-links li { border-bottom: 1px solid var(--line); animation: menu-item 0.35s ease both; animation-delay: calc(0.04s * var(--i) + 0.05s); }
.menu-links a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 4px; color: var(--text); text-decoration: none;
  font-size: 30px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1;
}
.menu-links svg { width: 26px; height: 26px; color: var(--muted); flex: none; transition: transform 0.2s ease, color 0.2s ease; }
.menu-links a:hover svg, .menu-links a:active svg { color: var(--accent); transform: translateX(4px); }
.menu-foot { display: grid; gap: 22px; }
.menu-small { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: center; margin: 0; }
.menu-small a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 600; }
.menu-small a:first-child { color: var(--text); }
@keyframes menu-in { from { opacity: 0; } }
@keyframes menu-item { from { opacity: 0; transform: translateY(10px); } }
@media (prefers-reduced-motion: reduce) { .menu-panel, .menu-links li { animation: none; } }

.logo { display: inline-flex; align-items: center; gap: 8px; color: var(--text); text-decoration: none; }
.logo .mark { width: 32px; height: 32px; }
.word { font-size: 22px; letter-spacing: -0.03em; font-weight: 400; }
.word b { font-weight: 800; }
.mark.big { width: 64px; height: 64px; margin: 0 auto 20px; display: block; }

/* Hero */
.hero { position: relative; padding: 64px 0 40px; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: -10% -20% auto; height: 120%; z-index: -1;
  background: radial-gradient(50% 45% at 72% 45%, rgba(215, 251, 79, 0.16), transparent 70%),
              radial-gradient(40% 40% at 15% 10%, rgba(215, 251, 79, 0.06), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 40px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.lead { font-size: 20px; color: #d6d6d2; max-width: 560px; margin-bottom: 28px; }

.hero-shot { position: relative; height: 640px; }
.phone { filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.5)); }
.hero-shot .phone { position: absolute; width: 300px; }
.hero-shot .front { left: 50%; top: 0; transform: translateX(-62%); z-index: 2; }
.hero-shot .back { left: 50%; top: 56px; transform: translateX(-2%) rotate(6deg); opacity: 0.9; width: 270px; }

/* Store-Buttons */
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: inline-flex; align-items: center; gap: 12px;
  min-width: 190px; padding: 10px 20px 10px 16px;
  background: #000; color: #fff; text-decoration: none;
  border: 1px solid #3a3a42; border-radius: 14px;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
a.store:hover { transform: translateY(-2px); border-color: var(--accent); }
.store svg { width: 26px; height: 26px; flex: none; }
.store span { display: flex; flex-direction: column; line-height: 1.15; white-space: nowrap; font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.store small { font-size: 11px; font-weight: 600; letter-spacing: 0.02em; color: #c9c9ce; }
.store.soon { opacity: 0.85; cursor: default; }
.cta .stores { justify-content: center; }

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 0; margin: 26px 0 0; color: var(--muted); font-size: 15px; font-weight: 600; }
.chips li, .ticks li { display: flex; align-items: center; gap: 8px; }
.chips svg, .ticks svg { width: 18px; height: 18px; color: var(--accent); flex: none; }

/* Klarer Satz, was WhoKnows ist (für Menschen, Suchmaschinen und KI) */
.define { color: var(--muted); font-size: 15px; max-width: 520px; margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--line); }

/* Das Problem */
.problem { padding: 72px 0; border-block: 1px solid var(--line); background: var(--bg-2); }
.problem p { font-size: clamp(19px, 2.2vw, 23px); color: var(--muted); margin-bottom: 0.4em; }
.problem p.punch { color: var(--accent); font-weight: 800; font-size: clamp(24px, 3.2vw, 34px); letter-spacing: -0.02em; line-height: 1.2; margin-top: 28px; }

/* Schritte */
.steps { padding: 96px 0 40px; }
.step-list { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 0; margin: 40px 0 0; }
.step-list li { counter-increment: step; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.step-list li::before {
  content: counter(step); display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%; margin-bottom: 18px;
  background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: 18px;
}
.step-list p { color: var(--muted); margin: 0; }

/* Beispiel von der Frage bis zur Hilfe: Zeitstrahl, am Handy senkrecht */
.story { padding: 56px 0 40px; }
.story-list { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; padding: 0; margin: 44px 0 0; position: relative; }
.story-list::before { content: ""; position: absolute; left: 10%; right: 10%; top: 7px; border-top: 2px dashed #3b3b44; }
.story-list li { position: relative; padding-top: 34px; text-align: center; }
.story-list li::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 3px solid var(--accent);
}
.story-list li:last-child::before { background: var(--accent); box-shadow: 0 0 24px rgba(215, 251, 79, 0.5); }
.story-tag { display: block; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.story-list p { color: var(--muted); margin: 0; font-size: 16px; }
.story-list strong { color: var(--text); }

/* Funktionen */
.features { padding: 80px 0 40px; }
.features > .wrap > .sub { margin-bottom: 40px; }
.feature { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 56px; padding: 40px 0; }
.feature.flip .feature-text { order: 2; }
.feature-text { max-width: 500px; justify-self: end; }
.feature.flip .feature-text { justify-self: start; }
.feature-text p { color: var(--muted); font-size: 18px; }
.feature-shot { display: flex; justify-content: center; position: relative; }
.feature-shot::before {
  content: ""; position: absolute; width: 380px; height: 380px; max-width: 90%; top: 50%; left: 50%;
  transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle, rgba(215, 251, 79, 0.14), transparent 68%);
}
.feature-shot .phone { position: relative; width: 300px; }
.num { display: inline-block; font-weight: 800; font-size: 14px; color: var(--accent-ink); background: var(--accent); border-radius: 999px; padding: 3px 12px; margin-bottom: 16px; }
.feature h3 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; letter-spacing: -0.025em; }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; font-weight: 600; }

/* Wer muss WhoKnows nutzen? */
.network { padding: 80px 0 96px; }
.qa { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; margin-top: 40px; }
.qa .card { grid-column: span 2; }
.qa .card:nth-child(n + 4) { grid-column: span 3; }
.qa h3 { font-size: 19px; }

/* Pro */
.pro { padding: 96px 0; background: var(--bg-2); border-block: 1px solid var(--line); }
.pro-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.pro-story { font-size: clamp(20px, 2.2vw, 24px); font-weight: 700; line-height: 1.35; letter-spacing: -0.01em; color: var(--muted); }
.pro-story strong { color: var(--accent); }
/* Du → Lisa → Tom */
.chain { display: flex; align-items: center; gap: 10px; margin: 28px 0; flex-wrap: wrap; }
.chain-node { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 92px; padding: 12px 16px; border-radius: 18px; background: var(--surface); border: 1.5px solid var(--line); line-height: 1.2; }
.chain-node b { font-size: 18px; font-weight: 800; }
.chain-node small { font-size: 12px; font-weight: 600; color: var(--muted); margin-top: 3px; white-space: nowrap; }
.chain-node.you { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); box-shadow: 0 0 32px rgba(215, 251, 79, 0.35); }
.chain-node.hi { border-color: var(--accent); }
.chain-node.hi small { color: var(--accent); }
.chain-link { display: flex; flex-direction: column; align-items: center; color: var(--muted); font-size: 12px; font-weight: 700; }
.chain-link::after { content: ""; width: 34px; border-top: 2px dashed #4d4d57; margin-top: 4px; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: stretch; }
.plan { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; }
.plan.hi { border: 2px solid var(--accent); box-shadow: 0 0 50px rgba(215, 251, 79, 0.12); }
.plan h3 { font-size: 17px; color: var(--muted); }
.price { margin: 0 0 6px; }
.price strong { font-size: 34px; font-weight: 800; letter-spacing: -0.03em; }
.price span { color: var(--muted); font-size: 14px; display: block; }
.plan .ticks { font-size: 14px; gap: 8px; }
.plan .ticks li { align-items: flex-start; }
.plan .ticks svg { margin-top: 3px; }
.badge { position: absolute; top: -12px; right: 18px; background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 999px; }
.fine { grid-column: 1 / -1; color: var(--muted); font-size: 13px; margin: 6px 0 0; }

/* Datenschutz */
.privacy { padding: 96px 0; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card > svg { width: 30px; height: 30px; color: var(--accent); margin-bottom: 16px; }
.card p { color: var(--muted); margin: 0; }
.more { margin-top: 32px; font-weight: 700; }

/* FAQ */
.faq { padding: 40px 0 96px; }
.faq h2 { margin-bottom: 32px; }
details:not(.menu) { border-bottom: 1px solid var(--line); }
details:not(.menu):first-of-type { border-top: 1px solid var(--line); }
details:not(.menu) > summary {
  cursor: pointer; list-style: none; padding: 22px 44px 22px 0; position: relative;
  font-weight: 700; font-size: 18px;
}
details:not(.menu) > summary::-webkit-details-marker { display: none; }
details:not(.menu) > summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px;
  border-right: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent);
  transform: translateY(-70%) rotate(45deg); transition: transform 0.2s ease;
}
details:not(.menu)[open] > summary::after { transform: translateY(-25%) rotate(-135deg); }
details:not(.menu) > div { color: var(--muted); padding: 0 0 18px; }
details:not(.menu) > div p:last-child, details:not(.menu) > div ul:last-child { margin-bottom: 0; }

/* Abschluss */
.cta { padding: 96px 0 110px; position: relative; isolation: isolate; border-top: 1px solid var(--line); }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 60% at 50% 100%, rgba(215, 251, 79, 0.14), transparent 70%); }
.cta .sub { margin-bottom: 30px; }

/* Textseiten */
.doc { padding: 64px 0 96px; }
.doc h1 { font-size: clamp(36px, 5vw, 54px); }
.doc .lead { margin-bottom: 24px; }
.prose { color: #d6d6d2; }
.prose h2, .doc > .wrap > h2 { font-size: 22px; letter-spacing: -0.01em; margin: 40px 0 10px; color: var(--text); }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 1em; }
.prose li { margin-bottom: 6px; }
.prose ol li::marker { color: var(--accent); font-weight: 800; }
.prose strong { color: var(--text); }
.doc details { margin: 0; }
.contact {
  display: inline-flex; align-items: center; gap: 14px; margin: 4px 0 28px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  padding: 14px 22px 14px 16px; text-decoration: none; color: var(--text); font-weight: 700; font-size: 18px;
}
.contact:hover { border-color: var(--accent); }
.contact svg { width: 28px; height: 28px; color: var(--accent); }
.contact span { display: flex; flex-direction: column; line-height: 1.25; }
.contact small { font-size: 12px; color: var(--muted); font-weight: 600; }
.btn { display: inline-block; background: var(--accent); color: var(--accent-ink); font-weight: 800; text-decoration: none; padding: 12px 22px; border-radius: 999px; margin: 6px 4px; }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }

/* Fußzeile */
.foot { border-top: 1px solid var(--line); padding: 48px 0 40px; background: var(--bg-2); font-size: 15px; }
.foot-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; }
.foot-top p { color: var(--muted); margin: 0; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 28px 0 20px; }
.foot-links a { color: var(--text); text-decoration: none; font-weight: 600; }
.foot-links a:hover { color: var(--accent); }
.copy { color: var(--muted); font-size: 13px; margin: 0; }

/* Tablet */
@media (max-width: 980px) {
  .hero-grid, .pro-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 40px; }
  .hero-text { text-align: center; }
  .hero-text .lead { margin-inline: auto; }
  .hero .stores, .chips { justify-content: center; }
  .hero-shot { height: 560px; max-width: 520px; width: 100%; margin: 0 auto; }
  .hero-shot .phone { width: 260px; }
  .hero-shot .back { width: 236px; }
  .plans { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; width: 100%; }
  .pro-grid > div:first-child { text-align: center; }
  .pro .sub { margin-inline: auto; }
  .chain { justify-content: center; }
  .define { margin-inline: auto; }
  .qa { grid-template-columns: 1fr 1fr; }
  .qa .card, .qa .card:nth-child(n + 4) { grid-column: auto; }
  .qa .card:last-child { grid-column: 1 / -1; }
  /* Zeitstrahl senkrecht */
  .story-list { grid-template-columns: 1fr; gap: 26px; max-width: 520px; margin-inline: auto; }
  .story-list::before { left: 7px; right: auto; top: 8px; bottom: 8px; border-top: 0; border-left: 2px dashed #3b3b44; }
  .story-list li { padding: 0 0 0 40px; text-align: left; }
  .story-list li::before { left: 0; transform: none; top: 3px; }
}

/* Handy */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .hide-s { display: none; }
  .menu { display: block; }
  .bar { height: 60px; }
  .word { font-size: 20px; }
  .logo .mark { width: 28px; height: 28px; }
  .lead { font-size: 18px; }
  .sub { font-size: 17px; }
  .hero-shot { height: 470px; }
  .hero-shot .phone { width: 215px; }
  .hero-shot .front { transform: translateX(-72%); }
  .hero-shot .back { width: 195px; top: 40px; transform: translateX(-16%) rotate(6deg); }
  .step-list, .cards, .qa { grid-template-columns: 1fr; }
  .steps, .features, .network, .pro, .privacy, .cta { padding-top: 64px; padding-bottom: 64px; }
  .problem { padding: 56px 0; }
  .story { padding-top: 40px; }
  .chain { gap: 6px; }
  .chain-node { min-width: 0; padding: 10px 12px; }
  .chain-link::after { width: 20px; }
  .feature { grid-template-columns: 1fr; gap: 28px; padding: 28px 0; }
  .feature.flip .feature-text { order: 0; }
  .feature-text, .feature.flip .feature-text { justify-self: stretch; max-width: none; }
  .feature-shot .phone { width: 250px; }
  .store { min-width: 0; flex: 1 1 150px; justify-content: center; padding-inline: 12px; }
  .store span { font-size: 17px; }
  .stores { width: 100%; }
}
