/* --- Schriften, lokal ausgeliefert (kein Google-Aufruf) ------------------- */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/bricolage-grotesque-latin-ext-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/bricolage-grotesque-latin-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/bricolage-grotesque-latin-ext-700-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/bricolage-grotesque-latin-700-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('fonts/bricolage-grotesque-latin-ext-800-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('fonts/bricolage-grotesque-latin-800-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/ibm-plex-sans-latin-ext-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/ibm-plex-sans-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/ibm-plex-sans-latin-ext-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/ibm-plex-sans-latin-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/ibm-plex-sans-latin-ext-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/ibm-plex-sans-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/ibm-plex-mono-latin-ext-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/ibm-plex-mono-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/ibm-plex-mono-latin-ext-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/ibm-plex-mono-latin-500-normal.woff2') format('woff2');
}

/* ==========================================================================
   Kaptr — Verkaufsseite
   Ein Token-Satz, zwei Themes. Alle Farben stehen hier oben.
   ========================================================================== */

:root {
  --ink: #12161f;
  --ink-soft: #4d5768;
  --ink-faint: #7c8698;
  --ground: #f4f5f8;
  --panel: #ffffff;
  --panel-2: #eef0f5;
  --line: rgba(18, 22, 31, 0.11);
  --line-soft: rgba(18, 22, 31, 0.06);
  --accent: #3d6df0;
  --accent-soft: rgba(61, 109, 240, 0.12);
  --good: #16a97a;
  --shadow: 0 30px 70px -32px rgba(18, 22, 31, 0.4);

  --display: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --body: 'IBM Plex Sans', 'Segoe UI', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, monospace;

  --max: 1140px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --ink: #e9edf5;
    --ink-soft: #97a1b5;
    --ink-faint: #6a7387;
    --ground: #0b0e14;
    --panel: #131822;
    --panel-2: #182031;
    --line: rgba(255, 255, 255, 0.1);
    --line-soft: rgba(255, 255, 255, 0.05);
    --accent: #6d95ff;
    --accent-soft: rgba(109, 149, 255, 0.16);
    --good: #43d6a0;
    --shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.85);
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin: 0;
}

p { margin: 0; }
a { color: var(--accent); }

.eyebrow {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* --- Kopfzeile ------------------------------------------------------------ */
header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--ground) 82%, transparent);
  border-bottom: 1px solid var(--line-soft);
}

.bar { display: flex; align-items: center; gap: 12px; height: 66px; }
.mark { width: 30px; height: 30px; border-radius: 9px; display: block; }
.wordmark { font-family: var(--display); font-weight: 800; font-size: 18px; letter-spacing: -0.03em; }

.bar nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  color: var(--ink-soft);
}

.bar nav a { text-decoration: none; color: inherit; }
.bar nav a:hover { color: var(--ink); }
.bar nav a.btn { color: #fff; }

@media (max-width: 760px) { .bar nav a:not(.btn) { display: none; } }

/* --- Schaltflächen -------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 48px;
  padding: 0 24px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink);
  font-family: var(--body);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 140ms cubic-bezier(0.32, 0.72, 0, 1), border-color 140ms ease, background 140ms ease;
}

.btn:hover { transform: translateY(-1px); border-color: var(--accent); }
.btn--primary { background: var(--accent); border-color: transparent; color: #fff; }
.btn--primary:hover { background: color-mix(in srgb, var(--accent) 86%, #fff); }
.btn--sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn[aria-disabled='true'] { opacity: 0.5; pointer-events: none; }
.btn small { font-family: var(--mono); font-size: 11px; font-weight: 400; opacity: 0.75; }

/* --- Hero ----------------------------------------------------------------- */
.hero { padding: 84px 0 40px; position: relative; overflow: hidden; }

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(ellipse 70% 60% at 30% 0%, #000 20%, transparent 75%);
  pointer-events: none;
}

.hero > .wrap { position: relative; }
.hero h1 { font-size: clamp(40px, 6.4vw, 68px); line-height: 1.02; max-width: 15ch; margin: 18px 0 0; }
.hero h1 em { font-style: normal; color: var(--accent); }
.lede { max-width: 56ch; margin-top: 20px; font-size: 18px; color: var(--ink-soft); }

.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 32px; }
.trial-note { margin-top: 16px; font-family: var(--mono); font-size: 12.5px; color: var(--ink-faint); }

/* --- Bilder --------------------------------------------------------------- */
.shot { margin: 60px auto 0; max-width: 1040px; position: relative; }

.shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.brackets::before, .brackets::after {
  content: '';
  position: absolute;
  width: 22px;
  height: 22px;
  border: 2px solid var(--accent);
  pointer-events: none;
}

.brackets::before { top: -9px; left: -9px; border-right: 0; border-bottom: 0; border-radius: 4px 0 0 0; }
.brackets::after { right: -9px; bottom: -9px; border-left: 0; border-top: 0; border-radius: 0 0 4px 0; }

.shot__badge {
  position: absolute;
  top: -13px;
  right: 14px;
  padding: 4px 10px;
  border-radius: 7px;
  background: var(--accent);
  color: #fff;
  font-family: var(--mono);
  font-size: 11px;
}

/* --- Abschnitte ----------------------------------------------------------- */
section { padding: 88px 0; }
.section-head { max-width: 62ch; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 38px); margin-top: 14px; }
.section-head p { margin-top: 14px; color: var(--ink-soft); }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 44px;
}

.card {
  padding: 26px 24px 28px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--panel);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card h3 { font-size: 18px; }
.card p { color: var(--ink-soft); font-size: 14.5px; }

.card__icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 4px;
}

kbd {
  font-family: var(--mono);
  font-size: 11.5px;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  background: var(--panel-2);
  color: var(--ink-soft);
}

.keys { display: flex; gap: 6px; margin-top: 6px; flex-wrap: wrap; }

.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 54px; align-items: center; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; gap: 34px; } }

.split img { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); box-shadow: var(--shadow); }

.checklist { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.checklist li { display: flex; gap: 11px; align-items: flex-start; color: var(--ink-soft); font-size: 15px; }
.checklist li > span { flex: 1; min-width: 0; }
.checklist kbd { margin: 0 1px; }
.checklist svg { flex-shrink: 0; margin-top: 4px; color: var(--accent); }

/* --- Kaufen --------------------------------------------------------------- */
.buy-band { background: var(--panel); border-block: 1px solid var(--line); }
.buy { display: grid; grid-template-columns: minmax(230px, 300px) 1fr; gap: 56px; align-items: start; }
@media (max-width: 820px) { .buy { grid-template-columns: 1fr; } }

.price__tag { display: flex; align-items: baseline; gap: 10px; margin-top: 14px; }
.price__amount { font-family: var(--display); font-size: 68px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.price__cur { font-size: 19px; color: var(--ink-soft); white-space: nowrap; }

.buy ul {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px 24px;
  color: var(--ink-soft);
  font-size: 15px;
}

.buy li::before { content: '—'; color: var(--accent); margin-right: 9px; }

.buy-box {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--ground);
  min-width: 300px;
}

.buy-box__note { font-size: 12.5px; color: var(--ink-faint); line-height: 1.5; }

.steps-buy {
  counter-reset: s;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.steps-buy li {
  counter-increment: s;
  display: flex;
  gap: 11px;
  font-size: 13.5px;
  color: var(--ink-soft);
}

.steps-buy li::before {
  content: counter(s);
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 99px;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 11px;
  display: grid;
  place-items: center;
  margin-top: 2px;
}

/* --- Technisches ---------------------------------------------------------- */
.specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1px;
  margin-top: 40px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.spec { background: var(--ground); padding: 22px 20px; display: flex; flex-direction: column; gap: 5px; }
.spec dt { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); }
.spec dd { margin: 0; font-size: 15px; }

.faq-list { max-width: 860px; }
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
details summary { cursor: pointer; font-weight: 600; font-size: 16px; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: '+'; font-family: var(--mono); color: var(--accent); font-size: 18px; }
details[open] summary::after { content: '–'; }
details p { margin-top: 12px; color: var(--ink-soft); font-size: 15px; max-width: 68ch; }

/* --- Fusszeile ------------------------------------------------------------ */
footer { border-top: 1px solid var(--line); padding: 38px 0 54px; color: var(--ink-faint); font-size: 13.5px; }
.footer-row { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; }
.footer-row nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer a { color: var(--ink-soft); text-decoration: none; }
footer a:hover { color: var(--ink); }

/* --- Rechtstexte ---------------------------------------------------------- */
.legal { max-width: 760px; margin: 0 auto; padding: 56px 24px 80px; }
.legal h1 { font-size: 34px; margin-bottom: 8px; }
.legal h2 { font-size: 22px; margin: 44px 0 10px; }
.legal h3 { font-size: 16px; margin: 24px 0 6px; }
.legal p, .legal li { color: var(--ink-soft); font-size: 15px; }
.legal p + p { margin-top: 12px; }
.legal ul, .legal ol { padding-left: 22px; }
.legal li + li { margin-top: 6px; }

.todo {
  display: block;
  margin: 20px 0;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px dashed var(--accent);
  background: var(--accent-soft);
  color: var(--ink);
  font-size: 14px;
}

.fill { background: var(--accent-soft); color: var(--accent); padding: 1px 6px; border-radius: 5px; font-family: var(--mono); font-size: 13px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
