/* JuDi — Marketing-Site. Brand: #2A2E4B (Navy), #44A6D8 (Blau), #F1C643 (Gelb),
   #FB525B (Rot). Statisch, kein Framework, keine externen Requests.

   Typografie: Fraunces (Serif, Headlines — juristische Gravitas, modern) +
   Geist (Sans, Text/UI). Beide selbst gehostet (assets/fonts/), bewusst NICHT
   Poppins — das ist der IMR-Look. */

@font-face {
  font-family: 'Fraunces';
  src: url('assets/fonts/fraunces.woff2') format('woff2');
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Geist';
  src: url('assets/fonts/geist.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #2A2E4B;
  --navy-deep: #1C1F36;
  --navy-ink: #14172B;
  --blue: #44A6D8;
  --yellow: #F1C643;
  --red: #FB525B;
  --paper: #F7F8FC;
  --card: #FFFFFF;
  --ink: #23263B;
  --ink-soft: #5A5F7D;
  --line: #E3E6F2;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow: 0 24px 60px -28px rgba(42, 46, 75, 0.35);
  --font: 'Geist', system-ui, -apple-system, Arial, sans-serif;
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
}

h1, h2, h3, .price, .brand span {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 248, 252, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 38px; }
.brand span { font-weight: 600; font-size: 21px; color: var(--navy); }
.brand span em { font-style: normal; color: var(--blue); }
.nav { display: flex; gap: 26px; align-items: center; font-size: 15px; }
.nav a { text-decoration: none; color: var(--ink-soft); font-weight: 500; transition: color .2s; }
.nav a:hover { color: var(--navy); }
.nav .cta {
  background: var(--yellow); color: var(--navy);
  padding: 10px 20px; border-radius: 10px; font-weight: 600;
  transition: transform .15s ease, box-shadow .2s;
}
.nav .cta:hover { box-shadow: 0 10px 24px -10px rgba(42, 46, 75, .35); color: var(--navy); }
.nav .cta:active { transform: scale(.98); }
@media (max-width: 860px) { .nav a:not(.cta) { display: none; } }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(155deg, var(--navy) 0%, var(--navy-deep) 70%, var(--navy-ink) 100%);
  color: #fff;
  border-radius: 0 0 32px 32px;
  overflow: hidden;
  position: relative;
}
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 56px;
  align-items: center;
  padding-top: 84px;
  padding-bottom: 96px;
}
.hero .kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue); font-weight: 600; margin-bottom: 18px;
}
.hero .kicker::before { content: ""; width: 26px; height: 2px; background: var(--blue); }
.hero h1 {
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.08; letter-spacing: -0.012em;
  margin: 0 0 22px; font-weight: 600;
}
.hero h1 .hl { color: var(--yellow); }
.hero .sub { font-size: 19px; color: #C6CBE0; max-width: 46ch; margin: 0 0 34px; }
.hero .actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 10px; font-weight: 600; font-size: 16px;
  text-decoration: none; transition: transform .15s ease, box-shadow .2s ease;
  border: none; cursor: pointer; font-family: var(--font);
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--yellow); color: var(--navy); }
.btn-primary:hover { box-shadow: 0 16px 38px -14px rgba(20, 23, 43, .55); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.22); }
.btn-ghost:hover { background: rgba(255,255,255,.14); }
.hero .fineprint { margin-top: 18px; font-size: 13.5px; color: #8890B3; }
.hero-video {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.65);
  border: 1px solid rgba(255,255,255,.14);
  background: var(--navy-ink);
}
.hero-video video { width: 100%; aspect-ratio: 16 / 9; }
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 64px; }
}

/* Trust strip */
.trust { padding: 26px 0 0; }
.trust .wrap {
  display: flex; gap: 14px 36px; flex-wrap: wrap; justify-content: center;
  color: var(--ink-soft); font-size: 14.5px; font-weight: 500;
}
.trust i { color: var(--blue); margin-right: 8px; }

/* ---------- Sections ---------- */
section { padding: 84px 0; }
.section-head { max-width: 640px; margin-bottom: 46px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  font-size: 13px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue); font-weight: 600; margin: 0 0 10px;
}
h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.14; letter-spacing: -0.01em; color: var(--navy); margin: 0 0 14px; font-weight: 600; }
.section-head p { color: var(--ink-soft); font-size: 17px; margin: 0; }

/* ---------- Vorher/Nachher-Slider ---------- */
.ba {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  user-select: none;
  touch-action: none;
}
.ba .pane { padding: 44px 48px; min-height: 320px; }
.ba .pane .tag {
  display: inline-block; font-size: 12.5px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; padding: 5px 12px; border-radius: 999px; margin-bottom: 18px;
}
.ba-raw { background: #EEF0F8; color: #6A7093; }
.ba-raw .tag { background: #DDE1EF; color: #6A7093; }
.ba-raw .txt { font-size: 17px; line-height: 1.75; font-family: ui-monospace, 'SF Mono', Menlo, monospace; }
.ba-fmt {
  position: absolute; inset: 0;
  background: var(--card); color: var(--ink);
  clip-path: inset(0 0 0 var(--ba-x, 50%));
}
.ba-fmt .tag { background: rgba(68, 166, 216, .14); color: #2E7FAB; }
/* Die formatierte Seite liest sich wie ein gedruckter Schriftsatz — Serif. */
.ba-fmt .txt { font-size: 17.5px; line-height: 1.75; font-family: var(--font-display); font-weight: 400; }
.ba-fmt .txt mark { background: rgba(241, 198, 67, .35); color: inherit; padding: 0 .15em; border-radius: 4px; }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: var(--ba-x, 50%); z-index: 5;
  width: 0; cursor: ew-resize;
}
.ba-handle::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: -1.5px;
  width: 3px; background: var(--navy);
}
.ba-handle .knob {
  position: absolute; top: 50%; left: 0; transform: translate(-50%, -50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center; gap: 2px;
  font-size: 15px; box-shadow: 0 10px 30px -8px rgba(42,46,75,.6);
  transition: transform .15s ease;
}
.ba:hover .ba-handle .knob { transform: translate(-50%, -50%) scale(1.06); }
.ba-caption { text-align: center; color: var(--ink-soft); font-size: 14px; margin-top: 16px; }
.ba-caption i { color: var(--blue); }

/* ---------- Hotspot-Tour ---------- */
.tour { background: var(--navy); border-radius: var(--radius-lg); color: #fff; overflow: visible; padding: 56px; }
.tour-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 48px; align-items: start; }
.shot {
  position: relative; border-radius: var(--radius);
  box-shadow: 0 30px 70px -24px rgba(0,0,0,.6);
}
.shot img { border-radius: var(--radius); border: 1px solid rgba(255,255,255,.12); }
.hotspot {
  position: absolute; width: 34px; height: 34px; border-radius: 50%;
  background: var(--yellow); color: var(--navy);
  border: none; cursor: pointer; font-weight: 700; font-size: 15px; font-family: inherit;
  display: flex; align-items: center; justify-content: center;
  transform: translate(-50%, -50%);
  transition: transform .18s ease, box-shadow .2s;
  box-shadow: 0 0 0 0 rgba(241,198,67,.5);
  animation: pulse 2.6s infinite;
}
.hotspot:hover { transform: translate(-50%, -50%) scale(1.15); }
.hotspot.active { background: #fff; animation: none; box-shadow: 0 0 0 5px rgba(255,255,255,.25); }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(241,198,67,.55); }
  70% { box-shadow: 0 0 0 16px rgba(241,198,67,0); }
  100% { box-shadow: 0 0 0 0 rgba(241,198,67,0); }
}
.tour-info { position: sticky; top: 100px; }
.tour-info .step { display: none; }
.tour-info .step.active { display: block; animation: fadeUp .35s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.tour-info .idx { color: var(--yellow); font-weight: 700; font-size: 14px; letter-spacing: .14em; margin-bottom: 8px; }
.tour-info h3 { font-size: 24px; margin: 0 0 10px; }
.tour-info p { color: #C6CBE0; margin: 0 0 22px; font-size: 15.5px; }
.tour-nav { display: flex; gap: 10px; }
.tour-nav button {
  width: 42px; height: 42px; border-radius: 10px; border: 1px solid rgba(255,255,255,.25);
  background: transparent; color: #fff; cursor: pointer; font-size: 16px;
  transition: background .2s;
}
.tour-nav button:hover { background: rgba(255,255,255,.12); }
@media (max-width: 960px) {
  .tour { padding: 28px; }
  .tour-grid { grid-template-columns: 1fr; }
  .tour-info { position: static; }
}

/* ---------- Feature-Zickzack ---------- */
.zig { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 56px; align-items: center; }
.zig + .zig { margin-top: 84px; }
.zig.rev > .zig-media { order: 2; }
.zig-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); background: var(--navy-ink); }
.zig-media video, .zig-media img { width: 100%; }
.zig h3 { font-size: 26px; color: var(--navy); margin: 0 0 12px; }
.zig p { color: var(--ink-soft); margin: 0 0 18px; }
.zig ul { margin: 0; padding: 0; list-style: none; }
.zig li { padding-left: 30px; position: relative; margin: 10px 0; color: var(--ink); font-size: 15.5px; }
.zig li i { position: absolute; left: 0; top: 3px; color: var(--blue); }
@media (max-width: 960px) {
  .zig { grid-template-columns: 1fr; }
  .zig.rev > .zig-media { order: 0; }
}

/* ---------- iOS ---------- */
.ios { background: linear-gradient(150deg, #EAF4FB, #F7F8FC 65%); border-radius: var(--radius-lg); overflow: hidden; }
.ios .inner { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 4fr); gap: 40px; padding: 64px; align-items: center; }
.phone {
  width: min(300px, 78%); margin: 0 auto;
  border-radius: 44px; padding: 12px;
  background: var(--navy-ink);
  box-shadow: 0 40px 80px -26px rgba(42,46,75,.55);
  transform: rotate(2.5deg);
  transition: transform .35s ease;
}
.phone:hover { transform: rotate(0deg) scale(1.02); }
.phone img { border-radius: 34px; }
.store-hint { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 12px 18px; border: 1px dashed var(--blue); border-radius: 12px; color: #2E7FAB; font-size: 14px; }
@media (max-width: 960px) { .ios .inner { grid-template-columns: 1fr; padding: 36px; } }

/* ---------- B2B ---------- */
.b2b { background: var(--navy); color: #fff; border-radius: var(--radius-lg); padding: 64px; }
.b2b h2 { color: #fff; }
.b2b .grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; }
.b2b ul { list-style: none; margin: 24px 0 0; padding: 0; }
.b2b li { padding: 14px 0 14px 34px; position: relative; border-top: 1px solid rgba(255,255,255,.12); color: #C6CBE0; }
.b2b li:first-child { border-top: none; }
.b2b li i { position: absolute; left: 0; top: 16px; color: var(--yellow); }
.b2b aside {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius); padding: 32px; align-self: start;
}
.b2b aside h3 { margin: 0 0 8px; font-size: 20px; }
.b2b aside p { color: #C6CBE0; font-size: 15px; }
@media (max-width: 960px) { .b2b { padding: 36px; } .b2b .grid { grid-template-columns: 1fr; } }

/* ---------- Preise ---------- */
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 900px; margin: 0 auto; }
.price-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 40px; position: relative; transition: transform .2s ease, box-shadow .25s ease;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.price-card.featured { border: 2px solid var(--yellow); }
.price-card .badge {
  position: absolute; top: -14px; left: 32px;
  background: var(--yellow); color: var(--navy);
  font-size: 12.5px; font-weight: 700; letter-spacing: .06em;
  padding: 5px 14px; border-radius: 999px;
}
.price-card h3 { margin: 0 0 6px; color: var(--navy); font-size: 21px; }
.price-card .price { font-size: 42px; font-weight: 700; color: var(--navy); margin: 14px 0 2px; }
.price-card .per { color: var(--ink-soft); font-size: 14px; margin-bottom: 22px; }
.price-card ul { list-style: none; margin: 0 0 28px; padding: 0; }
.price-card li { padding: 8px 0 8px 28px; position: relative; font-size: 15px; color: var(--ink); }
.price-card li i { position: absolute; left: 0; top: 11px; color: var(--blue); }
.pricing-note { text-align: center; color: var(--ink-soft); font-size: 14px; margin-top: 22px; }
.price-lines { margin: 4px 0 24px; border-top: 1px solid var(--line); }
.pl-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 16px 0 0; }
.pl-label { color: var(--ink-soft); font-size: 14px; font-weight: 600; }
.pl-val { color: var(--navy); font-size: 15px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pl-val b { font-size: 30px; font-weight: 700; }
.pl-sub { color: var(--ink-soft); font-size: 12.5px; margin: 3px 0 0; }
.pricing-contact {
  max-width: 900px; margin: 26px auto 0; display: flex; align-items: center; justify-content: space-between;
  gap: 28px; flex-wrap: wrap;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 34px;
}
.pricing-contact h3 { margin: 0 0 6px; color: var(--navy); font-size: 19px; }
.pricing-contact p { margin: 0; color: var(--ink-soft); font-size: 14.5px; max-width: 62ch; }
.pricing-contact .btn { flex: none; }
@media (max-width: 800px) { .pricing-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .pricing-contact { flex-direction: column; align-items: flex-start; } }

/* ---------- Download ---------- */
.download { background: linear-gradient(155deg, var(--navy), var(--navy-ink)); border-radius: var(--radius-lg); color: #fff; padding: 64px; text-align: left; }
.download .grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 44px; align-items: center; }
.download h2 { color: #fff; }
.download p { color: #C6CBE0; }
.sysreq { font-size: 13.5px; color: #8890B3; margin-top: 18px; }
.dl-box { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius); padding: 30px; }
.dl-box .row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.1); }
.dl-box .row:first-child { border-top: none; }
.dl-box .row span { color: #C6CBE0; font-size: 15px; }
@media (max-width: 900px) { .download { padding: 36px; } .download .grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { padding: 44px 0 60px; color: var(--ink-soft); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 18px 36px; align-items: center; justify-content: space-between; }
.site-footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.site-footer a { color: var(--ink-soft); text-decoration: none; }
.site-footer a:hover { color: var(--navy); }

/* ---------- Scroll-Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hotspot { animation: none; }
}

/* ---------- Rechtstexte ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: 60px 24px 90px; }
.legal h1 { color: var(--navy); font-size: 34px; letter-spacing: -0.015em; }
.legal h2 { font-size: 22px; margin-top: 38px; }
.legal p, .legal li { color: var(--ink); font-size: 15.5px; }
.legal .placeholder { background: rgba(241,198,67,.25); padding: 0 .3em; border-radius: 4px; font-weight: 600; }
.legal .back { display: inline-block; margin-bottom: 28px; color: var(--blue); text-decoration: none; font-weight: 500; }

/* ---------- Word-Add-in-Mock ---------- */
.word-mock {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--card);
}
.word-chrome {
  display: flex; align-items: center; gap: 14px;
  background: #EDEFF7; border-bottom: 1px solid var(--line); padding: 10px 16px;
}
.word-chrome .dots { display: flex; gap: 7px; }
.word-chrome .dots i { width: 12px; height: 12px; border-radius: 50%; background: #D6D9E8; }
.word-chrome .dots i:first-child { background: #F76F63; }
.word-chrome .dots i:nth-child(2) { background: #F5BD4F; }
.word-chrome .dots i:last-child { background: #61C455; }
.word-chrome .doc-title { font-size: 13px; color: var(--ink-soft); }
.word-ribbon {
  display: flex; gap: 4px; padding: 6px 14px 0;
  background: #F4F5FB; border-bottom: 1px solid var(--line); font-size: 13.5px;
}
.word-ribbon span { padding: 7px 14px 9px; color: var(--ink-soft); border-radius: 8px 8px 0 0; }
.word-ribbon span.active {
  background: var(--card); color: var(--navy); font-weight: 600;
  border: 1px solid var(--line); border-bottom-color: var(--card); margin-bottom: -1px;
  box-shadow: inset 0 3px 0 var(--yellow);
}
.word-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; }
.word-doc {
  padding: 44px 52px; min-height: 320px;
  font-family: var(--font-display); font-size: 17px; line-height: 1.8; color: var(--ink);
}
.word-doc p { margin: 0 0 16px; }
.word-doc p:first-child { font-weight: 600; letter-spacing: .02em; }
.word-doc .cite { border-radius: 3px; padding: 0 2px; transition: background .4s; }
.word-doc .cite.wrong { text-decoration: underline wavy var(--red) 1.5px; text-underline-offset: 4px; }
.word-doc .cite.fixed { background: rgba(97, 196, 85, .22); text-decoration: none; }
.word-doc .caret { display: inline-block; width: 2px; height: 1.1em; background: var(--navy); vertical-align: -0.15em; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.word-pane {
  border-left: 1px solid var(--line); background: #FAFBFE; padding: 22px;
  display: flex; flex-direction: column; gap: 14px;
}
.pane-head { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14.5px; color: var(--navy); }
.pane-head img { width: 26px; border-radius: 7px; }
.pane-card { border-radius: var(--radius); padding: 16px; font-size: 14px; }
.pane-card.warn { background: rgba(251, 82, 91, .07); border: 1px solid rgba(251, 82, 91, .25); }
.pane-card.ok { background: rgba(97, 196, 85, .09); border: 1px solid rgba(97, 196, 85, .3); }
.pane-cite { margin: 0 0 6px; font-weight: 600; color: var(--navy); display: flex; gap: 8px; align-items: center; }
.pane-card.warn .pane-cite i { color: var(--red); }
.pane-card.ok .pane-cite i { color: #3E9B34; }
.pane-msg { margin: 0 0 12px; color: var(--ink-soft); }
.fix {
  display: block; width: 100%; text-align: left; margin-top: 8px;
  background: var(--card); border: 1px solid var(--line); border-radius: 10px;
  padding: 10px 14px; font: inherit; font-weight: 500; color: var(--navy); cursor: pointer;
  transition: border-color .2s, transform .12s;
}
.fix:hover { border-color: var(--blue); }
.fix:active { transform: scale(.985); }
.fix.ghost { text-align: center; color: var(--ink-soft); }
.pane-dictate {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--navy); color: #fff; border: none; border-radius: 10px;
  padding: 13px 16px; font: inherit; font-weight: 600; cursor: pointer;
  transition: transform .12s, opacity .2s;
}
.pane-dictate:hover { opacity: .92; }
.pane-dictate:active { transform: scale(.985); }
.pane-dictate.recording { background: var(--red); }
.pane-dictate.recording i { animation: blink 1.2s steps(1) infinite; }
.pane-note { margin: auto 0 0; font-size: 12.5px; color: var(--ink-soft); display: flex; gap: 7px; align-items: flex-start; }
.pane-note i { margin-top: 2px; color: var(--blue); }
@media (max-width: 900px) {
  .word-body { grid-template-columns: 1fr; }
  .word-pane { border-left: none; border-top: 1px solid var(--line); }
  .word-doc { padding: 28px; }
}

/* ---------- Selbst-testen-Demo (wasm-Normprüfung) ---------- */
.try {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 26px;
  align-items: start;
}
.try-input label {
  display: block; font-size: 13px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-soft); font-weight: 600; margin-bottom: 10px;
}
.try-input textarea {
  width: 100%; resize: vertical; min-height: 190px;
  background: var(--card); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 26px 30px;
  font-family: var(--font-display); font-size: 17.5px; line-height: 1.75;
  outline: none; transition: border-color .2s;
}
.try-input textarea:focus { border-color: var(--blue); }
.try-mic { margin: 12px 2px 0; font-size: 13.5px; color: var(--ink-soft); display: flex; gap: 8px; align-items: flex-start; }
.try-mic i { color: var(--blue); margin-top: 2px; }
.try-results { display: flex; flex-direction: column; gap: 12px; }
.try-results .pane-head { display: flex; align-items: center; gap: 10px; }
.try-results .pane-head img { width: 26px; border-radius: 7px; }
.try-status { margin-left: auto; font-size: 12px; font-weight: 500; color: var(--ink-soft); }
.try-status.ok { color: #3E9B34; }
#tryIssues { display: flex; flex-direction: column; gap: 12px; }
#tryIssues .pane-card { background: var(--card); box-shadow: var(--shadow); }
#tryIssues .pane-card.warn { background: rgba(251, 82, 91, .06); }
#tryIssues .pane-card.ok { background: rgba(97, 196, 85, .08); }
.try-privacy {
  margin: 26px auto 0; max-width: 760px; text-align: center;
  font-size: 14px; color: var(--ink-soft);
}
.try-privacy i { color: var(--blue); margin-right: 6px; }
@media (max-width: 900px) { .try { grid-template-columns: 1fr; } }

/* ---------- Live-Demo (echte Engine) ---------- */
.live-grid {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 26px;
  align-items: start;
}
.live-doc {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
  overflow: hidden; display: flex; flex-direction: column;
}
.live-chrome {
  display: flex; align-items: center; gap: 12px;
  background: #EDEFF7; border-bottom: 1px solid var(--line); padding: 10px 18px;
  font-size: 13px; color: var(--ink-soft);
}
.rec-dot {
  width: 10px; height: 10px; border-radius: 50%; background: var(--red);
  animation: blink 1.2s steps(1) infinite;
}
.live-timer {
  margin-left: auto; font-variant-numeric: tabular-nums;
  font-weight: 600; color: var(--navy);
}
.live-body { flex: 1; min-height: 300px; display: flex; flex-direction: column; }
.live-text {
  flex: 1; padding: 34px 42px; overflow-y: auto; max-height: 380px;
  font-family: var(--font-display); font-size: 17.5px; line-height: 1.8; color: var(--ink);
  white-space: pre-wrap;
}
.live-text .caret {
  display: inline-block; width: 2px; height: 1.1em; background: var(--navy);
  vertical-align: -0.15em; animation: blink 1s steps(1) infinite;
}
.live-gate {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 18px; text-align: center; padding: 40px 44px;
}
.live-gate.slim { flex: 0 0 auto; padding: 18px 44px 26px; }
.live-gate-intro i { font-size: 40px; color: var(--blue); }
.live-gate-intro h3 { margin: 10px 0 8px; color: var(--navy); font-size: 23px; }
.live-gate-intro p { margin: 0 auto; max-width: 480px; color: var(--ink-soft); font-size: 14.5px; }
.live-gate-intro a { color: var(--blue); }
.live-gate-note { margin: 0 auto; max-width: 460px; font-size: 12.5px; color: var(--ink-soft); }
.live-foot {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid var(--line); background: #FAFBFE;
  padding: 14px 18px; min-height: 54px;
}
.live-foot[hidden] { display: none; } /* display:flex schlägt sonst das UA-[hidden] */
.btn-stop { background: var(--red); }
.live-status { font-size: 13.5px; color: var(--ink-soft); }
.live-status.ok { color: #3E9B34; }
.live-status.err { color: var(--red); }
.live-pane { display: flex; flex-direction: column; gap: 12px; }
.live-pane .pane-head img { width: 26px; border-radius: 7px; }
#liveIssues { display: flex; flex-direction: column; gap: 12px; }
#liveIssues .pane-card { background: var(--card); box-shadow: var(--shadow); }
#liveIssues .pane-card.warn { background: rgba(251, 82, 91, .06); }
#liveIssues .pane-card.ok { background: rgba(97, 196, 85, .08); }
#liveIssues .pane-msg { margin-bottom: 0; }
#liveIssues .pane-msg + .fix, #liveIssues .pane-msg:has(+ .fix) { margin-bottom: 4px; }
.live-fallback video {
  width: 100%; border-radius: var(--radius-lg);
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.live-fallback p { text-align: center; color: var(--ink-soft); font-size: 14px; margin-top: 14px; }
@media (max-width: 900px) {
  .live-grid { grid-template-columns: 1fr; }
  .live-text { padding: 24px; }
  .live-gate { padding: 30px 24px; }
}

/* =====================================================================
   THEME: „mono" — schwarz/weiß, Monospace, ein Akzent (GitHub/mobot-Look)
   ---------------------------------------------------------------------
   Rein additiv und komplett wegschaltbar: greift NUR bei
   <html data-theme="mono">. Ohne das Attribut bleibt das Standard-Theme
   (Fraunces/Geist, Navy/Gelb/Blau) unangetastet. Umschalten über den
   Button im Header (persistiert in localStorage) oder ?theme=mono.

   AKZENT AN EINER STELLE ändern: nur --accent + --accent-tint/-glow/-strong.
   ===================================================================== */
:root[data-theme="mono"] {
  /* — der eine Akzent (hier alles anfassen, um die Farbe zu tauschen) — */
  --accent:        #2F6BFF;
  --accent-strong: #1E54E8;
  --accent-tint:   rgba(47, 107, 255, 0.14);
  --accent-glow:   rgba(47, 107, 255, 0.30);

  /* Brand-Variablen auf Monochrom umbiegen. --blue/--yellow zeigen auf den
     Akzent, damit Links, Eyebrows, CTAs, Highlights EINE Farbe sprechen. */
  --navy:      #0A0A0A;   /* dunkle Sektionen + Überschriften */
  --navy-deep: #050505;
  --navy-ink:  #000000;
  --blue:      var(--accent);
  --yellow:    var(--accent);
  --red:       #E5484D;   /* semantisch belassen (Aufnahme, falsche Zitate) */
  --paper:     #FFFFFF;
  --card:      #FFFFFF;
  --ink:       #0A0A0A;
  --ink-soft:  #6B6B6B;
  --line:      #E4E4E4;
  --radius:    8px;
  --radius-lg: 12px;
  --shadow:    0 1px 2px rgba(0,0,0,.05), 0 14px 34px -20px rgba(0,0,0,.22);

  /* Monospace überall — Headlines wie Fließtext, wie im Terminal/GitHub. */
  --font:         ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --font-display: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

/* Überschriften im Mono-Theme: enger, kein Serif-Schwung. */
[data-theme="mono"] h1,
[data-theme="mono"] h2,
[data-theme="mono"] h3 { letter-spacing: -0.02em; font-weight: 600; }

/* Header-Glas auf neutrales Weiß. */
[data-theme="mono"] .site-header { background: rgba(255, 255, 255, 0.82); }

/* Hero flächig-flach (crisper, editorialer Look). */
[data-theme="mono"] .hero { border-radius: 0; }

/* Helle Texte auf den dunklen (jetzt schwarzen) Sektionen neutral grauen. */
[data-theme="mono"] .hero .sub,
[data-theme="mono"] .tour-info p,
[data-theme="mono"] .b2b li,
[data-theme="mono"] .b2b aside p,
[data-theme="mono"] .download p,
[data-theme="mono"] .dl-box .row span { color: #B8B8B8; }
[data-theme="mono"] .hero .fineprint,
[data-theme="mono"] .sysreq { color: #7D7D7D; }

/* CTAs: Akzent-Fläche mit weißem Text (statt Navy-auf-Gelb). */
[data-theme="mono"] .btn-primary,
[data-theme="mono"] .nav .cta,
[data-theme="mono"] .nav .cta:hover,
[data-theme="mono"] .price-card .badge,
[data-theme="mono"] .hotspot { color: #FFFFFF; }
[data-theme="mono"] .btn-primary:hover,
[data-theme="mono"] .nav .cta:hover { background: var(--accent-strong); }

/* Vorher/Nachher-Regler: neutrale Grautöne, Akzent-Highlight. */
[data-theme="mono"] .ba-raw { background: #F4F4F4; color: #6B6B6B; }
[data-theme="mono"] .ba-raw .tag { background: #E6E6E6; color: #6B6B6B; }
[data-theme="mono"] .ba-fmt .tag { background: var(--accent-tint); color: var(--accent); }
[data-theme="mono"] .ba-fmt .txt mark { background: rgba(47, 107, 255, 0.16); }

/* Hotspots: Akzent-Punkt mit ruhigem Ring statt gelbem Pulsieren. */
[data-theme="mono"] .hotspot { animation: none; box-shadow: 0 0 0 4px var(--accent-glow); }

/* iOS-Sektion: neutraler Verlauf statt Blaustich. */
[data-theme="mono"] .ios { background: linear-gradient(150deg, #F4F4F4, #FFFFFF 65%); }
[data-theme="mono"] .store-hint { color: var(--accent); }

/* Legal-Platzhalter mit Akzent-Tint. */
[data-theme="mono"] .legal .placeholder { background: var(--accent-tint); }

/* Word-Mock + Live-Demo: blaustichige Grautöne neutralisieren. */
[data-theme="mono"] .word-chrome,
[data-theme="mono"] .live-chrome { background: #F0F0F0; }
[data-theme="mono"] .word-ribbon { background: #F7F7F7; }
[data-theme="mono"] .word-pane,
[data-theme="mono"] .live-foot { background: #FAFAFA; }
/* Mac-Fenster-Punkte monochrom statt Ampel (nur Akzent bleibt Farbe). */
[data-theme="mono"] .word-chrome .dots i,
[data-theme="mono"] .word-chrome .dots i:first-child,
[data-theme="mono"] .word-chrome .dots i:nth-child(2),
[data-theme="mono"] .word-chrome .dots i:last-child { background: #D4D4D4; }

/* ---------- Theme-Umschalter (funktioniert in beiden Themes) ---------- */
.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 10px; flex: none;
  border: 1px solid var(--line); background: transparent;
  color: var(--ink-soft); cursor: pointer; font-size: 19px;
  transition: color .2s, border-color .2s, background .2s, transform .12s;
}
.theme-toggle:hover { color: var(--navy); border-color: var(--blue); }
.theme-toggle:active { transform: scale(.94); }
[data-theme="mono"] .theme-toggle { color: var(--accent); border-color: var(--accent); }
