:root {
  /* schubec CI 2026: Dark Navy text, Parchment page, mint-600 accent */
  --ink: #14213D;
  --paper: #F3F6FB;
  --surface: #FFFFFF;
  --surface-2: #E6ECF5;
  --line: #D9E1EE;
  --muted: #555555;
  --accent: #2F7FE6;
  --accent-deep: #1D5FC0;
  --accent-ink: #FFFFFF;
  --accent-tint: #E8F1FD;
  --success: #2F7FE6;
  --before-ink: #5B4A2E;
  --before-bg: #FBF4E6;
  --before-line: #E3C98E;
  --shadow: 0 1px 2px rgba(20,33,61,0.04), 0 12px 28px -12px rgba(20,33,61,0.18);
  --radius-s: 6px;
  --radius-m: 12px;
  --radius-l: 22px;
  /* CI: Nunito for headlines/nav/buttons, Tahoma for body, Courier for code */
  --font-display: 'Nunito', 'Helvetica Neue', Arial, sans-serif;
  --font-body: Tahoma, Verdana, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'Courier New', Courier, monospace;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #F3F6FB;
    --paper: #0E1526;
    --surface: #151F36;
    --surface-2: #1D2A47;
    --line: #2A3A5E;
    --muted: #AAAAAA;
    --accent: #7CB8FF;
    --accent-deep: #5AA3FF;
    --accent-ink: #0E1526;
    --accent-tint: rgba(124,184,255,0.14);
    --success: #7CB8FF;
    --before-ink: #E0C586;
    --before-bg: #2B2617;
    --before-line: #5C4E2A;
    --shadow: 0 1px 2px rgba(0,0,0,0.3), 0 20px 40px -16px rgba(0,0,0,0.55);
  }
}

:root[data-theme="dark"] {
  --ink: #F3F6FB;
  --paper: #0E1526;
  --surface: #151F36;
  --surface-2: #1D2A47;
  --line: #2A3A5E;
  --muted: #AAAAAA;
  --accent: #7CB8FF;
  --accent-deep: #5AA3FF;
  --accent-ink: #0E1526;
  --accent-tint: rgba(124,184,255,0.14);
  --success: #7CB8FF;
  --before-ink: #E0C586;
  --before-bg: #2B2617;
  --before-line: #5C4E2A;
  --shadow: 0 1px 2px rgba(0,0,0,0.3), 0 20px 40px -16px rgba(0,0,0,0.55);
}

@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url('../fonts/nunito-variable.woff2') format('woff2');
}


* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

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

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 28px; }

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

::selection { background: var(--accent-tint); color: var(--accent-deep); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px 28px; max-width: 1080px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 10px; white-space: nowrap; flex-shrink: 0; font-family: var(--font-display); font-size: 15px; font-weight: 700; letter-spacing: 0.01em; text-decoration: none; }
.brand img { width: 26px; height: 26px; border-radius: 7px; display: block; }
/* Mit „Szenarien" sind es sieben Einträge; in Thai, Japanisch oder Arabisch
   stoßen sie bei 1280 px an die Marke – dann in zwei Zeilen statt überlappen. */
.nav-links { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 22px; font-size: 14px; color: var(--muted); }
/* Kein Umbruch innerhalb eines Punktes: „Ohne App Store" wurde sonst
   dreizeilig und schob sich in den Schriftzug. */
.nav-links a { white-space: nowrap; }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  font-family: var(--font-display); font-size: 13px; font-weight: 700;
  background: var(--accent); color: var(--accent-ink);
  padding: 8px 16px; border-radius: 999px; text-decoration: none;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--accent); color: var(--accent-ink); }
.nav-right { display: flex; align-items: center; gap: 14px; }
/* „Laden" als Aufklappmenü (24. Okt. 2026): App Store, Direktfassung und
   Bestellen stehen nebeneinander – vorher führte der Knopf nur zum
   App-Store-Abzeichen. <details> braucht kein Skript zum Öffnen. */
.nav-laden { position: relative; }
.nav-laden > summary { list-style: none; cursor: pointer; display: inline-block; }
.nav-laden > summary::-webkit-details-marker { display: none; }
.nav-laden > summary::after { content: " ▾"; font-size: 11px; }
.nav-laden-menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 240px;
  background: var(--card, #fff); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0,0,0,.12); padding: 6px; z-index: 40;
  display: flex; flex-direction: column;
}
.nav-laden-menu a {
  display: block; padding: 9px 12px; border-radius: 8px; font-size: 14px;
  color: var(--ink); text-decoration: none; white-space: nowrap;
}
.nav-laden-menu a:hover { background: var(--accent-tint); color: var(--accent-deep); }
/* Hero-Knopfreihe: drei Wege, eine Höhe (44 px wie das App-Store-Abzeichen),
   damit Abzeichen, Direkt-Knopf und Video nebeneinander eine Reihe bilden
   (Berni, 25. Okt. 2026: „sieht noch sehr unordentlich aus"). */
.hero-ctas .hero-direct-btn { margin-top: 0; align-self: center; height: 44px; padding: 0 18px; display: inline-flex; align-items: center; gap: 8px; border-radius: 9px; font-size: 14px; white-space: nowrap; }
.hero-direct-btn svg { width: 17px; height: 17px; flex-shrink: 0; }
.hero-direct { margin-top: 14px; font-size: 14px; color: var(--muted); max-width: 52ch; }
.hero-direct a { color: var(--accent-deep); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line); }
.hero-direct a:hover { border-color: var(--accent-deep); }
/* Schlussband: Abzeichen, „Für den Mac laden" und „Jahreslizenz bestellen"
   als eine Knopfreihe gleicher Höhe (Berni, 25. Okt. 2026); die beiden
   Textknöpfe hell auf dunklem Grund. */
.cta-wege { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.cta-wege .direct-btn, .cta-bestellen {
  margin-top: 0; align-self: center; height: 44px; display: inline-flex; align-items: center; gap: 8px;
  padding: 0 18px; border-radius: 9px; white-space: nowrap; text-decoration: none;
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  color: var(--paper); background: transparent;
  border: 1px solid color-mix(in srgb, var(--paper) 38%, transparent);
  transition: background .15s ease, border-color .15s ease;
}
.cta-wege .direct-btn:hover, .cta-bestellen:hover { background: color-mix(in srgb, var(--paper) 12%, transparent); border-color: var(--paper); }
.lang-select {
  font-family: var(--font-body); font-size: 13px; color: var(--muted);
  background: transparent; border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 26px 6px 12px; cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 8px center; background-size: 13px;
}
[dir="rtl"] .lang-select { padding: 6px 12px 6px 26px; background-position: left 8px center; }
.lang-select:hover { border-color: var(--muted); color: var(--ink); }
/* Seit dem sechsten Punkt („Ohne App Store") braucht die Leiste mehr
   Platz: erst engere Abstaende, dann ganz ausblenden. Vorher lag die
   Grenze bei 720px – dort drueckte der neue Punkt den Schriftzug weg. */
@media (max-width: 1000px) { .nav-links { gap: 18px; font-size: 13.5px; } }
@media (max-width: 860px) { .nav-links { display: none; } }

/* ---------- Hero ---------- */
.hero { padding: 84px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 48px; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent-deep); background: var(--accent-tint);
  padding: 5px 11px; border-radius: 999px; margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.hero h1 {
  font-size: clamp(34px, 4.6vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.01em;
}
.hero h1 em { font-style: italic; color: var(--accent-deep); }

.hero-sub {
  margin-top: 22px; font-size: 18px; color: var(--muted); max-width: 46ch; line-height: 1.6;
}

.hero-ctas { display: flex; align-items: center; gap: 12px; margin-top: 30px; flex-wrap: wrap; }

.store-badge {
  display: inline-flex; align-items: center;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
/* Clears the sticky .nav (~55px) when the "#download" nav link scrolls here,
   so the badge doesn't land hidden underneath it. */
#download { scroll-margin-top: 90px; }
.store-badge:hover { transform: translateY(-1px); opacity: 0.85; }
.store-badge-img { display: block; height: 44px; width: auto; }

.link-secondary {
  font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--muted);
  text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 2px;
}
.link-secondary:hover { color: var(--accent-deep); border-color: var(--accent-deep); }


/* ---------- Hero demo (before/after) ---------- */
.hero-demo {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  position: relative;
}
.hero-demo-row { display: flex; align-items: center; justify-content: center; gap: 14px; }
.transform-arrow--down { width: 34px; height: 34px; }
.json-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m);
  box-shadow: var(--shadow); overflow: hidden; width: min(100%, 420px);
}
.json-card-head {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-weight: 700; font-size: 11.5px; color: var(--muted);
  padding: 8px 14px; border-bottom: 1px solid var(--line); background: var(--surface-2);
  direction: ltr;
}
.json-snippet {
  margin: 0; padding: 12px 14px;
  font-family: var(--font-mono); font-weight: 700; font-size: 14px; line-height: 1.55;
  color: var(--ink); overflow-x: auto;
  direction: ltr; text-align: left;
}
.tok-num { color: var(--accent-deep); }
.file-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m);
  box-shadow: var(--shadow);
  padding: 18px; width: 190px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  text-align: center;
}
.file-card--before {
  transform: rotate(-3.5deg);
  border-color: var(--before-line);
}
.file-card--after {
  transform: rotate(2deg);
  border-color: var(--accent);
  box-shadow: var(--shadow), 0 0 0 3px var(--accent-tint);
}
.file-glyph { width: 56px; height: 68px; position: relative; flex-shrink: 0; }
.file-glyph svg { width: 100%; height: 100%; display: block; }
.file-name {
  font-family: var(--font-mono); font-weight: 700; font-size: 11.5px; line-height: 1.4;
  color: var(--muted); word-break: break-word; hyphens: auto;
}
.file-card--before .file-name { color: var(--before-ink); }
.file-card--after .file-name { color: var(--ink); font-weight: 500; }
.tag-row { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.tag-pill {
  font-family: var(--font-display); font-size: 10.5px; font-weight: 700;
  padding: 3px 9px; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink);
}
.tag-pill--muted { background: var(--surface-2); color: var(--muted); }

.transform-arrow {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--surface-2); color: var(--accent-deep);
  flex-shrink: 0;
  animation: pulse-arrow 2.4s ease-in-out infinite;
}
.transform-arrow svg { width: 18px; height: 18px; }
@keyframes pulse-arrow {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}

/* ---------- Sections shared ---------- */
section { padding: 76px 0; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(26px, 3vw, 34px); }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 16.5px; }

/* ---------- How it works ---------- */
.workflow-track {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 6px 4px 22px; margin: 0 -4px;
  scrollbar-width: thin;
}
.workflow-track::-webkit-scrollbar { height: 6px; }
.workflow-track::-webkit-scrollbar-thumb { background: var(--line); border-radius: 999px; }

.workflow-card {
  scroll-snap-align: start;
  flex: 0 0 260px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m);
  padding: 26px 22px;
  display: flex; flex-direction: column; gap: 14px;
}
.workflow-num {
  font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-deep);
  display: flex; align-items: center; gap: 8px;
}
.workflow-num::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.workflow-card h3 { font-family: var(--font-body); font-weight: 600; font-size: 17px; }
.workflow-card p { color: var(--muted); font-size: 14.5px; }

.workflow-dots { display: flex; gap: 7px; justify-content: center; margin-top: 4px; }
.workflow-dots span { width: 6px; height: 6px; border-radius: 50%; background: var(--line); }
.workflow-dots span.active { background: var(--accent); }

/* ---------- Privacy ---------- */
.privacy-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.audience-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}
@media (max-width: 800px) { .audience-grid { grid-template-columns: 1fr; } }
@media (max-width: 800px) { .privacy-grid { grid-template-columns: 1fr; } }
.privacy-card {
  border: 1px solid var(--line); border-radius: var(--radius-m); padding: 24px;
  background: var(--surface);
}
.privacy-card .badge {
  display: inline-block; font-family: var(--font-display); font-weight: 700; font-size: 11px;
  color: var(--success); background: color-mix(in srgb, var(--success) 14%, transparent);
  padding: 3px 9px; border-radius: 999px; margin-bottom: 14px;
}
.privacy-card h3 { font-family: var(--font-body); font-size: 16.5px; font-weight: 600; margin-bottom: 8px; }
.apple-logo { width: 15px; height: 15px; vertical-align: -2px; }
.privacy-card p { color: var(--muted); font-size: 14.5px; }

/* ---------- Main-window screenshot ---------- */
.main-shot { max-width: 640px; margin: 0 auto; }

/* ---------- Screenshot gallery ---------- */
.shots-track {
  display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 6px 4px 22px; margin: 0 -4px;
}
.shots-track::-webkit-scrollbar { height: 6px; }
.shots-track::-webkit-scrollbar-thumb { background: var(--line); border-radius: 999px; }
.shot-card { scroll-snap-align: start; flex: 0 0 min(560px, 82vw); }
.shot-frame {
  border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden;
  box-shadow: var(--shadow); background: var(--surface);
}
.shot-frame img {
  width: 100%; display: block; cursor: zoom-in; transition: opacity 0.15s ease;
}
.shot-frame img:hover { opacity: 0.88; }
.shot-frame img:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.shot-caption {
  margin-top: 12px; display: flex; align-items: baseline; gap: 8px;
  font-family: var(--font-body); font-size: 13px; color: var(--muted);
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100; padding: 5vh 24px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(10, 10, 20, 0.86);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.18s ease;
}
.lightbox.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.lightbox img {
  max-width: min(94vw, 1200px); max-height: 90vh; width: auto; height: auto;
  border-radius: var(--radius-m); box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
  cursor: zoom-out;
}
.lightbox-close {
  position: absolute; top: 20px; right: 24px; width: 40px; height: 40px;
  border-radius: 50%; border: none; background: rgba(255, 255, 255, 0.14);
  color: #fff; font-size: 22px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s ease;
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.26); }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%; border: none;
  background: rgba(255, 255, 255, 0.14); color: #fff;
  font-size: 26px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s ease;
}
.lightbox-nav:hover { background: rgba(255, 255, 255, 0.26); }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
@media (max-width: 640px) {
  .lightbox-nav { width: 40px; height: 40px; font-size: 22px; }
  .lightbox-prev { left: 6px; }
  .lightbox-next { right: 6px; }
}
.shot-caption strong { font-family: var(--font-body); color: var(--ink); font-size: 14.5px; font-weight: 600; }
.shots-dots { display: flex; gap: 7px; justify-content: center; margin-top: 4px; }
.shots-dots span { width: 6px; height: 6px; border-radius: 50%; background: var(--line); }
.shots-dots span.active { background: var(--accent); }

/* ---------- API ---------- */
.api-panels { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 860px) { .api-panels { grid-template-columns: 1fr; } }
.code-panel {
  background: var(--ink); border-radius: var(--radius-m); overflow: hidden;
  box-shadow: var(--shadow);
}
.code-panel-head {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px; border-bottom: 1px solid color-mix(in srgb, var(--paper) 14%, transparent);
  font-family: var(--font-mono); font-weight: 700; font-size: 12.5px;
  color: color-mix(in srgb, var(--paper) 65%, transparent);
  direction: ltr;
}
.code-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.code-dot--fm { background: #F5BD4F; }
.code-block {
  margin: 0; padding: 18px 16px; overflow-x: auto;
  font-family: var(--font-mono); font-weight: 700; font-size: 12.5px; line-height: 1.7;
  color: color-mix(in srgb, var(--paper) 88%, transparent);
  direction: ltr; text-align: left;
}
.code-block code { white-space: pre; }
.tok-kw { color: var(--accent); font-weight: 700; }
.tok-str { color: #7CD9A8; }
.tok-cm { color: color-mix(in srgb, var(--paper) 45%, transparent); font-style: italic; }

.api-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
@media (max-width: 800px) { .api-notes { grid-template-columns: 1fr; } }
.api-note h3 { font-family: var(--font-body); font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.api-note p { color: var(--muted); font-size: 14px; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
@media (max-width: 800px) { .pricing-grid { grid-template-columns: 1fr; } }
.price-card {
  border: 1px solid var(--line); border-radius: var(--radius-m); padding: 28px 24px;
  background: var(--surface); display: flex; flex-direction: column;
}
.price-card--highlight {
  border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint), var(--shadow);
}
.price-card .badge {
  align-self: flex-start;
  display: inline-block; font-family: var(--font-display); font-weight: 700; font-size: 11px;
  color: var(--muted); background: var(--surface-2);
  padding: 3px 9px; border-radius: 999px; margin-bottom: 16px;
}
.price-card .badge--accent { color: var(--accent-deep); background: var(--accent-tint); }
.price-card h3 { font-family: var(--font-body); font-size: 17px; font-weight: 600; }
.price-amount { font-family: var(--font-display); font-size: 34px; font-weight: 600; margin-top: 8px; }
.price-period { font-family: var(--font-body); font-size: 15px; font-weight: 400; color: var(--muted); }
.price-detail { color: var(--muted); font-size: 14px; margin-top: 8px; }
.price-list { list-style: none; margin: 20px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 9px; }
.price-list li { font-size: 13.5px; color: var(--ink); padding-left: 20px; position: relative; }
.price-list li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 10px; height: 6px;
  border-left: 1.6px solid var(--accent); border-bottom: 1.6px solid var(--accent);
  transform: rotate(-45deg);
}

/* ---------- Direktkauf ohne App Store ---------- */
.direct-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start;
}
.direct-card {
  border: 1px solid var(--line); border-radius: var(--radius-m); padding: 28px 24px;
  background: var(--surface); display: flex; flex-direction: column;
}
.direct-card h3 { font-family: var(--font-body); font-size: 17px; font-weight: 600; }
.direct-card .badge {
  align-self: flex-start;
  display: inline-block; font-family: var(--font-display); font-weight: 700; font-size: 11px;
  color: var(--muted); background: var(--surface-2);
  padding: 3px 9px; border-radius: 999px; margin-bottom: 16px;
}
.direct-card .badge--accent { color: var(--accent-deep); background: var(--accent-tint); }
.direct-note { color: var(--muted); font-size: 13.5px; line-height: 1.55; margin-top: 18px; }
.direct-download {
  margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line);
}
.direct-download h4 { font-family: var(--font-body); font-size: 14px; font-weight: 600; }
.direct-download p { color: var(--muted); font-size: 13.5px; line-height: 1.55; margin-top: 6px; }
/* Der Lade-Knopf steht als Inline-Element zwischen Absätzen: ohne eigene
   Zeile überlappte sein Rahmen den Text darüber (Berni, 25. Okt. 2026). */
.direct-download .direct-btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px; margin: 14px 0 2px; white-space: nowrap; }
.direct-btn svg { width: 16px; height: 16px; flex-shrink: 0; vertical-align: -3px; margin-right: 8px; }
.direct-download .direct-btn svg, .hero-direct-btn svg { margin-right: 0; vertical-align: baseline; }
.direct-meta { font-size: 12.5px; color: var(--muted); margin-top: 10px; }

/* Der Kaufknopf. --ghost ist der ruhigere Zwilling fuer den Download:
   Bestellen ist die Handlung, Laden nur das Angebot daneben. */
.direct-btn {
  align-self: flex-start; margin-top: 18px;
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  color: var(--accent-ink); background: var(--accent);
  border: 1px solid var(--accent); border-radius: var(--radius-s);
  padding: 11px 20px; cursor: pointer; text-decoration: none;
  transition: background .15s ease, border-color .15s ease;
}
.direct-btn:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.direct-btn:disabled { opacity: .55; cursor: default; }
.direct-btn--ghost {
  color: var(--accent-deep); background: transparent; border-color: var(--line);
}
.direct-btn--ghost:hover { background: var(--accent-tint); border-color: var(--accent); }

.direct-field { display: flex; flex-direction: column; gap: 5px; margin-top: 14px; }
.direct-field > span { font-size: 13px; font-weight: 600; }
.direct-field > span em { font-style: normal; font-weight: 400; color: var(--muted); }
.direct-field input, .direct-field textarea {
  font: inherit; font-size: 14px; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-s); padding: 9px 11px; width: 100%;
}
.direct-field textarea { resize: vertical; }
.direct-field input:focus-visible, .direct-field textarea:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent);
}
.direct-field input[aria-invalid="true"], .direct-field textarea[aria-invalid="true"] {
  border-color: #B4341F;
}
.direct-status { font-size: 13.5px; margin-top: 12px; min-height: 1.4em; }
.direct-status[data-state="ok"] { color: var(--accent-deep); }
.direct-status[data-state="fehler"] { color: #B4341F; }
.direct-legal { font-size: 12px; color: var(--muted); line-height: 1.5; margin-top: 14px; }

/* Honigtopf: fuer Menschen unsichtbar, fuer einfache Roboter ein Feld,
   das sie ausfuellen. display:none wuerde von manchen uebersprungen. */
.direct-trap {
  position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden;
}

@media (max-width: 820px) {
  .direct-grid { grid-template-columns: 1fr; }
}

/* ---------- Kontaktformular ---------- */
/* Es steht allein statt neben einer Karte, darum begrenzte Breite und
   mittig: ein Formular ueber die volle Seitenbreite laesst jedes Feld
   ueberdimensioniert wirken. */
.kontakt-form { max-width: 620px; margin: 0 auto; }
.kontakt-reihe { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.kontakt-reihe .direct-field { margin-top: 14px; }
.direct-field select {
  font: inherit; font-size: 14px; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-s); padding: 9px 11px; width: 100%;
}
.direct-field select:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent);
}
@media (max-width: 560px) {
  .kontakt-reihe { grid-template-columns: 1fr; gap: 0; }
}

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px 4px; font-family: var(--font-body); font-weight: 500; font-size: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus {
  flex-shrink: 0; width: 22px; height: 22px; position: relative;
}
.faq-item summary .plus::before, .faq-item summary .plus::after {
  content: ""; position: absolute; background: var(--muted); border-radius: 2px;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.faq-item summary .plus::before { width: 14px; height: 2px; }
.faq-item summary .plus::after { width: 2px; height: 14px; transition: transform 0.2s ease, opacity 0.2s ease; }
.faq-item[open] summary .plus::after { opacity: 0; transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] summary { color: var(--accent-deep); }
.faq-answer { padding: 0 4px 22px; color: var(--muted); font-size: 15px; max-width: 68ch; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--ink); color: var(--paper); border-radius: var(--radius-l);
  padding: 56px 48px; display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
/* Textspalte gibt nach, die Knopfreihe bleibt möglichst in einer Zeile. */
.cta-band > div:first-child { flex: 1 1 280px; min-width: 0; }
.cta-band .cta-wege { flex: 0 1 auto; justify-content: flex-end; }
.cta-band h2 { color: var(--paper); font-size: clamp(24px, 3vw, 30px); }
.cta-band p { color: color-mix(in srgb, var(--paper) 65%, transparent); margin-top: 10px; font-size: 15.5px; }

@media (max-width: 720px) { .cta-band { flex-direction: column; align-items: flex-start; padding: 40px 28px; } }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); padding: 48px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }
.footer-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 15px; margin-bottom: 10px; }
.footer-brand img { width: 22px; height: 22px; border-radius: 6px; }
.footer-col h4 {
  font-family: var(--font-display); font-weight: 600; font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--muted); margin-bottom: 12px; font-weight: 500;
}
.footer-col p, .footer-col a { display: block; color: var(--muted); font-size: 14px; text-decoration: none; line-height: 1.7; }
.footer-col a:hover { color: var(--accent-deep); }
.footer-legal { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); font-family: var(--font-body); }
.translation-notice {
  margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line);
  font-size: 12.5px; color: var(--muted); font-family: var(--font-body);
  line-height: 1.6; text-align: center; max-width: 640px; margin-left: auto; margin-right: auto;
}
.translation-notice a { color: var(--muted); text-decoration: underline; }
.translation-notice a:hover { color: var(--accent-deep); }
.translation-notice + .footer-legal { margin-top: 20px; padding-top: 20px; }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
/* schubec CI logo (footer): 2×2 icon + Nunito-bold wordmark. Icon colors
   are fixed brand colors and must not adapt to the theme; the wordmark
   follows the CI rule Dark Navy on light / white on dark via var(--ink). */
.footer-col a.schubec-logo {
  display: inline-flex; align-items: center; gap: 0.55em;
  font-family: var(--font-display); font-weight: 800; font-size: 17px;
  color: var(--ink); text-decoration: none; margin-bottom: 10px;
}
.schubec-logo svg { width: 0.82em; height: 0.82em; display: block; }
.schubec-logo:hover span { color: var(--accent-deep); }

/* CI: on dark code panels, accents follow the mint on-dark scale */
.code-panel .tok-kw { color: #5EEAD4; }
.code-panel .tok-str { color: #B2F5EA; }
/* Light-surface JSON snippet: readable string green from the mint scale */
.json-snippet .tok-str { color: #0F766E; }

/* ---------- Demo popup (narrated animations in an iframe overlay) ---------- */
.demo-popup {
  position: fixed; inset: 0; z-index: 130;
  background: rgba(15, 20, 35, 0.72); backdrop-filter: blur(4px);
  display: none; align-items: center; justify-content: center;
  padding: 2vh 10px;
}
.demo-popup.is-open { display: flex; }
.demo-popup iframe {
  width: min(1060px, 98vw); height: 96vh;
  border: 0; border-radius: 16px; background: var(--paper);
  box-shadow: var(--shadow);
}
.demo-popup-close {
  position: absolute; top: 14px; right: 16px; z-index: 2;
  width: 46px; height: 46px; border-radius: 50%;
  border: 0; cursor: pointer; font-size: 22px; line-height: 1;
  background: rgba(255,255,255,0.16); color: #fff;
}
.demo-popup-close:hover { background: rgba(255,255,255,0.22); }

/* Play overlay on the hero demo */
.hero-demo { position: relative; }
.demo-play-overlay {
  position: absolute; left: 50%; bottom: -18px; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  font-family: var(--font-display); font-weight: 700; font-size: 13.5px;
  background: var(--accent); color: var(--accent-ink);
  padding: 10px 20px 10px 12px; border-radius: 999px; text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease;
}
.demo-play-overlay:hover { transform: translateX(-50%) translateY(-2px); }
.demo-play-overlay .play-dot {
  width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
  background: rgba(255,255,255,0.25);
  display: inline-flex; align-items: center; justify-content: center;
}
.demo-play-overlay .play-dot::before {
  content: ""; display: block; margin-left: 2px;
  border-style: solid; border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent currentColor;
}

/* Standalone play button (API section) */
.demo-play-btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 13.5px;
  background: var(--accent); color: var(--accent-ink);
  padding: 10px 20px 10px 12px; border-radius: 999px; text-decoration: none;
  box-shadow: var(--shadow); margin-top: 18px;
  transition: transform 0.15s ease;
}
.demo-play-btn:hover { transform: translateY(-2px); }
.demo-play-btn .play-dot {
  width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
  background: rgba(255,255,255,0.25);
  display: inline-flex; align-items: center; justify-content: center;
}
.demo-play-btn .play-dot::before {
  content: ""; display: block; margin-left: 2px;
  border-style: solid; border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent currentColor;
}


/* Play buttons: larger + pulsing ring so they can't be overlooked */
.demo-play-overlay, .demo-play-btn { font-size: 15px; padding: 12px 24px 12px 14px; }
.demo-play-overlay .play-dot, .demo-play-btn .play-dot {
  width: 30px; height: 30px;
  animation: play-dot-pulse 1.8s ease-in-out infinite;
}
@keyframes play-dot-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0.45); }
  55%      { box-shadow: 0 0 0 10px rgba(255,255,255,0); }
}
@media (prefers-reduced-motion: reduce) {
  .demo-play-overlay .play-dot, .demo-play-btn .play-dot { animation: none; }
}
/* Variant for the hero CTA row (next to the App Store badge) */
.hero-ctas .demo-play-btn--hero { margin-top: 0; height: 44px; padding: 0 20px 0 8px; font-size: 14px; box-shadow: none; white-space: nowrap; }
.demo-play-btn--hero .play-dot { width: 28px; height: 28px; }

/* ---------- Knowledge base / chat mock ---------- */
.kb-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .kb-grid { grid-template-columns: 1fr; gap: 40px; } }
.chat-mock {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m);
  box-shadow: var(--shadow); overflow: hidden;
}
.chat-mock-head {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: 12.5px; color: var(--muted);
  padding: 8px 14px; border-bottom: 1px solid var(--line); background: var(--surface-2);
}
.chat-msgs { padding: 18px 16px 20px; display: flex; flex-direction: column; gap: 12px; }
.chat-bubble {
  max-width: 88%; padding: 10px 14px; border-radius: 14px;
  font-size: 14px; line-height: 1.55;
}
.chat-bubble--user {
  align-self: flex-end; background: var(--accent); color: var(--accent-ink);
  border-bottom-right-radius: 4px;
}
.chat-bubble--ai {
  align-self: flex-start; background: var(--surface-2); color: var(--ink);
  border-bottom-left-radius: 4px;
}
.chat-cite { color: var(--accent-deep); font-weight: 600; white-space: nowrap; }
.chat-sources { display: flex; gap: 6px; flex-wrap: wrap; margin-top: -2px; }
.source-chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; padding: 4px 11px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); color: var(--muted);
}
.source-chip svg { width: 11px; height: 11px; color: var(--accent-deep); flex-shrink: 0; }
.kb-points { list-style: none; display: flex; flex-direction: column; gap: 13px; margin: 24px 0 0; padding: 0; }
.kb-points li { padding-left: 24px; position: relative; font-size: 15px; color: var(--muted); }
.kb-points li strong { color: var(--ink); font-weight: 600; }
.kb-points li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 10px; height: 6px;
  border-left: 1.6px solid var(--accent); border-bottom: 1.6px solid var(--accent);
  transform: rotate(-45deg);
}
.price-note { margin-top: 18px; font-size: 12.5px; color: var(--muted); text-align: center; }

/* ---------- Four-column pricing (free / basic / pro monthly / pro yearly) ---------- */
.pricing-grid--four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .pricing-grid--four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pricing-grid--four { grid-template-columns: 1fr; } }

/* Demo play button inside a pillar card – pinned to the card bottom so
   all three buttons align regardless of text length */
.privacy-card:has(.demo-play-btn--card) { display: flex; flex-direction: column; }
.privacy-card:has(.demo-play-btn--card) > p:last-of-type { margin-bottom: 18px; }
.demo-play-btn--card { margin-top: auto; align-self: flex-start; font-size: 13px; padding: 8px 18px 8px 12px; }

/* ---------- Schwester-App: DocOversee ↔ DocUnderstand (18. Okt. 2026) ---------- */
.sister-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 36px; }
.sister-card {
  border: 1px solid var(--line); border-radius: var(--radius-m); padding: 28px 26px;
  background: var(--surface); display: flex; flex-direction: column; gap: 12px;
}
.sister-card--this { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint), var(--shadow); }
.sister-card .badge {
  align-self: flex-start; font-family: var(--font-display); font-weight: 700; font-size: 11.5px;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-deep);
  background: var(--accent-tint); border-radius: 999px; padding: 4px 10px;
}
.sister-card h3 { display: flex; align-items: center; gap: 12px; margin: 2px 0 0; font-family: var(--font-display); font-size: 22px; }
.sister-card h3 img { width: 40px; height: 40px; border-radius: 10px; }
.sister-card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.sister-role { font-family: var(--font-display); font-weight: 700; color: var(--accent-deep) !important; font-size: 16px !important; }
.sister-list { margin: 4px 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.sister-list li { position: relative; padding-inline-start: 20px; font-size: 14.5px; }
.sister-list li::before { content: ""; position: absolute; inset-inline-start: 0; top: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.sister-for { font-size: 14px !important; }
.sister-link {
  align-self: flex-start; margin-top: auto; display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: 13.5px;
  background: var(--accent); color: var(--accent-ink); padding: 10px 20px; border-radius: 999px;
  text-decoration: none; box-shadow: var(--shadow); transition: transform 0.15s ease;
}
.sister-link:hover { transform: translateY(-2px); }
.sister-note { text-align: center; color: var(--muted); font-size: 14.5px; margin-top: 22px; }
@media (max-width: 760px) { .sister-grid { grid-template-columns: 1fr; } }

/* ---------- Vorschau 23. Okt. 2026: Hero-Chat, Vergleich, Szenarien ---------- */
.hero-chat { max-width: 520px; margin: 0 auto; }
.hero-chat .chat-bubble { font-size: 14.5px; }
.chat-meta { font-size: 12px; color: var(--muted); margin: 2px 0 0; }
.compare-grid .privacy-card h3 { font-family: var(--font-display); font-size: 18px; }
.scenario-panel { grid-template-columns: 0.9fr 1.1fr; }
.scenario-panel .pillar-text h3 { font-size: clamp(21px, 2.2vw, 26px); }
.scenario-media { min-width: 0; }
.scenario-media .chat-mock { max-width: 560px; margin: 0 auto; }
.scenario-media .chat-bubble { font-size: 14px; }
.scenario-media--files { display: flex; justify-content: center; align-items: center; padding: 10px 0; }
.scenario-saves { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.scenario-saves strong { color: var(--ink); }
.scenario-footnote { grid-column: 1 / -1; margin: 4px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12.5px; line-height: 1.55; color: var(--muted); }
.report-rows { display: flex; flex-direction: column; gap: 10px; padding: 16px 16px 6px; }
.report-row { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.report-row strong { color: var(--ink); }
.report-row svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; }
.report-verdict { margin: 10px 16px 18px; padding: 12px 14px; border-radius: 12px; background: var(--accent-tint); font-size: 14px; line-height: 1.55; color: var(--ink); }
.report-verdict .chat-sources { margin-top: 10px; }
.json-card--scenario { max-width: 300px; }
.json-card--scenario .json-snippet { font-size: 11.5px; }
.photo-mock { margin: -2px -4px 8px; border-radius: 10px; overflow: hidden; }
.photo-mock svg { display: block; width: 100%; height: auto; }
@media (max-width: 640px) { .scenario-media--files .hero-demo-row { flex-direction: column; } .scenario-media--files .transform-arrow { transform: rotate(90deg); } }
/* Belegübersicht im Szenario Buchhaltung (23. Okt. 2026) */
.sheet-mock { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); box-shadow: var(--shadow); overflow: hidden; max-width: 560px; margin: 0 auto; }
.sheet-table { width: 100%; border-collapse: collapse; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.sheet-table th, .sheet-table td { padding: 6px 10px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
.sheet-table th { font-family: var(--font-display); font-weight: 700; font-size: 11.5px; color: var(--muted); background: var(--surface-2); }
.sheet-table .num { text-align: right; font-family: var(--font-mono); }
.sheet-table tbody tr:nth-child(even) td { background: color-mix(in srgb, var(--surface-2) 45%, transparent); }
.sheet-table .more td { color: var(--muted); font-style: italic; text-align: center; }
.sheet-table tfoot td { font-weight: 700; color: var(--ink); background: var(--accent-tint); border-bottom: 0; }
.sheet-chart { padding: 10px 14px 12px; border-top: 1px solid var(--line); }
.sheet-chart-title { font-family: var(--font-display); font-weight: 700; font-size: 11.5px; color: var(--muted); margin-bottom: 6px; }
.sheet-chart svg { display: block; width: 100%; height: auto; }
.sheet-chart .bars rect { fill: var(--accent); opacity: .55; rx: 3; }
.sheet-chart .bars rect.peak { opacity: 1; }
.sheet-chart .axis { stroke: var(--line); stroke-width: 1; }
.sheet-chart .labels text { font: 8px var(--font-display); fill: var(--muted); text-anchor: middle; }

