/* RicardoPlus — standalone design system. Plain CSS, no build step.
   Deliberately distinct from ricardo.team (orange/blocky) and
   kundenservice.team (blue-teal/cards): dark premium hero, emerald accent,
   Plus Jakarta Sans, receipt motif, vertical timeline. */

:root {
  --ink:      #0a0f0d;
  --ink-2:    #2f3a36;
  --muted:    #6b7770;
  --line:     #e4eae6;
  --bg:       #ffffff;
  --bg-soft:  #f3f8f5;
  --night:    #0b1512;     /* dark hero */
  --night-2:  #112019;
  --brand:    #0f9d6b;     /* emerald */
  --brand-2:  #0a7a52;
  --brand-3:  #34d39e;     /* mint highlight */
  --gold:     #e3b341;     /* warm accent for "plus" */
  --ring:     rgba(15, 157, 107, .35);
  --shadow:   0 24px 60px -22px rgba(7, 30, 22, .45);
  --shadow-sm:0 6px 20px -10px rgba(7, 30, 22, .35);
  --radius:   20px;
  --radius-sm:12px;
  --maxw:     1120px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--brand-2); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ── Nav (dark) ───────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 21, 18, .85);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: -.02em; color: #fff; font-size: 18px; }
.logo:hover { text-decoration: none; }
.logo .mark {
  position: relative;
  width: 38px; height: 38px; border-radius: 12px;
  background: linear-gradient(150deg, var(--brand-3) 0%, var(--brand) 55%, var(--brand-2) 100%);
  display: grid; place-items: center; color: #06231a; font-weight: 900; font-size: 20px;
  box-shadow: 0 8px 22px -8px rgba(15,157,107,.7);
}
.logo .mark::after {
  content: "+"; position: absolute; top: -6px; right: -6px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--gold); color: #3a2a00; font-size: 13px; font-weight: 900;
  display: grid; place-items: center; box-shadow: 0 3px 8px -2px rgba(0,0,0,.4);
}
.logo small { display: block; font-weight: 500; font-size: 11px; color: rgba(255,255,255,.55); letter-spacing: .02em; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: rgba(255,255,255,.8); font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: #fff; text-decoration: none; }
.nav-cta {
  background: var(--brand); color: #fff !important; padding: 9px 18px;
  border-radius: 999px; font-weight: 700 !important; font-size: 14px !important;
}
.nav-cta:hover { background: var(--brand-2); }

/* ── Hero (dark) ──────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 460px at 78% -10%, rgba(52,211,158,.18), transparent 60%),
    radial-gradient(700px 500px at 12% 110%, rgba(15,157,107,.16), transparent 60%),
    linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%);
  color: #eaf3ef;
  padding: 86px 0 96px;
}
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  color: #bfe9d6; padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-3); box-shadow: 0 0 0 4px rgba(52,211,158,.22); }
.hero h1 {
  margin: 22px 0 18px; font-size: 52px; line-height: 1.05;
  letter-spacing: -.03em; font-weight: 800; color: #fff;
}
.hero h1 .grad {
  background: linear-gradient(100deg, var(--brand-3), var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lede { font-size: 18.5px; color: rgba(234,243,239,.82); max-width: 560px; }
.hero-actions { display: flex; gap: 14px; margin: 30px 0 26px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 15.5px;
  border: 1px solid transparent; cursor: pointer; transition: transform .12s ease, background .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 14px 30px -12px rgba(15,157,107,.8); }
.btn-primary:hover { background: var(--brand-2); }
.btn-ghost { background: rgba(255,255,255,.05); color: #eaf3ef; border-color: rgba(255,255,255,.18); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.trust-row .chip { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: rgba(234,243,239,.75); font-weight: 500; }
.trust-row .chip svg { width: 16px; height: 16px; color: var(--brand-3); }

/* Receipt mock card */
.receipt {
  background: #fff; color: var(--ink); border-radius: 18px;
  box-shadow: var(--shadow); overflow: hidden; transform: rotate(1.4deg);
  border: 1px solid rgba(255,255,255,.5);
}
.receipt:hover { transform: rotate(0deg); transition: transform .25s ease; }
.receipt .r-top {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  color: #fff; padding: 16px 20px; display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 15px;
}
.receipt .r-top .rmark { width: 26px; height: 26px; border-radius: 8px; background: rgba(255,255,255,.2); display: grid; place-items: center; font-weight: 900; }
.receipt .r-body { padding: 20px; }
.receipt .r-line { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; }
.receipt .r-line:last-child { border-bottom: 0; }
.receipt .r-line span:first-child { color: var(--muted); }
.receipt .r-line span:last-child { font-weight: 700; }
.receipt .r-pill { display: inline-flex; align-items: center; gap: 6px; background: var(--bg-soft); color: var(--brand-2); font-weight: 700; font-size: 12.5px; padding: 4px 10px; border-radius: 999px; }
.receipt .r-foot { padding: 14px 20px; background: var(--bg-soft); font-size: 12px; color: var(--muted); text-align: center; }

/* ── Live activity ticker ─────────────────────────────────── */
.ticker-wrap {
  position: relative; display: flex; align-items: center;
  background: var(--night-2); overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: 13px 0;
}
.ticker-tag {
  flex: none; z-index: 3; display: inline-flex; align-items: center; gap: 7px;
  margin-left: 18px; margin-right: 6px; padding: 6px 14px; border-radius: 999px;
  background: #11261d; border: 1px solid rgba(52,211,158,.35);
  color: var(--brand-3); font-size: 12px; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
  box-shadow: 16px 0 18px 6px var(--night-2);
}
.ticker-tag .tk-dot { animation: tk-pulse 1.6s ease-in-out infinite; }
@keyframes tk-pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.ticker-wrap::after {
  content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 90px;
  background: linear-gradient(90deg, transparent, var(--night-2));
  pointer-events: none; z-index: 1;
}
.ticker { display: flex; gap: 14px; width: max-content; padding-left: 14px; will-change: transform; }
.tk-item {
  display: inline-flex; align-items: center; gap: 9px; white-space: nowrap;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: 999px; padding: 8px 16px; font-size: 13.5px; color: rgba(234,243,239,.78);
}
.tk-item strong { color: #fff; font-weight: 600; }
.tk-ico {
  flex: none; width: 26px; height: 26px; border-radius: 8px; margin-right: 1px;
  display: inline-grid; place-items: center; font-size: 15px; line-height: 1;
  background: linear-gradient(135deg, rgba(15,157,107,.22), rgba(52,211,158,.28));
  border: 1px solid rgba(52,211,158,.25);
}
.tk-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-3); box-shadow: 0 0 0 4px rgba(52,211,158,.16); flex: none; }
.tk-user { font-weight: 700; color: #fff; }
.tk-amt { font-weight: 700; color: var(--brand-3); }
.tk-meta { color: rgba(234,243,239,.5); }
@media (max-width: 640px) { .ticker-tag { margin-left: 12px; } }

/* ── Sections ─────────────────────────────────────────────── */
section { padding: 84px 0; }
section.alt { background: var(--bg-soft); }
.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.kicker { display: inline-block; color: var(--brand-2); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; }
.section-head h2 { font-size: 36px; line-height: 1.12; letter-spacing: -.025em; margin: 0 0 14px; font-weight: 800; }
.section-head p { font-size: 17px; color: var(--ink-2); margin: 0; }

/* Feature grid */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: #cfe6da; }
.card .ic {
  width: 46px; height: 46px; border-radius: 13px; margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(15,157,107,.12), rgba(52,211,158,.18));
  display: grid; place-items: center;
}
.card .ic svg { width: 23px; height: 23px; color: var(--brand-2); }
.card h3 { margin: 0 0 8px; font-size: 18.5px; font-weight: 700; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--ink-2); font-size: 15px; }

/* Timeline (how it works) */
.timeline { max-width: 760px; margin: 0 auto; position: relative; padding-left: 40px; }
.timeline::before { content: ""; position: absolute; left: 15px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--brand-3), var(--brand-2)); }
.tstep { position: relative; padding: 0 0 36px 28px; }
.tstep:last-child { padding-bottom: 0; }
.tstep .tnum {
  position: absolute; left: -40px; top: -2px;
  width: 32px; height: 32px; border-radius: 50%; background: var(--brand);
  color: #fff; font-weight: 800; font-size: 15px; display: grid; place-items: center;
  box-shadow: 0 0 0 5px var(--bg);
}
.tstep h3 { margin: 0 0 6px; font-size: 19px; font-weight: 700; }
.tstep p { margin: 0; color: var(--ink-2); font-size: 15.5px; }

/* Subscribe band */
.subscribe-band {
  background: linear-gradient(150deg, var(--night) 0%, var(--night-2) 100%);
  color: #eaf3ef; border-radius: 26px; padding: 52px 44px; text-align: center;
  box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.subscribe-band::before { content: ""; position: absolute; width: 320px; height: 320px; right: -80px; top: -120px; background: radial-gradient(circle, rgba(52,211,158,.22), transparent 70%); }
.subscribe-band h2 { font-size: 32px; margin: 0 0 12px; font-weight: 800; color: #fff; letter-spacing: -.02em; }
.subscribe-band > p { max-width: 560px; margin: 0 auto 26px; color: rgba(234,243,239,.82); font-size: 16.5px; }
.subscribe-form { display: flex; gap: 10px; max-width: 480px; margin: 0 auto 16px; }
.subscribe-form input {
  flex: 1; padding: 15px 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.07); color: #fff; font-size: 15.5px; font-family: inherit; outline: none;
}
.subscribe-form input::placeholder { color: rgba(234,243,239,.5); }
.subscribe-form input:focus { border-color: var(--brand-3); box-shadow: 0 0 0 4px var(--ring); }
.subscribe-form button {
  padding: 15px 28px; border-radius: 999px; border: 0; background: var(--brand);
  color: #fff; font-weight: 700; font-size: 15.5px; font-family: inherit; cursor: pointer;
}
.subscribe-form button:hover { background: var(--brand-3); color: #06231a; }
.subscribe-form button:disabled { opacity: .6; cursor: default; }
.subscribe-result { max-width: 480px; margin: 0 auto; padding: 12px 16px; border-radius: 12px; font-size: 14.5px; }
.subscribe-result.ok { background: rgba(52,211,158,.15); color: #bff3df; }
.subscribe-result.err { background: rgba(244,114,114,.15); color: #ffd2d2; }
.consent { max-width: 560px; margin: 18px auto 0; font-size: 12.5px; color: rgba(234,243,239,.6); line-height: 1.6; }
.consent a { color: var(--brand-3); }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 4px 20px; margin-bottom: 12px; background: var(--bg); }
.faq details[open] { border-color: #cfe6da; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 700; font-size: 16px; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand); font-size: 22px; font-weight: 700; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 16px; color: var(--ink-2); font-size: 15px; }

/* ── Footer ───────────────────────────────────────────────── */
.site-footer { background: var(--night); color: rgba(234,243,239,.7); padding: 56px 0 30px; }
.site-footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }
.site-footer .logo { color: #fff; }
.site-footer .blurb { margin: 14px 0 0; font-size: 14px; color: rgba(234,243,239,.6); max-width: 320px; }
.site-footer h5 { color: #fff; font-size: 14px; margin: 0 0 14px; font-weight: 700; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 9px; }
.site-footer ul a { color: rgba(234,243,239,.7); font-size: 14px; }
.site-footer ul a:hover { color: #fff; text-decoration: none; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 12.5px; color: rgba(234,243,239,.5); }

/* Legal pages */
.legal-page { max-width: 800px; margin: 0 auto; padding: 60px 24px 80px; }
.legal-page h1 { font-size: 34px; letter-spacing: -.02em; margin: 0 0 8px; }
.legal-page .updated { color: var(--muted); font-size: 14px; margin: 0 0 32px; }
.legal-page h2 { font-size: 22px; margin: 34px 0 10px; letter-spacing: -.01em; }
.legal-page p, .legal-page li { color: var(--ink-2); font-size: 15.5px; }
.legal-page a { color: var(--brand-2); }
.back-link { display: inline-block; margin-bottom: 28px; font-weight: 600; color: var(--brand-2); }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 40px; }
  .receipt { max-width: 380px; margin: 0 auto; transform: none; }
  .grid { grid-template-columns: 1fr 1fr; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .hero { padding: 56px 0 64px; }
  .hero h1 { font-size: 33px; }
  .grid { grid-template-columns: 1fr; }
  .subscribe-form { flex-direction: column; }
  .subscribe-band { padding: 40px 24px; }
  section { padding: 60px 0; }
  .site-footer .cols { grid-template-columns: 1fr; }
}
