:root {
  --white: #ffffff;
  --gray: #f5f5f7;
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --ink-3: #86868b;
  --hair: #d2d2d7;
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --link: #0066cc;
  --green: #30d158;
  --ease: cubic-bezier(.28, .11, .32, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 48px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -.022em;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; letter-spacing: inherit; color: inherit; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: min(980px, 100% - 44px); margin-inline: auto; }
.narrow { width: min(692px, 100% - 44px); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, .08);
}
.nav-inner { width: min(980px, 100% - 44px); margin: 0 auto; height: 48px; display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 6px; font-size: 17px; font-weight: 600; }
.logo svg { width: 16px; height: 16px; fill: var(--ink); stroke: none; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 12px; letter-spacing: -.01em; }
.nav-links a { color: rgba(0, 0, 0, .8); transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-links .nav-cta { background: var(--blue); color: #fff; padding: 4px 11px; border-radius: 980px; font-weight: 400; }
.nav-links .nav-cta:hover { background: var(--blue-hover); color: #fff; }
@media (max-width: 600px) { .nav-links a:not(.nav-cta) { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 28px; padding: 11px 22px; border-radius: 980px;
  font-size: 17px; font-weight: 400; line-height: 1.18; border: 1px solid transparent; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-hover); }
.btn-secondary { color: var(--blue); border-color: var(--blue); background: transparent; }
.btn-secondary:hover { background: var(--blue); color: #fff; }
.btn:disabled { opacity: .5; cursor: default; }
.link { color: var(--link); font-size: 19px; }
.link::after { content: ' ›'; }
.link:hover { text-decoration: underline; }

/* ---------- Hero ---------- */
.hero { padding-top: 88px; text-align: center; overflow: hidden; background: var(--white); }
.hero h1 {
  font-size: clamp(56px, 10vw, 96px); line-height: 1.02; font-weight: 700; letter-spacing: -.035em;
}
.hero-sub { font-size: clamp(24px, 3.2vw, 32px); line-height: 1.2; font-weight: 600; color: var(--ink-2); margin-top: 16px; letter-spacing: -.02em; }
.hero-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 36px; }
.hero-note { margin-top: 16px; font-size: 14px; color: var(--ink-3); letter-spacing: -.01em; }

/* iPhone mockup (Karte ohne Ergebnis = das Problem) */
.device {
  width: 340px; height: 560px; margin: 64px auto 0;
  padding: 12px 12px 0; border-radius: 56px 56px 0 0;
  background: #1d1d1f;
  box-shadow: 0 0 0 2px #3a3a3c inset, 0 40px 80px -20px rgba(0, 0, 0, .25);
}
.device-screen { position: relative; height: 100%; border-radius: 44px 44px 0 0; overflow: hidden; background: #f2efe9; text-align: left; }
.island { position: absolute; top: 11px; left: 50%; transform: translateX(-50%); width: 104px; height: 30px; border-radius: 20px; background: #000; z-index: 3; }
.statusbar { position: absolute; top: 16px; left: 34px; right: 30px; z-index: 2; display: flex; justify-content: space-between; font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.sb-icons { display: flex; gap: 4px; align-items: center; }
.sb-icons i { display: block; width: 14px; height: 9px; border-radius: 2px; background: var(--ink); }
.sb-icons i:nth-child(2) { display: none; }
.sb-icons i:nth-child(3) { width: 22px; border-radius: 3px; }
.map { position: absolute; inset: 0; }
.park { position: absolute; left: -30px; top: 190px; width: 170px; height: 120px; border-radius: 30px; background: #cfe8c6; transform: rotate(-8deg); }
.lake { position: absolute; right: -40px; top: 90px; width: 160px; height: 110px; border-radius: 50%; background: #aad3f2; }
.street { position: absolute; background: #fff; box-shadow: 0 0 0 1px #e4ded3; }
.s1 { left: -20px; right: -20px; top: 170px; height: 12px; transform: rotate(-9deg); }
.s2 { top: -20px; bottom: -20px; left: 200px; width: 12px; transform: rotate(6deg); }
.s3 { left: -20px; right: -20px; top: 340px; height: 9px; transform: rotate(4deg); }
.s4 { top: -20px; bottom: -20px; left: 70px; width: 8px; transform: rotate(-4deg); }
.me { position: absolute; left: 150px; top: 250px; width: 22px; height: 22px; border-radius: 50%; background: #007aff; border: 3px solid #fff; box-shadow: 0 0 0 14px rgba(0, 122, 255, .16), 0 2px 6px rgba(0, 0, 0, .2); }
.search {
  position: absolute; top: 58px; left: 14px; right: 14px; z-index: 2;
  display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border-radius: 12px;
  background: rgba(255, 255, 255, .86); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, .08); font-size: 15px;
}
.search svg { width: 17px; height: 17px; color: var(--ink-3); stroke-width: 2.2; }
.sheet {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 8px 20px 36px;
  background: rgba(255, 255, 255, .9); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border-radius: 24px 24px 0 0; box-shadow: 0 -6px 30px rgba(0, 0, 0, .08);
}
.grabber { width: 36px; height: 5px; border-radius: 3px; background: #c7c7cc; margin: 0 auto 16px; }
.sheet-title { font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.sheet-sub { font-size: 15px; color: var(--ink-2); margin-top: 4px; }

/* ---------- Statement ---------- */
.statement { background: #000; color: #fff; padding: 140px 0; }
.statement p {
  width: min(880px, 100% - 44px); margin: 0 auto;
  font-size: clamp(32px, 5vw, 56px); line-height: 1.1; font-weight: 700; letter-spacing: -.03em;
}
.statement span { color: #86868b; }

/* ---------- Sections ---------- */
.section { padding: 120px 0; }
.section-gray { background: var(--gray); }
.section-head { text-align: center; margin-bottom: 56px; }
.section-head h2, .signup h2 { font-size: clamp(40px, 6vw, 56px); line-height: 1.07; font-weight: 700; letter-spacing: -.03em; }
.section-head p { font-size: clamp(19px, 2.2vw, 24px); line-height: 1.3; color: var(--ink-2); margin-top: 14px; font-weight: 500; letter-spacing: -.015em; }

/* Problem-Kacheln */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile {
  position: relative; text-align: left; cursor: pointer; border: 0;
  min-height: 240px; padding: 84px 30px 32px; border-radius: 28px; background: var(--gray);
  display: flex; flex-direction: column; justify-content: flex-start; gap: 10px;
  transition: transform .4s var(--ease), background .3s, box-shadow .3s;
}
.tile:hover { transform: scale(1.015); }
.tile h3 { font-size: 24px; line-height: 1.17; font-weight: 700; letter-spacing: -.02em; }
.tile p { font-size: 17px; color: var(--ink-2); }
.check {
  position: absolute; top: 24px; right: 24px; width: 28px; height: 28px; border-radius: 50%;
  border: 1.5px solid #c7c7cc; transition: all .25s var(--ease);
}
.tile[aria-pressed="true"] { background: #fff; box-shadow: 0 0 0 2px var(--blue) inset; }
.tile[aria-pressed="true"] .check { background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 16px no-repeat; border-color: var(--blue); }

/* iOS-Liste (Umfrage) */
.list { background: #fff; border-radius: 18px; overflow: hidden; }
.poll-opt {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; width: 100%;
  padding: 18px 22px; border: 0; background: transparent; text-align: left; cursor: pointer; font-size: 17px;
  position: relative; transition: background .15s;
}
.poll-opt + .poll-opt::before { content: ''; position: absolute; top: 0; left: 22px; right: 0; height: 1px; background: #e5e5ea; }
.poll-opt:hover { background: #fafafa; }
.poll-opt:active { background: #ececf0; }
.poll-opt::after { content: ''; width: 18px; height: 18px; flex: none; }
.poll-opt[aria-checked="true"]::after {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230071e3' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.poll-thanks { text-align: center; margin-top: 20px; color: var(--ink-2); font-size: 15px; }

/* Features-Bento */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  position: relative; display: flex; flex-direction: column; gap: 28px;
  min-height: 380px; padding: 36px 32px 32px; border-radius: 28px; background: var(--gray); overflow: hidden;
}
.card-wide { grid-column: span 2; }
.card-dark { background: #000; color: #f5f5f7; }
.card-text h3 { font-size: 28px; line-height: 1.14; font-weight: 700; letter-spacing: -.025em; }
.card-text p { font-size: 17px; color: var(--ink-2); margin-top: 10px; max-width: 30em; }
.card-dark .card-text p { color: #a1a1a6; }
.card-visual { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding-bottom: 44px; }
.big-number .num { font-size: 80px; line-height: 1; font-weight: 700; letter-spacing: -.045em; }
.big-number .num small { font-size: 36px; letter-spacing: -.02em; }
.card-dark .num { background: linear-gradient(90deg, #2997ff, #5ac8fa); -webkit-background-clip: text; background-clip: text; color: transparent; }
.num.gradient { font-size: 56px; background: linear-gradient(90deg, #1d1d1f, #6e6e73); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cap { font-size: 17px; color: var(--ink-2); font-weight: 500; }
.card-dark .cap { color: #a1a1a6; }
.stars { font-size: 22px; letter-spacing: 3px; color: #ff9f0a; }
.status { display: inline-flex; align-items: center; gap: 10px; font-size: 40px; font-weight: 700; letter-spacing: -.03em; color: #248a3d; }
.status i { width: 14px; height: 14px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 6px rgba(48, 209, 88, .18); }
.chips { flex-direction: row; flex-wrap: wrap; align-content: flex-end; justify-content: flex-start; gap: 8px; }
.chips span { padding: 8px 14px; border-radius: 980px; background: #fff; font-size: 15px; font-weight: 500; }
.chips .on { background: var(--ink); color: #fff; }
.card-full { grid-column: 1 / -1; }
.card-row { min-height: 0; flex-direction: row; align-items: center; justify-content: space-between; padding: 36px 32px; }
.card-row .vote { position: static; flex: none; }

.vote {
  position: absolute; right: 24px; bottom: 24px;
  display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 16px 0 12px;
  border-radius: 980px; border: 0; cursor: pointer; font-size: 14px; font-weight: 500; letter-spacing: -.01em;
  background: rgba(0, 0, 0, .06); color: var(--ink); transition: background .2s, color .2s, transform .2s var(--ease);
}
.vote::before {
  content: ''; width: 16px; height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d1d1f' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat;
}
.vote:hover { background: rgba(0, 0, 0, .1); }
.vote:active { transform: scale(.96); }
.card-dark .vote { background: rgba(255, 255, 255, .14); color: #fff; }
.card-dark .vote::before { filter: invert(1); }
.vote[aria-pressed="true"] { background: var(--blue); color: #fff; }
.vote[aria-pressed="true"]::before {
  filter: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.features-more { text-align: center; margin-top: 48px; }

/* ---------- Signup ---------- */
.signup-card { text-align: center; }
.app-icon {
  width: 88px; height: 88px; margin: 0 auto 28px; border-radius: 22px; display: grid; place-items: center;
  background: linear-gradient(180deg, #3a3a3c, #1d1d1f); box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
}
.app-icon svg { width: 44px; height: 44px; fill: #fff; stroke: none; }
.signup-sub { font-size: 21px; line-height: 1.38; color: var(--ink-2); margin-top: 16px; }
.signup-form { display: flex; gap: 12px; max-width: 520px; margin: 40px auto 0; }
.signup-form input {
  flex: 1; min-width: 0; height: 52px; padding: 0 20px; border-radius: 14px;
  border: 1px solid var(--hair); background: #fff; font: inherit; font-size: 17px; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.signup-form input::placeholder { color: var(--ink-3); }
.signup-form input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 113, 227, .15); }
.signup-form .btn { height: 52px; padding: 0 24px; border-radius: 14px; white-space: nowrap; }
.form-msg { min-height: 1.5em; margin-top: 16px; font-size: 17px; }
.form-msg.ok { color: #248a3d; font-size: 21px; font-weight: 600; }
.form-msg.err { color: #e30000; font-size: 14px; }
.signup-card.done .signup-form { display: none; }

.form-privacy { font-size: 12px; color: var(--ink-3); margin-top: 4px; }
.form-privacy a, .footer a { color: var(--link); }
.form-privacy a:hover, .footer a:hover { text-decoration: underline; }
.signup-card.done .form-privacy { display: none; }

/* ---------- Rechtliches ---------- */
.legal { padding: 80px 0 120px; }
.legal h1 { font-size: clamp(36px, 5vw, 48px); line-height: 1.08; font-weight: 700; letter-spacing: -.03em; }
.legal-meta { color: var(--ink-3); font-size: 14px; margin-top: 10px; }
.legal h2 { font-size: 21px; font-weight: 600; margin: 40px 0 10px; letter-spacing: -.02em; }
.legal p { color: var(--ink-2); margin-top: 10px; }
.legal strong { color: var(--ink); font-weight: 600; }
.legal-back { margin-top: 48px !important; }

/* ---------- Footer ---------- */
.footer { background: var(--gray); padding: 0 0 28px; font-size: 12px; line-height: 1.33; color: var(--ink-2); letter-spacing: -.01em; }
.footer .container { border-top: 1px solid var(--hair); padding-top: 18px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--hair); }

/* ---------- Reveal-Animation ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .tile.reveal.in { transition: opacity .9s var(--ease), transform .5s var(--ease), background .3s, box-shadow .3s; }
.js .tile.reveal.in:hover { transform: scale(1.015); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .tiles, .bento { grid-template-columns: repeat(2, 1fr); }
  .card-wide { grid-column: span 2; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .hero { padding-top: 56px; }
  .device { width: 290px; height: 470px; margin-top: 48px; }
  .statement { padding: 96px 0; }
  .section { padding: 80px 0; }
  .section-head { margin-bottom: 40px; }
  .tiles, .bento { grid-template-columns: 1fr; gap: 14px; }
  .card-wide, .card-full { grid-column: auto; }
  .tile { min-height: 0; padding: 72px 24px 28px; }
  .card { min-height: 340px; padding: 30px 24px 24px; }
  .card-row { flex-direction: column; align-items: flex-start; gap: 24px; }
  .big-number .num { font-size: 64px; }
  .signup-form { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .tile, .vote { transition: none; }
}
