:root {
  --bg: #ffffff; --bg-soft: #f6f7fb; --text: #0b1220; --muted: #4b5563;
  --line: #e5e7eb; --accent: #4f46e5; --accent2: #7c3aed; --accent-dark: #4338ca;
  --accent-soft: #eef2ff; --card: #ffffff; --ok: #059669;
  --footer-bg: #0b1220; --footer-text: #cbd5e1;
  --shadow: 0 10px 40px -12px rgba(15, 23, 42, .18);
  --shadow-lg: 0 30px 70px -20px rgba(15, 23, 42, .28);
}
html[data-theme="dark"] {
    --bg: #0a101e; --bg-soft: #0e1627; --text: #e5e9f0; --muted: #96a0b5;
    --line: #1d2740; --accent: #818cf8; --accent2: #a78bfa; --accent-dark: #6366f1;
    --accent-soft: #171d3a; --card: #101a30; --ok: #34d399;
    --footer-bg: #060b16; --footer-text: #94a3b8;
    --shadow: 0 10px 40px -12px rgba(0,0,0,.5); --shadow-lg: 0 30px 70px -20px rgba(0,0,0,.6);
  }

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg); color: var(--text); line-height: 1.65; font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 26px; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.grad { background: linear-gradient(92deg, var(--accent), var(--accent2)); -webkit-background-clip: text; background-clip: text; color: transparent; }

header.site {
  position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
header.site .wrap { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; }
.brand img { height: 42px; width: auto; display: block; }
nav.main { display: flex; gap: 26px; margin-left: auto; align-items: center; }
nav.main a { color: var(--muted); font-size: .95rem; font-weight: 550; }
nav.main a:hover { color: var(--text); text-decoration: none; }
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 12px; font-weight: 650; font-size: .97rem;
  border: 1px solid transparent; cursor: pointer; text-align: center; transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: linear-gradient(92deg, var(--accent-dark), var(--accent2)); color: #fff !important; box-shadow: 0 8px 24px -8px rgba(79,70,229,.55); }
.btn-ghost { border-color: var(--line); color: var(--text) !important; background: var(--card); }
.btn-ghost:hover { border-color: var(--accent); }
nav.main .btn { padding: 10px 20px; }
.theme-toggle {
  width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: var(--card);
  color: var(--muted); cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
}
.theme-toggle:hover { color: var(--text); border-color: var(--accent); }
.theme-toggle svg { width: 19px; height: 19px; }
html[data-theme="dark"] .theme-toggle .sonne { display: block; }
html[data-theme="dark"] .theme-toggle .mond { display: none; }
.theme-toggle .sonne { display: none; }

/* ── Hero ── */
.hero { position: relative; overflow: hidden; padding: 88px 0 70px; }
.hero::before {
  content: ""; position: absolute; inset: -40% -20% auto; height: 130%;
  background:
    radial-gradient(560px 380px at 18% 10%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%),
    radial-gradient(640px 420px at 85% 0%, color-mix(in srgb, var(--accent2) 18%, transparent), transparent 70%);
  pointer-events: none;
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
@media (max-width: 940px) { .hero .wrap { grid-template-columns: 1fr; } }
.kicker {
  display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 650; letter-spacing: .04em;
  text-transform: uppercase; color: var(--accent); background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 20px;
}
.hero h1 { font-size: clamp(2rem, 4.3vw, 3.15rem); line-height: 1.12; letter-spacing: -0.025em; margin-bottom: 20px; font-weight: 800; }
.hero p.sub { color: var(--muted); font-size: 1.14rem; margin-bottom: 30px; max-width: 540px; }
.hero .cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .klein { margin-top: 14px; font-size: .85rem; color: var(--muted); }

/* Browser-Mockup */
.mock {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden;
}
.mock .bar { display: flex; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--bg-soft); align-items: center; }
.mock .bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--line); }
.mock .bar i:nth-child(1) { background: #f87171; } .mock .bar i:nth-child(2) { background: #fbbf24; } .mock .bar i:nth-child(3) { background: #34d399; }
.mock .bar span { margin-left: 10px; font-size: .75rem; color: var(--muted); background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: 2px 12px; }
.mock .body { padding: 18px; display: grid; gap: 12px; }
.mock .zeile { display: flex; gap: 10px; align-items: center; }
.chip { font-size: .72rem; font-weight: 650; padding: 3px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); white-space: nowrap; }
.chip.gruen { background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); }
.mock .karte { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: var(--bg); }
.mock .karte b { font-size: .86rem; display: block; margin-bottom: 3px; }
.mock .karte small { color: var(--muted); font-size: .78rem; }
.mock .fluss { display: flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--muted); flex-wrap: wrap; }
.mock .fluss .pfeil { color: var(--accent); font-weight: 700; }
.balken { height: 8px; border-radius: 99px; background: var(--line); position: relative; overflow: hidden; flex: 1; }
.balken i { position: absolute; inset: 0; width: 72%; border-radius: 99px; background: linear-gradient(90deg, var(--accent), var(--accent2)); }

/* Stat-Band */
.stats { border-block: 1px solid var(--line); background: var(--bg-soft); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
@media (max-width: 920px) { .stats .wrap { grid-template-columns: repeat(2, 1fr); } .stats .stat:nth-child(3) { border-left: 0; } }
@media (max-width: 480px) { .stats .wrap { grid-template-columns: 1fr; } .stats .stat { border-left: 0; border-top: 1px solid var(--line); } .stats .stat:first-child { border-top: 0; } }
.stats .stat {
  padding: 28px 18px 24px; text-align: center; border-left: 1px solid var(--line);
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.stats .stat:first-child { border-left: 0; }
.stats b { display: block; font-size: 1.7rem; letter-spacing: -0.02em; font-weight: 800; line-height: 1.15; }
.stats span { color: var(--muted); font-size: .88rem; line-height: 1.4; text-wrap: balance; }
.stats .fn {
  grid-column: 1 / -1; text-align: center; font-size: .76rem; color: var(--muted);
  border-top: 1px solid var(--line); margin: 0 18px; padding: 12px 0 14px; opacity: .85;
}

section { padding: 84px 0; }
section.soft { background: var(--bg-soft); border-block: 1px solid var(--line); }
.seclabel { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
h2.sec { font-size: clamp(1.6rem, 3.2vw, 2.35rem); letter-spacing: -0.02em; margin-bottom: 12px; font-weight: 800; }
p.lead { color: var(--muted); max-width: 760px; margin-bottom: 40px; font-size: 1.07rem; }

/* USP */
.usp { display: grid; gap: 18px; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 1fr; }
@media (max-width: 760px) { .usp { grid-template-columns: 1fr; } }
.usp .card {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 26px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.usp .card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.usp .nr { font-size: .8rem; font-weight: 800; color: var(--accent); letter-spacing: .06em; }
.usp h3 { font-size: 1.15rem; margin: 8px 0 8px; letter-spacing: -0.01em; line-height: 1.35; }
.usp p { color: var(--muted); font-size: .95rem; text-wrap: pretty; }

/* Split-Feature */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; } }
.feature h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); letter-spacing: -0.02em; margin-bottom: 14px; font-weight: 800; }
.feature p { color: var(--muted); margin-bottom: 14px; }
.feature ul { list-style: none; display: grid; gap: 10px; margin-top: 10px; }
.feature li { display: flex; gap: 10px; align-items: flex-start; color: var(--text); font-size: .97rem; }
.feature li svg { width: 20px; height: 20px; color: var(--ok); flex-shrink: 0; margin-top: 2px; }
.feature li span b { font-weight: 700; }
.feature li span { color: var(--muted); }
.feature li span b { color: var(--text); }

/* Regel-Mockup */
.regel { border: 1px solid var(--line); background: var(--card); border-radius: 16px; box-shadow: var(--shadow); padding: 20px; display: grid; gap: 12px; }
.regel .kopf { display: flex; justify-content: space-between; align-items: center; }
.regel .kopf b { font-size: .95rem; }
.schalter { width: 40px; height: 22px; background: var(--ok); border-radius: 99px; position: relative; }
.schalter::after { content: ""; position: absolute; top: 3px; right: 3px; width: 16px; height: 16px; background: #fff; border-radius: 50%; }
.regel .stufe { border: 1px dashed var(--line); border-radius: 12px; padding: 12px 14px; font-size: .87rem; }
.regel .stufe b { color: var(--accent); font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; display: block; margin-bottom: 3px; }
.regel .plus { text-align: center; color: var(--muted); font-size: .85rem; }

/* Ersetzt */
.ersetzt { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
@media (max-width: 700px) { .ersetzt { grid-template-columns: 1fr; } }
.ersetzt .card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 22px 24px; display: flex; gap: 14px; align-items: flex-start; }
.ersetzt svg { width: 20px; height: 20px; color: var(--ok); flex-shrink: 0; margin-top: 3px; }
.ersetzt strong { display: block; margin-bottom: 2px; }
.ersetzt p { color: var(--muted); font-size: .92rem; text-wrap: pretty; }

/* Rechnung */
.rechnung { background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 10%, var(--card)), var(--card)); border: 1px solid var(--line); border-radius: 20px; padding: 40px; box-shadow: var(--shadow); }
.rechnung .zeilen { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; margin-top: 22px; text-align: center; }
.rechnung .z b { display: block; font-size: 1.9rem; font-weight: 800; letter-spacing: -0.02em; }
.rechnung .z b em { font-style: normal; color: var(--accent); }
.rechnung .z span { color: var(--muted); font-size: .88rem; }
.zitat { font-size: clamp(1.35rem, 2.7vw, 1.9rem); font-weight: 800; line-height: 1.3; letter-spacing: -0.015em; }
.zitat em { font-style: normal; color: var(--accent); }

/* FAQ */
.faq details { border: 1px solid var(--line); border-radius: 14px; background: var(--card); margin-bottom: 12px; }
.faq summary { padding: 18px 22px; font-weight: 650; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.35rem; font-weight: 500; }
.faq details[open] summary::after { content: "–"; }
.faq .antwort { padding: 0 22px 18px; color: var(--muted); font-size: .97rem; }

.abschluss { text-align: center; }
.abschluss .cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }

footer.site { background: var(--footer-bg); color: var(--footer-text); padding: 48px 0 32px; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 30px; justify-content: space-between; align-items: flex-start; }
footer.site .adr { font-style: normal; font-size: .92rem; line-height: 1.75; }
footer.site nav { display: flex; gap: 20px; flex-wrap: wrap; }
footer.site a { color: var(--footer-text); font-size: .92rem; }
footer.site a:hover { color: #fff; }
footer.site .unten { border-top: 1px solid rgba(148,163,184,.18); margin-top: 28px; padding-top: 18px; font-size: .84rem; width: 100%; }

main.rechtstext { padding: 56px 0 72px; max-width: 780px; margin: 0 auto; }
main.rechtstext h1 { font-size: 2rem; margin-bottom: 26px; letter-spacing: -0.01em; }
main.rechtstext h2 { font-size: 1.2rem; margin: 30px 0 8px; }
main.rechtstext p, main.rechtstext li { color: var(--muted); font-size: .97rem; }
main.rechtstext ul { padding-left: 22px; margin: 8px 0; }

@media (max-width: 760px) {
  nav.main a.nurDesktop { display: none; }
  .hero { padding: 56px 0 46px; }
  section { padding: 56px 0; }
  .rechnung { padding: 26px; }
}

/* Mobiles Menue (14.09.2026): unter 760px waren alle Navigationspunkte
   ausgeblendet - ohne Ersatz. Knopf und Ausklapp-Bereich schliessen die Luecke. */
.menue-knopf { display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0; border: 1px solid var(--rand, rgba(128,128,128,.35));
  border-radius: 10px; background: transparent; color: inherit; cursor: pointer; }
.menue-knopf svg { width: 24px; height: 24px; }
.menue-knopf .kreuz { display: none; }
.menue-knopf[aria-expanded="true"] .balken { display: none; }
.menue-knopf[aria-expanded="true"] .kreuz { display: block; }
.menue-knopf:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.menue-handy { display: none; }

@media (max-width: 760px) {
  .menue-knopf { display: inline-flex; }
  .menue-handy { display: block; border-top: 1px solid var(--rand, rgba(128,128,128,.25)); }
  .menue-handy[hidden] { display: none; }
  .menue-handy a { display: block; padding: 14px 18px; min-height: 44px; line-height: 1.5;
    text-decoration: none; color: inherit; border-bottom: 1px solid var(--rand, rgba(128,128,128,.18)); }
  .menue-handy a:last-child { border-bottom: 0; }
  .menue-handy a:active { background: rgba(128,128,128,.12); }
}
