/* Online Clipboard – Landingpages
   Farben gespiegelt aus lib/data.dart (kMyLightBlue, kMyDark*) */

:root {
  --brand: #00a8ff;
  --brand-strong: #0078d7;
  --bg: #ffffff;
  --bg-soft: #f5f5f5;
  --card: #ffffff;
  --border: #e2e5e9;
  --text: #16191d;
  --text-muted: #5b636d;
  --on-brand: #06121b;
  --radius: 14px;
  --maxw: 68rem;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1e1e1e;
    --bg-soft: #262626;
    --card: #2b2b2b;
    --border: #3a3a3a;
    --text: #e8eaed;
    --text-muted: #a4abb3;
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }

a { color: var(--brand-strong); }
@media (prefers-color-scheme: dark) { a { color: var(--brand); } }

/* ---------- Kopfzeile ---------- */

.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 4rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  text-decoration: none;
  margin-right: auto;
}
.brand img { width: 30px; height: 30px; display: block; }

.langnav { display: flex; gap: .15rem; font-size: .9rem; }
.langnav a {
  color: var(--text-muted);
  text-decoration: none;
  padding: .3rem .55rem;
  border-radius: 8px;
}
.langnav a:hover { background: var(--bg-soft); color: var(--text); }
.langnav a[aria-current="true"] { color: var(--text); font-weight: 600; background: var(--bg-soft); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  background: var(--brand);
  color: var(--on-brand);
  font-weight: 650;
  font-size: 1.02rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background .15s ease, transform .15s ease;
}
.btn:hover { background: var(--brand-strong); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { background: var(--bg-soft); color: var(--text); }

/* ---------- Hero ---------- */

.hero { padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(2.5rem, 6vw, 4rem); text-align: center; }
.hero img.mark { width: 108px; height: 108px; margin-bottom: 1.5rem; }
.hero h1 {
  font-size: clamp(2rem, 5.2vw, 3.1rem);
  line-height: 1.15;
  letter-spacing: -.02em;
  margin: 0 0 1rem;
}
.hero .lead {
  font-size: clamp(1.08rem, 2.2vw, 1.28rem);
  color: var(--text-muted);
  max-width: 42rem;
  margin: 0 auto 2rem;
}
.hero-actions { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }
.hero .note { margin-top: 1.1rem; font-size: .92rem; color: var(--text-muted); }

/* ---------- Abschnitte ---------- */

section { padding: clamp(2.5rem, 6vw, 4rem) 0; }
section + section { border-top: 1px solid var(--border); }

h2 {
  font-size: clamp(1.5rem, 3.4vw, 2rem);
  letter-spacing: -.015em;
  margin: 0 0 .75rem;
}
h3 { font-size: 1.12rem; margin: 0 0 .4rem; }
p { margin: 0 0 1rem; }
.section-lead { color: var(--text-muted); max-width: 46rem; margin-bottom: 2rem; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1rem;
}
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
}
.card p:last-child { margin-bottom: 0; }
.card .ico { font-size: 1.5rem; line-height: 1; display: block; margin-bottom: .6rem; }

ol.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
ol.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 2.25rem 1fr;
  gap: 1rem;
  align-items: start;
}
ol.steps li::before {
  content: counter(step);
  width: 2.25rem; height: 2.25rem;
  border-radius: 50%;
  background: var(--brand);
  color: var(--on-brand);
  display: grid; place-items: center;
  font-weight: 700; font-size: .95rem;
}
ol.steps strong { display: block; }
ol.steps span { color: var(--text-muted); }

details.faq {
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}
details.faq summary {
  cursor: pointer;
  font-weight: 620;
  font-size: 1.05rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; color: var(--brand); font-weight: 700; }
details.faq[open] summary::after { content: "−"; }
details.faq p { margin: .75rem 0 0; color: var(--text-muted); }

.cta { text-align: center; }

/* ---------- Fußzeile ---------- */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0 3rem;
  color: var(--text-muted);
  font-size: .92rem;
}
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; align-items: center; }
.site-footer a { color: var(--text-muted); }
.site-footer .spacer { margin-left: auto; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
