/* No-Trace – Produktseite no-trace.info (statisch, ohne JavaScript, ohne externe Quellen) */
/* Space Grotesk (Titel), SIL OFL 1.1 – assets/OFL-SpaceGrotesk.txt */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-display: swap;
  font-weight: 300 700;
  src: url(assets/space-grotesk-latin-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-display: swap;
  font-weight: 300 700;
  src: url(assets/space-grotesk-latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* Farben wie in der App (public/css/app.css) */
:root {
  --brand: #1565c0;
  --brand-strong: #0d4a94;
  --brand-ink: #ffffff;
  --brand-tint: #e3edfb;
  --bg: #f4f6f9;
  --surface: #ffffff;
  --ink: #18202b;
  --muted: #5f6b7a;
  --line: #dfe4ea;
  --ok: #2e7d32;
  --hero-a: #0d3f7a;
  --hero-b: #1565c0;
  --radius: 14px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --brand: #5c9ded;
    --brand-strong: #8ab9f3;
    --brand-ink: #0b1420;
    --brand-tint: #1d3350;
    --bg: #0f141a;
    --surface: #18202a;
    --ink: #e7ecf2;
    --muted: #94a1b2;
    --line: #2a3542;
    --ok: #6ccf73;
    --hero-a: #0a1a2e;
    --hero-b: #123c6e;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font: 17px/1.55 var(--font);
  background: var(--bg);
  color: var(--ink);
  -webkit-text-size-adjust: 100%;
}
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 .6rem; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5.5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3.6vw, 2.2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 .8rem; }
a { color: var(--brand); }
img { max-width: 100%; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.center { text-align: center; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 10; }

/* Kopfzeile */
.top {
  position: sticky; top: 0; z-index: 5;
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; gap: 16px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo img { width: 36px; height: 36px; border-radius: 9px; }
.logo strong { font-family: var(--font-display); font-size: 1.2rem; }
.logo span { display: block; font-size: .72rem; color: var(--muted); line-height: 1.1; }
/* Menü im Stil der Chat-Knöpfe: Produkt-Umschalter (Messenger | Website-Chat) + Sprungmarken als Pillen */
.nav { margin-left: auto; display: flex; gap: 14px; align-items: center; }
.nav a { text-decoration: none; }
.switch { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); }
.switch a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 13px; border-radius: 999px; color: var(--muted); font-size: .9rem; font-weight: 600; white-space: nowrap; transition: background .15s, color .15s; }
.switch a:hover { color: var(--brand); background: var(--surface); }
.switch a[aria-current="page"] { background: var(--brand); color: var(--brand-ink); box-shadow: 0 2px 8px rgba(13, 63, 122, .25); }
.switch svg { width: 17px; height: 17px; flex: none; }
.switch em { font-style: normal; font-size: .66rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; padding: 1px 6px; border-radius: 999px; background: #f5b335; color: #3b2600; }
.nav .links { display: flex; gap: 4px; }
.nav .links a { padding: 7px 12px; border-radius: 999px; border: 1px solid transparent; color: var(--ink); font-size: .92rem; white-space: nowrap; transition: background .15s, border-color .15s, color .15s; }
.nav .links a:hover { color: var(--brand); border-color: var(--brand); background: var(--brand-tint); }
.nav .btn { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.nav .btn svg { width: 17px; height: 17px; }
section[id] { scroll-margin-top: 72px; }
/* Schmal: Logo + Knopf oben, darunter eine Zeile Pillen zum Wischen (ohne JavaScript) */
@media (max-width: 1080px) {
  .top .wrap { flex-wrap: wrap; height: auto; padding-top: 10px; gap: 8px 12px; }
  .nav { display: contents; }
  .nav .btn { margin-left: auto; }
  .nav .row { order: 3; width: calc(100% + 32px); margin: 0 -16px; padding: 2px 16px 10px; display: flex; gap: 8px; align-items: center; overflow-x: auto; scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .nav .row::-webkit-scrollbar { display: none; }
  .nav .row::after { content: ''; flex: 0 0 24px; }
  .switch { flex: none; }
  .nav .links { flex: none; }
  .nav .links a { border-color: var(--line); background: var(--surface); font-size: .88rem; padding: 6px 12px; }
  section[id] { scroll-margin-top: 120px; }
}
@media (min-width: 1081px) { .nav .row { display: contents; } }

/* Knöpfe */
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 999px;
  background: var(--brand); color: var(--brand-ink) !important;
  text-decoration: none; font-weight: 600; border: 2px solid var(--brand);
}
.btn:hover { filter: brightness(1.08); }
.btn.ghost { background: transparent; color: var(--brand) !important; }
.btn.light { background: #fff; color: #0d3f7a !important; border-color: #fff; }
.btn.light.ghost { background: transparent; color: #fff !important; }
.nav .btn { padding: 8px 16px; font-size: .9rem; }

/* Startbereich */
.hero {
  background: linear-gradient(135deg, var(--hero-a), var(--hero-b));
  color: #fff; overflow: hidden;
}
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.hero p.lead { font-size: 1.2rem; opacity: .92; max-width: 34em; }
.hero .eyebrow { display: inline-block; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; opacity: .85; margin-bottom: 12px; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 18px; }
.hero ul.ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .95rem; opacity: .92; }
.hero ul.ticks li::before { content: '✓ '; font-weight: 700; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 56px; } }

/* Handy-Attrappe mit Chat */
.phone {
  width: min(300px, 100%); margin: 0 auto; aspect-ratio: 9 / 18.5;
  background: #0b1420; border-radius: 38px; padding: 12px;
  box-shadow: 0 30px 60px rgba(0,0,0,.35), inset 0 0 0 2px rgba(255,255,255,.08);
}
.screen { height: 100%; border-radius: 28px; background: #f4f6f9; color: #18202b; display: flex; flex-direction: column; overflow: hidden; font-size: .82rem; }
.screen .bar { background: #fff; border-bottom: 1px solid #dfe4ea; padding: 12px 14px; display: flex; align-items: center; gap: 10px; }
.screen .av { width: 30px; height: 30px; border-radius: 50%; background: #e3edfb; color: #1565c0; display: grid; place-items: center; font-weight: 700; font-size: .8rem; }
.screen .bar b { display: block; font-size: .85rem; }
.screen .bar small { color: #2e7d32; font-size: .7rem; }
.screen .msgs { flex: 1; padding: 14px 12px; display: flex; flex-direction: column; gap: 8px; justify-content: flex-end; }
.bub { max-width: 80%; padding: 8px 11px; border-radius: 14px; background: #fff; border: 1px solid #dfe4ea; line-height: 1.35; }
.bub.me { align-self: flex-end; background: #1565c0; color: #fff; border-color: #1565c0; border-bottom-right-radius: 4px; }
.bub:not(.me) { border-bottom-left-radius: 4px; }
.bub small { display: block; text-align: right; opacity: .7; font-size: .65rem; margin-top: 2px; }
.screen .sys { align-self: center; font-size: .68rem; color: #5f6b7a; background: #e3edfb; padding: 3px 10px; border-radius: 999px; }
.screen .input { margin: 0 10px 12px; background: #fff; border: 1px solid #dfe4ea; border-radius: 999px; padding: 9px 14px; color: #5f6b7a; }

/* Abschnitte */
section.block { padding: 80px 0; }
section.block.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.head { max-width: 46em; margin: 0 auto 40px; text-align: center; }
.head p { color: var(--muted); font-size: 1.08rem; }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; hyphens: auto; overflow-wrap: break-word; }
section.alt .card { background: var(--bg); }
.card .ico { font-size: 1.7rem; line-height: 1; margin-bottom: 12px; display: block; }
.card p { color: var(--muted); margin: 0; }

/* Verschlüsselung: Schaubild */
.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 12px; align-items: center; max-width: 820px; margin: 0 auto 32px; }
.flow .node { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 12px; text-align: center; }
.flow .node span { display: block; font-size: 1.8rem; }
.flow .node code { display: block; margin-top: 6px; color: var(--muted); font-size: .9rem; }
.flow .arrow { color: var(--brand); font-size: 1.4rem; text-align: center; }
@media (max-width: 640px) {
  .flow { grid-template-columns: 1fr; }
  .flow .arrow { transform: rotate(90deg); }
}
ol.steps { max-width: 760px; margin: 0 auto; padding-left: 1.3rem; }
ol.steps li { margin-bottom: .6rem; }

/* Ablauf */
.steps3 { counter-reset: s; }
.steps3 .card { position: relative; padding-top: 52px; }
.steps3 .card::before {
  counter-increment: s; content: counter(s);
  position: absolute; top: 18px; left: 24px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--brand); color: var(--brand-ink); display: grid; place-items: center; font-weight: 700; font-size: .9rem;
}

/* Preise */
.prices { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); align-items: stretch; }
.price { display: flex; flex-direction: column; }
.prices.two { max-width: 780px; margin: 0 auto; }
.price .amount + p { margin: 0; }
.price.top-pick { border: 2px solid var(--brand); position: relative; }
.price .badge { position: absolute; top: -12px; left: 24px; background: var(--brand); color: var(--brand-ink); font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.price .amount { font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; margin: 6px 0 2px; color: var(--ink); }
.price .amount small { font-size: 1rem; font-weight: 500; color: var(--muted); }
.price ul { list-style: none; padding: 0; margin: 16px 0 24px; flex: 1; }
.price ul li { padding: 5px 0 5px 24px; position: relative; color: var(--ink); }
.price ul li::before { content: '✓'; position: absolute; left: 0; color: var(--ok); font-weight: 700; }
.price .btn { text-align: center; }

/* Fragen */
details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; margin: 0 auto 12px; max-width: 820px; }
details summary { cursor: pointer; font-weight: 600; }
details p { margin: 12px 0 0; color: var(--muted); }

/* Abschluss-Aufruf */
.cta-band { background: linear-gradient(135deg, var(--hero-a), var(--hero-b)); color: #fff; text-align: center; padding: 72px 0; }
.cta-band p { opacity: .92; max-width: 36em; margin: 0 auto 24px; }
.cta-band .cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

/* Fußzeile */
footer { padding: 36px 0; font-size: .9rem; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between; }
footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
footer a { color: var(--muted); }
footer .copy span { white-space: nowrap; }
@media (max-width: 600px) {
  footer .wrap { flex-direction: column; align-items: center; text-align: center; }
  footer .copy span { display: block; }
  footer .copy .sep { display: none; }
  footer nav { justify-content: center; }
}

/* Rechtstexte */
.legal { max-width: 780px; margin: 0 auto; padding: 48px 16px 72px; }
.legal h2 { font-size: 1.3rem; margin-top: 2rem; }
.legal address { font-style: normal; }
.gap-top { margin-top: 40px; }
.gap-top-s { margin-top: 20px; }
.nav .btn { white-space: nowrap; }
@media (max-width: 360px) { .nav .btn svg { display: none; } }
@media (max-width: 420px) {
  .logo span { display: none; }
  .nav .btn { padding: 7px 12px; font-size: .85rem; }
  .switch em { display: none; }
  .phone { width: 260px; aspect-ratio: auto; }
  .screen .msgs { min-height: 300px; }
}

/* Produkt-Karten (Startseite): Messenger | Website-Chat */
.products { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.product { position: relative; display: flex; flex-direction: column; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 26px; overflow: hidden; }
section.alt .product { background: var(--bg); }
.product.hot { border: 2px solid var(--brand); box-shadow: 0 18px 40px rgba(13, 63, 122, .14); }
.product .tag { position: absolute; top: 18px; right: 18px; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; background: #f5b335; color: #3b2600; }
.product .pico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-tint); color: var(--brand); }
.product .pico svg { width: 26px; height: 26px; }
.product h3 { font-size: 1.4rem; margin: 0; }
.product p { color: var(--muted); margin: 0; }
.product .from { font-family: var(--font-display); font-weight: 700; color: var(--ink); }
.product .from small { font-family: var(--font); font-weight: 400; color: var(--muted); }
.product .acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.product .btn { padding: 10px 18px; }
/* Mini-Chat in den Karten */
.mini { display: flex; flex-direction: column; gap: 7px; padding: 14px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); font-size: .86rem; }
section.alt .mini { background: var(--surface); }
.mini .bub { max-width: 85%; }
.mini .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.mini .chips span { border: 1px solid var(--brand); color: var(--brand); border-radius: 999px; padding: 3px 10px; font-size: .78rem; }
@media (prefers-color-scheme: dark) {
  .mini .bub:not(.me) { background: var(--surface); border-color: var(--line); color: var(--ink); }
  .mini .bub.me { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
}

/* Browser-Vorschau mit Chatfenster (Seite Website-Chat) */
.browser { width: 100%; max-width: 470px; margin: 0 auto; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 30px 60px rgba(0, 0, 0, .35); color: #18202b; font-size: .82rem; }
.browser .b-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: #e9edf2; }
.browser .b-bar i { width: 10px; height: 10px; border-radius: 50%; background: #c5ccd6; }
.browser .b-bar i:nth-child(1) { background: #f26b5b; } .browser .b-bar i:nth-child(2) { background: #f5b335; } .browser .b-bar i:nth-child(3) { background: #44c26a; }
.browser .b-bar span { flex: 1; margin-left: 8px; background: #fff; border-radius: 999px; padding: 3px 12px; color: #5f6b7a; font-size: .74rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser .b-page { position: relative; height: 430px; padding: 18px; background: linear-gradient(#f7f9fb, #eef2f6); }
.browser .sk { height: 10px; border-radius: 6px; background: #dde3ea; margin-bottom: 10px; }
.browser .sk.h { height: 22px; width: 55%; background: #c9d3de; margin-bottom: 16px; }
.browser .sk.w70 { width: 70%; } .browser .sk.w40 { width: 40%; }
.browser .sk.img { height: 90px; width: 100%; border-radius: 10px; margin: 16px 0; }
.w-panel { position: absolute; right: 14px; bottom: 76px; width: 260px; max-width: calc(100% - 28px); border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid #e2e8f0; box-shadow: 0 12px 30px rgba(0, 0, 0, .22); }
.w-head { display: flex; align-items: center; gap: 8px; padding: 9px 10px; background: #b4462b; color: #fff; }
.w-head .av { width: 28px; height: 28px; border-radius: 50%; background: #fff; color: #b4462b; display: grid; place-items: center; font-weight: 800; font-size: .7rem; }
.w-head b { display: block; font-size: .82rem; } .w-head small { display: block; font-size: .68rem; opacity: .9; }
.w-log { display: flex; flex-direction: column; gap: 6px; padding: 10px; background: #f1f5f9; }
.w-log .bub { font-size: .76rem; max-width: 88%; }
.w-log .bub.me { background: #b4462b; border-color: #b4462b; }
.w-chips { display: flex; flex-wrap: wrap; gap: 5px; padding: 8px 10px 4px; }
.w-chips span { border: 1px solid #b4462b; color: #b4462b; border-radius: 999px; padding: 2px 8px; font-size: .7rem; }
.w-foot { text-align: center; font-size: .62rem; color: #64748b; padding: 4px 0 7px; }
.w-launch { position: absolute; right: 14px; bottom: 14px; width: 50px; height: 50px; border-radius: 50%; background: #b4462b; display: grid; place-items: center; color: #fff; box-shadow: 0 6px 16px rgba(0, 0, 0, .25); }
.w-launch svg { width: 26px; height: 26px; }
@media (max-width: 420px) { .browser .b-page { height: 410px; } .w-panel { width: auto; left: 14px; } }

/* Neuigkeit im Startbereich */
.news { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 5px 14px 5px 5px; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28); color: #fff; text-decoration: none; font-size: .9rem; font-weight: 600; }
.news:hover { background: rgba(255, 255, 255, .22); }
.news em { font-style: normal; font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; background: #f5b335; color: #3b2600; }
.hero .news + .eyebrow { display: block; }

/* Hinweis auf den Chat unten rechts */
.try-hint { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: .92rem; opacity: .92; }
.try-hint::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: #44c26a; box-shadow: 0 0 0 4px rgba(68, 194, 106, .25); }
