:root {
  color-scheme: light dark;
  --bg: #ffffff; --fg: #1b1b1f; --muted: #5b5f6a; --card: #f4f6f9; --border: #dde1e7;
  --accent: #1565c0; --accent-soft: #e3effb; --pro: #7b1fa2; --on-accent: #ffffff;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #16171b; --fg: #e8e9ec; --muted: #a4a8b2; --card: #202228; --border: #34373f;
    --accent: #64a8f0; --accent-soft: #1d2b3b; --pro: #ce93d8; --on-accent: #10141a;
  }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: system-ui, -apple-system, "Segoe UI", sans-serif; line-height: 1.6; }
a { color: var(--accent); }
.wrap { max-width: 72rem; margin: 0 auto; padding: 0 1.25rem; }

header.top { border-bottom: 1px solid var(--border); }
header.top .wrap { display: flex; align-items: center; gap: .75rem; padding-top: .8rem; padding-bottom: .8rem; }
header.top img { width: 36px; height: 36px; }
header.top b { font-size: 1.15rem; }
header.top nav { margin-left: auto; display: flex; gap: 1.2rem; font-size: .95rem; }
header.top nav a { color: var(--muted); text-decoration: none; }
header.top nav a:hover { color: var(--accent); }
@media (max-width: 720px) { header.top { flex-wrap: wrap; } header.top nav { margin-left: 0; flex-basis: 100%; flex-wrap: wrap; gap: .4rem 1rem; font-size: .9rem; } }

.hero { padding: 3.5rem 0 2rem; display: grid; grid-template-columns: 1fr; gap: 2rem; }
.hero h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); line-height: 1.15; margin: 0 0 .8rem; }
.hero p.lead { font-size: 1.15rem; color: var(--muted); margin: 0 0 1.5rem; max-width: 44rem; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; }
.cta .hint { color: var(--muted); font-size: .92rem; }
.cta a.more { font-weight: 600; text-decoration: none; }

/* Nur am Handy/Tablet (per Skript eingeblendet): die App läuft auf dem PC - Link für später an sich selbst schicken. */
.mobile-note { background: var(--accent-soft); border: 1px solid var(--accent); border-radius: 12px; padding: 1rem 1.1rem; margin: 0 0 1.5rem; }
.mobile-note b { display: block; margin-bottom: .2rem; }
.mobile-note p { margin: 0 0 .8rem; color: var(--muted); }
.mobile-note .buttons { display: flex; flex-wrap: wrap; gap: .6rem; }
.mobile-note button { font: inherit; font-weight: 600; border-radius: 8px; padding: .55rem 1rem; cursor: pointer;
  border: 1px solid var(--accent); background: transparent; color: var(--accent); }
.mobile-note button.primary { background: var(--accent); color: var(--on-accent); }
.mobile-note small { display: block; margin-top: .7rem; color: var(--muted); }

/* Screenshots: <picture> zeigt hell oder dunkel nach der Systemeinstellung des Lesers (Bilder aus dem Handbuch) */
picture { display: block; }
.shot { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--border); box-shadow: 0 10px 40px rgba(0,0,0,.18); }
.phones { display: flex; gap: 1rem; justify-content: center; align-items: flex-start; }
.phones picture { flex: 0 1 15rem; }
.phones .shot { border-radius: 18px; }

section { padding: 3rem 0; }
section h2 { font-size: 1.6rem; margin: 0 0 .5rem; }
section p.sub { color: var(--muted); margin: 0 0 2rem; max-width: 46rem; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1rem; counter-reset: step; }
.step { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 1.1rem 1.2rem 1.2rem; }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 1.8rem; height: 1.8rem;
  border-radius: 50%; background: var(--accent); color: var(--on-accent); font-weight: 700; margin-bottom: .6rem; }
.step b { display: block; margin-bottom: .2rem; }
.step span { color: var(--muted); font-size: .95rem; }

.feature { display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: center; margin-bottom: 3.5rem; }
@media (min-width: 900px) {
  .feature { grid-template-columns: 5fr 7fr; }
  .feature.flip { grid-template-columns: 7fr 5fr; }
  .feature.flip .text { order: 2; }
}
.feature h3 { font-size: 1.3rem; margin: 0 0 .5rem; }
.feature ul { padding-left: 1.2rem; margin: .5rem 0 0; }
.feature li { margin: .3rem 0; }

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 1.2rem; }
.plan { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 1.4rem 1.5rem; }
.plan h3 { margin: 0 0 .2rem; font-size: 1.25rem; }
.plan .price { color: var(--muted); margin: 0 0 1rem; }
.plan.pro .price { color: var(--fg); font-size: 1.4rem; font-weight: 700; margin-bottom: .25rem; }
.plan.pro .price small { font-size: .95rem; font-weight: 400; color: var(--muted); }
.plan p.sub { font-size: .9rem; margin: 0 0 1rem; }
.plan ul { padding-left: 1.2rem; margin: 0; }
.plan li { margin: .35rem 0; }
.plan.pro { border-color: var(--pro); }
.badge { display: inline-block; font-size: .75rem; font-weight: 700; color: var(--bg); background: var(--pro); border-radius: 4px; padding: .05rem .45rem; vertical-align: middle; margin-left: .3rem; }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1rem; }
.fact { background: var(--accent-soft); border-radius: 10px; padding: 1rem 1.2rem; }
.fact b { display: block; margin-bottom: .2rem; }

details { border-bottom: 1px solid var(--border); padding: .9rem 0; }
summary { cursor: pointer; font-weight: 600; }
details p { margin: .6rem 0 0; color: var(--muted); }
kbd { font-family: inherit; font-size: .85em; background: var(--card); border: 1px solid var(--border); border-bottom-width: 2px; border-radius: 4px; padding: .05rem .4rem; }

footer { border-top: 1px solid var(--border); margin-top: 2rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 1.2rem; padding-top: 1.2rem; padding-bottom: 2rem; font-size: .9rem; color: var(--muted); }
footer a { color: var(--muted); }

/* ---- Inhaltsseiten (deploy/vps/seiten → site/<slug>/): Zielgruppen, Funktion, Vergleich, Ratgeber, Über ---- */
.breadcrumb { font-size: .9rem; color: var(--muted); margin: 1.5rem 0 0; }
.breadcrumb a { color: var(--muted); }
.breadcrumb span::before { content: " › "; }
article.page { max-width: 46rem; }
article.page h1 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); line-height: 1.15; margin: 1rem 0 .8rem; }
article.page p.lead { font-size: 1.15rem; color: var(--muted); margin: 0 0 1.5rem; }
article.page h2 { font-size: 1.45rem; margin: 2.2rem 0 .6rem; }
article.page h3 { font-size: 1.15rem; margin: 1.6rem 0 .4rem; }
article.page .answer { background: var(--card); border-left: 4px solid var(--accent); border-radius: 8px; padding: .8rem 1rem; margin: 0 0 1.2rem; }
article.page .answer p { margin: 0; }
article.page picture { margin: 1.2rem 0; }
article.page table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: .95rem; }
article.page th, article.page td { text-align: left; vertical-align: top; padding: .5rem .6rem; border-bottom: 1px solid var(--border); }
article.page th { background: var(--card); }
article.page td.good { color: #1b6e2a; }
@media (prefers-color-scheme: dark) { article.page td.good { color: #7bd389; } }
article.page .cta-box { background: var(--accent-soft); border: 1px solid var(--accent); border-radius: 12px; padding: 1.2rem 1.4rem; margin: 2rem 0; }
article.page .cta-box h2 { margin-top: 0; }
article.page .cta-box .cta { margin-top: 1rem; }
article.page .meta { color: var(--muted); font-size: .9rem; margin: 0 0 1.5rem; }
.cards-nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1rem; margin: 1rem 0 2rem; }
.cards-nav a { display: block; background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 1rem 1.2rem; color: var(--fg); text-decoration: none; }
.cards-nav a:hover { border-color: var(--accent); }
.cards-nav b { display: block; margin-bottom: .2rem; }
.cards-nav span { color: var(--muted); font-size: .95rem; }
footer .links { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: .4rem 1rem; font-size: .88rem; }
footer .links b { color: var(--muted); font-weight: 600; }

/* ---- Startseite seit 06.10.2026: Leiste, Hero-Badge, Reiter, Entstehung, Nutzen-Kacheln, CTA-Band, Fußzeile in Spalten ---- */
.topbar { background: var(--accent-soft); font-size: .85rem; color: var(--fg); }
.topbar .wrap { display: flex; flex-wrap: wrap; gap: .2rem 2rem; padding-top: .35rem; padding-bottom: .35rem; justify-content: center; }
.topbar span::before { content: "✓ "; color: var(--accent); font-weight: 700; }
.eyebrow { display: inline-block; background: var(--accent-soft); color: var(--accent); font-weight: 600; font-size: .85rem; border-radius: 999px;
           padding: .25rem .8rem; margin-bottom: 1rem; }
a.button { display: inline-block; background: var(--accent); color: var(--on-accent); font-weight: 600; text-decoration: none; border-radius: 8px;
           padding: .65rem 1.2rem; }
a.button:hover { filter: brightness(1.08); }
.cta-hint { color: var(--muted); font-size: .92rem; margin: 1rem 0 0; }
section h2 + .cards-nav { margin-top: 1.5rem; }
.tabs { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1.5rem; border-bottom: 1px solid var(--border); padding-bottom: .8rem; }
.tabs [role=tab] { font: inherit; font-weight: 600; border: 1px solid var(--border); background: var(--card); color: var(--fg); border-radius: 999px;
                   padding: .5rem 1rem; cursor: pointer; min-height: 44px; }
.tabs [role=tab][aria-selected=true] { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.tabs [role=tab]:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.feature.panel[hidden] { display: none; }
.feature .more { font-weight: 600; text-decoration: none; display: inline-block; margin-top: .8rem; }
section.highlight { background: var(--card); border-radius: 16px; padding: 2.5rem 1.5rem; margin: 1rem 0; }
.story { max-width: 46rem; font-size: 1.05rem; }
.story p { margin: 0 0 1rem; }
.story .meta { color: var(--muted); font-size: .95rem; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1rem; }
.tile { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 1.1rem 1.2rem; }
.tile b { display: block; margin-bottom: .3rem; font-size: 1.05rem; }
.tile span { color: var(--muted); font-size: .95rem; }
.cta-band { text-align: center; background: var(--accent-soft); border-radius: 16px; padding: 2.5rem 1.5rem; }
.cta-band .sub { margin: 0 auto 1.5rem; }
.cta-band .cta { justify-content: center; }
footer .wrap.columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: 1.5rem; }
footer .col { display: flex; flex-direction: column; gap: .35rem; }
footer .col b { color: var(--fg); margin-bottom: .2rem; }
footer .copy { grid-column: 1 / -1; padding-top: .5rem; border-top: 1px solid var(--border); }
@media (max-width: 720px) { .topbar .wrap { gap: .2rem 1rem; font-size: .8rem; } section.highlight { padding: 1.5rem 1rem; } }
