:root {
  --bg-top: #26385C;
  --bg-bottom: #15233E;
  --surface: #2D4065;
  --surface-deep: #24355A;
  --border: rgba(255, 255, 255, 0.10);
  --text: #F2F5FA;
  --text-secondary: rgba(235, 240, 250, 0.62);
  --accent: #2FD48E;
  --accent-deep: #20B276;
  --accent-light: #4EE3A2;
  --on-accent: #06231A;
  --gold: #F2B75C;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: linear-gradient(180deg, var(--bg-top), var(--bg-bottom)) fixed;
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Dezente Wolken */
body::before, body::after {
  content: "";
  position: fixed;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  filter: blur(18px);
  pointer-events: none;
  z-index: 0;
}
body::before { width: 340px; height: 110px; top: 8%; right: -80px; transform: rotate(-10deg); }
body::after { width: 280px; height: 90px; bottom: 12%; left: -70px; transform: rotate(8deg); }

.container { max-width: 1040px; margin: 0 auto; padding: 32px 24px 80px; position: relative; z-index: 1; }
.narrow { max-width: 760px; }

/* Header */
header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 48px;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 22px; letter-spacing: -0.3px; }
.brand img { width: 44px; height: 48px; }
nav a { color: var(--text-secondary); text-decoration: none; margin-left: 22px; font-size: 15px; font-weight: 500; }
nav a:hover { color: var(--accent); }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 72px;
}
.hero h1 {
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.12;
  letter-spacing: -1.2px;
  margin-bottom: 18px;
}
.hero h1 .gradient-text {
  background: linear-gradient(135deg, var(--accent-light), var(--accent-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.tagline { font-size: 19px; color: var(--text-secondary); margin-bottom: 26px; max-width: 46ch; }

.badges { margin-bottom: 26px; }
.badge {
  display: inline-block;
  background: rgba(47, 212, 142, 0.13);
  border: 1px solid rgba(47, 212, 142, 0.35);
  color: var(--accent);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13.5px;
  font-weight: 600;
  margin: 0 8px 10px 0;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--accent-light), var(--accent-deep));
  color: var(--on-accent);
  font-weight: 700;
  font-size: 17px;
  padding: 15px 30px;
  border-radius: 16px;
  text-decoration: none;
  box-shadow: 0 12px 34px rgba(47, 212, 142, 0.28);
  transition: transform 0.15s ease;
}
.cta:hover { transform: translateY(-2px); }
.cta-note { display: block; margin-top: 14px; font-size: 14px; color: var(--text-secondary); }

/* Pilo im Hero */
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-visual .glow {
  position: absolute;
  inset: 10% 15%;
  background: radial-gradient(circle, rgba(47, 212, 142, 0.30), transparent 70%);
  filter: blur(30px);
}
.phone {
  position: relative;
  width: min(300px, 70vw);
  border-radius: 44px;
  border: 1px solid var(--border);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  background: var(--bg-bottom);
}
.phone img { display: block; width: 100%; height: auto; }
.hero-pilo {
  position: absolute;
  width: 132px;
  bottom: -14px;
  left: -66px;
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.4));
  animation: float 5s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Sektionen */
section { margin-bottom: 72px; }
.section-label {
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}
section h2 { font-size: clamp(26px, 3.4vw, 36px); letter-spacing: -0.7px; margin-bottom: 12px; }
.section-intro { color: var(--text-secondary); max-width: 60ch; margin-bottom: 32px; font-size: 17px; }

/* Feature-Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 26px;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.card:hover { transform: translateY(-3px); border-color: rgba(47, 212, 142, 0.4); }
.card .icon {
  width: 46px; height: 46px;
  border-radius: 13px;
  background: rgba(47, 212, 142, 0.14);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  font-size: 22px;
}
.card h3 { font-size: 17px; margin-bottom: 8px; }
.card p { color: var(--text-secondary); font-size: 15px; }

/* Pilo erklärt (Sprechblase) */
.pilo-quote {
  display: flex;
  gap: 22px;
  align-items: flex-end;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 30px;
}
.pilo-quote img { width: 110px; flex-shrink: 0; }
.speech {
  background: var(--surface-deep);
  border: 1px solid rgba(47, 212, 142, 0.3);
  border-radius: 18px 18px 18px 5px;
  padding: 20px 24px;
}
.speech .who { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; font-weight: 700; color: var(--accent); margin-bottom: 6px; }
.speech p { color: var(--text); font-size: 16.5px; margin: 0; }

/* Schritte */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.step { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 26px; }
.step .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, var(--accent-light), var(--accent-deep));
  color: var(--on-accent); font-weight: 800;
  margin-bottom: 14px;
}
.step h3 { font-size: 16px; margin-bottom: 6px; }
.step p { color: var(--text-secondary); font-size: 15px; }

/* Screenshot-Reihe */
.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 22px; }
.shots figure { margin: 0; }
.shots img {
  width: 100%;
  border-radius: 28px;
  border: 1px solid var(--border);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}
.shots figcaption { text-align: center; margin-top: 12px; color: var(--text-secondary); font-size: 14px; }

/* Abschluss-CTA */
.finale {
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 52px 28px;
}
.finale img { width: 120px; margin-bottom: 18px; }
.finale h2 { margin-bottom: 10px; }
.finale p { color: var(--text-secondary); margin-bottom: 22px; }

/* Text-Seiten */
article h1 { font-size: 32px; margin-bottom: 8px; letter-spacing: -0.5px; }
article h2 { font-size: 20px; margin: 32px 0 10px; color: var(--accent); }
article h3 { font-size: 16px; margin: 20px 0 6px; }
article p, article li { color: var(--text-secondary); margin-bottom: 12px; }
article li { margin-left: 20px; margin-bottom: 6px; }
article strong { color: var(--text); }
article a { color: var(--accent); }
article .card { margin: 20px 0; }
article .card:hover { transform: none; border-color: var(--border); }
.placeholder { color: var(--gold); font-style: italic; }

footer {
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-secondary);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: center;
}
footer a { color: var(--text-secondary); text-decoration: none; }
footer a:hover { color: var(--accent); }
footer .copy { margin-left: auto; }

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; }
  .hero-visual { margin-top: 8px; }
  .hero-pilo { left: -10px; width: 104px; }
  nav a { margin-left: 14px; font-size: 14px; }
  .pilo-quote { flex-direction: column; align-items: flex-start; }
  footer .copy { margin-left: 0; }
}
