/* PingHub – statisches Stylesheet
   Reines CSS, kein Framework. Tokens oben, Komponenten darunter. */

:root {
  --bg: #0b0b14;
  --bg-soft: #14141f;
  --card: rgba(255,255,255,0.04);
  --card-border: rgba(255,255,255,0.08);
  --fg: #f4f4f5;
  --muted: #a1a1aa;
  --brand-1: #ff4d8d;
  --brand-2: #8b5cf6;
  --brand-3: #22d3ee;
  --gradient-brand: linear-gradient(135deg, var(--brand-1), var(--brand-2) 60%, var(--brand-3));
  --shadow-glow: 0 20px 60px -20px rgba(139,92,246,0.55);
  --radius: 14px;
  --radius-lg: 22px;
  --container: 1200px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, sans-serif;
  background: radial-gradient(1200px 600px at 80% -10%, rgba(139,92,246,.18), transparent 60%),
              radial-gradient(900px 500px at -10% 30%, rgba(255,77,141,.14), transparent 60%),
              var(--bg);
  color: var(--fg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

/* Layout */
.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
.container.narrow { max-width: 760px; }
.section { padding: 6rem 0; }
.section-head { text-align: center; margin-bottom: 3rem; }
.center { text-align: center; }
.center-screen { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.mt-2 { margin-top: .5rem; } .mt-3 { margin-top: .75rem; }
.mt-4 { margin-top: 1rem; } .mt-5 { margin-top: 1.5rem; } .gap-lg { gap: 3rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11,11,20,.7); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--card-border);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.5rem; }
.brand { display: flex; align-items: center; gap: .5rem; text-decoration: none; color: var(--fg); }
.brand-mark { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: var(--gradient-brand); color: var(--bg); }
.brand-name { font-weight: 700; font-size: 1.15rem; letter-spacing: -.01em; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: .9rem; }
.nav-links a:hover { color: var(--fg); }
@media (max-width: 720px) { .nav-links a { display: none; } }

/* Typography */
.h1 { font-size: clamp(2.4rem, 5.5vw, 4.5rem); font-weight: 800; line-height: 1.05; margin: 0 0 1rem; letter-spacing: -.02em; }
.h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; margin: 0 0 .5rem; letter-spacing: -.01em; }
.h4 { font-size: 1.1rem; font-weight: 700; margin: 0; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.xs { font-size: .75rem; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 32rem; margin: 0 0 2rem; }
.lead-sm { font-size: 1rem; margin-bottom: 1rem; }
.gradient-text { background: var(--gradient-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Hero */
.hero { padding: 5rem 1.5rem 8rem; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.cta-row { display: flex; gap: .75rem; flex-wrap: wrap; }
.checks { list-style: none; padding: 0; margin: 2.5rem 0 0; display: flex; gap: 1.5rem; color: var(--muted); font-size: .9rem; }
.checks li { color: var(--muted); }

/* Phone mock */
.hero-visual { position: relative; }
.phone-glow { position: absolute; inset: 0; background: var(--gradient-brand); filter: blur(80px); opacity: .35; border-radius: 50%; }
.phone {
  position: relative; aspect-ratio: 9/19; max-width: 320px; margin: 0 auto;
  background: linear-gradient(180deg, #1a1a2e, #0f0f1c);
  border-radius: 40px; padding: 14px; border: 1px solid var(--card-border);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.6);
}
.phone-screen { background: #07070d; border-radius: 28px; height: 100%; padding: 1.5rem 1rem; display: flex; flex-direction: column; gap: .75rem; }
.phone-time { color: var(--muted); font-size: .75rem; text-align: center; }
.notif {
  background: rgba(255,255,255,0.05); border: 1px solid var(--card-border); border-radius: 14px;
  padding: .75rem .9rem; display: flex; align-items: center; gap: .75rem; font-size: .85rem;
  animation: notifIn .6s ease both;
}
.notif:nth-child(2) { animation-delay: .2s; }
.notif:nth-child(3) { animation-delay: .4s; }
.notif:nth-child(4) { animation-delay: .6s; }
.notif::before { content: attr(data-icon); font-size: 1.25rem; }
.notif b { display: block; font-weight: 600; }
.notif span { color: var(--muted); font-size: .78rem; }
@keyframes notifIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; cursor: pointer; border: 0; font-weight: 600; font-size: .95rem; padding: .7rem 1.2rem; border-radius: 12px; text-decoration: none; transition: transform .15s ease, opacity .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--gradient-brand); color: #fff; box-shadow: var(--shadow-glow); }
.btn-outline { background: transparent; color: var(--fg); border: 1px solid var(--card-border); }
.btn-light { background: #fff; color: #111; }
.btn-pill { border-radius: 999px; }
.btn-lg { padding: .9rem 1.6rem; font-size: 1rem; }
.btn-sm { padding: .5rem .9rem; font-size: .85rem; }
.btn-block { width: 100%; }
.link-btn { background: none; border: 0; color: var(--muted); cursor: pointer; width: 100%; text-align: center; }
.link-btn:hover { color: var(--fg); }

/* Badge */
.badge { display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .75rem; border-radius: 999px; font-size: .75rem; border: 1px solid rgba(139,92,246,.4); background: rgba(139,92,246,.12); color: #c4b5fd; margin-bottom: 1.25rem; }
.badge-soft { background: rgba(255,77,141,.1); color: #ff8fb3; border-color: rgba(255,77,141,.3); }
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* Cards */
.card { background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius-lg); padding: 1.75rem; backdrop-filter: blur(12px); }
.card .icon-square { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--gradient-brand); margin-bottom: 1rem; font-size: 1.4rem; }
.card .step-num { color: #c4b5fd; font-family: ui-monospace, monospace; font-size: .8rem; margin-bottom: .25rem; }
.card h3 { margin: 0 0 .35rem; font-size: 1.2rem; }
.card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.cards-3 { display: grid; gap: 1rem; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 800px) { .cards-3 { grid-template-columns: 1fr; } }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; gap: 2rem; } }
.big-card { padding: 3rem; position: relative; overflow: hidden; }
.big-card::before { content: ""; position: absolute; top: -8rem; right: -8rem; width: 24rem; height: 24rem; border-radius: 50%; background: var(--gradient-brand); opacity: .25; filter: blur(80px); }

/* Feature list */
.feature-list { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .75rem; }
.feature-list li::before { content: "✓"; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 999px; background: var(--gradient-brand); color: #fff; margin-right: .75rem; font-size: .7rem; }

/* Site list */
.site-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.site-list li.site-row { display: flex; align-items: center; gap: 1rem; padding: .75rem; border-radius: 14px; background: rgba(255,255,255,.04); }
.site-list .site-logo { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: #fff; font-size: 1.2rem; flex-shrink: 0; }
.site-list .site-name { font-weight: 600; font-size: .9rem; }
.site-list .site-msg { color: var(--muted); font-size: .8rem; }
.site-list .site-time { color: var(--muted); font-size: .75rem; margin-left: auto; }

/* Code */
.code { background: rgba(0,0,0,.5); border: 1px solid var(--card-border); border-radius: 14px; padding: 1.25rem; overflow-x: auto; font-family: ui-monospace, monospace; font-size: .8rem; color: rgba(255,255,255,.85); }

/* FAQ */
.faq { display: grid; gap: .75rem; }
.faq details { background: var(--card); border: 1px solid var(--card-border); border-radius: 14px; padding: 1rem 1.25rem; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--muted); }
.faq details[open] summary::after { content: "−"; }
.faq p { color: var(--muted); margin: .75rem 0 0; font-size: .9rem; }

/* CTA */
.cta-card { padding: 3.5rem 2rem; text-align: center; border-radius: var(--radius-lg); background: var(--gradient-brand); color: #fff; box-shadow: var(--shadow-glow); }
.cta-card h2 { color: #fff; }
.cta-card p { opacity: .85; margin-bottom: 2rem; }

/* Footer */
.footer { padding: 2rem 1.5rem; text-align: center; color: var(--muted); font-size: .85rem; border-top: 1px solid var(--card-border); margin-top: 4rem; }

/* Auth */
.auth-card { width: 100%; max-width: 440px; background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius-lg); padding: 2.5rem; backdrop-filter: blur(12px); }
.form { display: grid; gap: 1rem; }
.field { display: grid; gap: .35rem; }
.field label { font-size: .85rem; color: var(--muted); }
.field input { background: rgba(0,0,0,.35); border: 1px solid var(--card-border); border-radius: 10px; padding: .7rem .9rem; color: var(--fg); font: inherit; }
.field input:focus { outline: 2px solid var(--brand-2); outline-offset: 1px; }

/* Toast */
.toast { position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%); background: #1a1a2e; border: 1px solid var(--card-border); padding: .75rem 1.2rem; border-radius: 12px; box-shadow: 0 10px 40px rgba(0,0,0,.4); }
.toast.error { border-color: #ef4444; }

/* Reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
