/* LIBERYX Landingpage — kohärentes Raster, ein mutiger blauer Korpus-Block als
   Wow-Moment, Karten mit Tiefe. Markenpalette (verbindlich, helles Theme):
   ink/blue/gold/paper. Inter als Stimme, JetBrains Mono nur für die juristische
   Vernakular-Ebene (Marker, Fundstellen, Kennzahlen, Labels). */

:root {
  --ink: #0a0a0a;
  --blue: #0069e1;
  --blue-700: #0056bd;
  --blue-900: #06337a;
  --gold: #0173e6;
  --paper: #f5f6f8;
  --white: #ffffff;
  --muted: #54585f;
  --faint: #7a7f87;
  --line: #e6e8ec;
  --maxw: 1180px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --shadow-sm: 0 1px 2px rgba(10, 12, 20, 0.05);
  --shadow-lift: 0 22px 48px -22px rgba(0, 105, 225, 0.28), 0 6px 16px rgba(10, 12, 20, 0.05);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -0.025em; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 2px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }

/* Label-/Kennzahl-Ebene — durchgehend Inter (Haupt-Schrift), tabellarische Ziffern */
.kicker, .demo-search, .demo-ref, .demo-foot, .demo-ok, .stat-num, .stat-label,
.stats-sub, .graph-cap, .head-nav a:not(.btn), .tagline, .foot-links,
.principle-no, .cta-eyebrow, .hero-note {
  font-family: var(--sans);
  font-feature-settings: "tnum" 1;
}

/* ── Buttons ─────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: 8px;
  padding: 0.66rem 1.15rem;
  font-weight: 500;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.08s ease, background 0.15s ease, color 0.15s ease,
    border-color 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 0.95rem 1.65rem; font-size: 1.02rem; }
.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 10px 22px -10px rgba(0, 105, 225, 0.7);
}
.btn-primary:hover { background: var(--blue-700); box-shadow: 0 14px 28px -10px rgba(0, 105, 225, 0.75); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); background: var(--ink); color: var(--white); }

/* ── Kopf ────────────────────────────────────────────────────────── */
.site-head {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem var(--gutter);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
/* Dezente blaue Scroll-Fortschrittslinie am unteren Rand der Nav */
.scroll-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 0;
  background: var(--blue);
  z-index: 2;
  will-change: width;
}
.brand { display: inline-flex; align-items: center; }
.brand .brand-logo { height: 26px; width: auto; display: block; }

/* Logo-Einblend-Animation (identisch zu App/Login): grosses „I" → klein-i mit
   blauem Strich, danach poppt der End-Punkt auf. */
.lx-istem {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: lx-istem 1.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.4s both;
}
@keyframes lx-istem {
  0%, 32%   { transform: scaleY(1.538); }
  52%, 100% { transform: scaleY(1); }
}
.lx-ibar {
  transform-box: fill-box;
  transform-origin: 100% 50%;
  fill: #0173e6;
  animation: lx-ibar 1.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.4s both;
}
@keyframes lx-ibar {
  0%, 40% { transform: scaleX(0.34); opacity: 0; }
  54%     { transform: scaleX(0.34); opacity: 1; }
  66%     { transform: scaleX(0.34); opacity: 1; }
  100%    { transform: scaleX(1);    opacity: 1; }
}
.lx-dot {
  transform-box: fill-box;
  transform-origin: 50% 50%;
  animation: lx-dot-pop 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) 2.35s both;
}
@keyframes lx-dot-pop {
  0%   { opacity: 0; transform: scale(0); }
  60%  { opacity: 1; transform: scale(1.3); }
  100% { opacity: 1; transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .lx-istem, .lx-ibar, .lx-dot { animation: none; }
}
.head-nav { display: flex; align-items: center; gap: clamp(0.9rem, 2vw, 1.9rem); }
.head-nav a:not(.btn) {
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.head-nav a:not(.btn):hover { color: var(--blue); text-decoration: none; }
.head-nav .btn-primary { color: var(--white); }

/* ── Hero ────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(2.8rem, 7vw, 5.5rem) var(--gutter) clamp(2.6rem, 6vw, 4.5rem);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -10%;
  right: -8%;
  width: 46%;
  height: 120%;
  background: radial-gradient(closest-side, rgba(0, 105, 225, 0.1), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.6rem, 4vw, 3.6rem);
  align-items: center;
}
/* Grid-Items dürfen schrumpfen (sonst erzwingt die Demo-Karte Überbreite auf Mobile) */
.hero-grid > * { min-width: 0; }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1.3rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--blue);
}
.kicker::before { content: ""; width: 26px; height: 2px; background: var(--gold); }
.kicker-gold { color: var(--gold); }
.kicker-gold::before { background: var(--gold); }

.hero h1 {
  font-size: clamp(2.6rem, 6.4vw, 4.9rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.98;
  margin-bottom: 1.4rem;
}
.u-gold {
  background-image: linear-gradient(var(--gold), var(--gold));
  background-repeat: no-repeat;
  background-position: 0 92%;
  background-size: 100% 0.16em;
}
.lede {
  max-width: 38ch;
  margin: 0 0 2rem;
  font-size: clamp(1.05rem, 1.9vw, 1.22rem);
  color: var(--muted);
}
.hero-cta { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.hero-note {
  margin-top: 1.7rem;
  font-size: 0.71rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--faint);
}

/* Demo-Karte: Suche → Fundstelle */
.demo {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-lift);
  overflow: hidden;
}
.demo-search {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1rem;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  font-size: 0.86rem;
  color: var(--ink);
}
.demo-mag { width: 17px; height: 17px; color: var(--blue); flex: none; }
.demo-typed { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.demo-caret {
  width: 2px; height: 1.05em; background: var(--blue); flex: none;
  animation: blink 1.1s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.demo-hit { padding: 1.15rem 1.15rem 1.2rem; }
.demo-ref {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.82rem; font-weight: 500; color: var(--blue);
}
.demo-ok { margin-left: auto; font-size: 0.68rem; letter-spacing: 0.03em; color: #1a7f37; }
.demo-title { margin: 0.55rem 0 0.5rem; font-size: 1.18rem; font-weight: 600; }
.demo-quote { margin: 0 0 1rem; font-size: 0.93rem; line-height: 1.55; color: var(--muted); }
.demo-foot {
  display: flex; justify-content: space-between; align-items: center; gap: 0.6rem;
  padding-top: 0.85rem; border-top: 1px solid var(--line);
  font-size: 0.7rem; color: var(--faint);
}
.demo-foot a { color: var(--blue); font-weight: 500; }
.demo-badge {
  display: flex; align-items: center; gap: 0.45rem;
  padding: 0.5rem 1rem; background: var(--ink); color: #fff;
  font-family: var(--sans); font-size: 0.66rem; letter-spacing: 0.06em;
}
.demo-badge .node { width: 7px; height: 7px; }
.demo-cap {
  margin: 0.75rem 0 0; text-align: center;
  font-family: var(--sans); font-size: 0.66rem; letter-spacing: 0.04em;
  color: var(--faint);
}

/* Beispielfrage-Chips unter dem Suchfeld */
.demo-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0.75rem 1rem 0.15rem;
}
.demo-chips button {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  padding: 0.32rem 0.72rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--muted);
  cursor: pointer;
  transition: color 0.14s ease, border-color 0.14s ease, background 0.14s ease;
}
.demo-chips button:hover { border-color: var(--blue); color: var(--blue); }
.demo-chips button.is-on { background: var(--blue); border-color: var(--blue); color: #fff; }

/* Animations-Sequenz: Frage tippen → Ladeanimation → Antwort.
   Ohne JS (kein .js) bleibt alles statisch sichtbar (graceful). */
.demo-loading { display: none; }
.demo.js .demo-hit { display: none; }
.demo.js.is-loading .demo-loading {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1.05rem 1.15rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.demo.js.is-loading .demo-caret,
.demo.js.is-done .demo-caret { display: none; }
.demo.js.is-done .demo-hit { display: block; animation: demoReveal 0.45s ease both; }
.demo-spinner {
  width: 16px;
  height: 16px;
  flex: none;
  border: 2px solid var(--line);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: demospin 0.7s linear infinite;
}
@keyframes demospin { to { transform: rotate(360deg); } }
@keyframes demoReveal {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.node { display: inline-block; width: 9px; height: 9px; border-radius: 50%; flex: none; }
.node-blue { background: var(--blue); }
.node-gold { background: #8fbaff; }
.node-light { background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.12) inset; }

/* ── Text-Bild-Reihen (kompakt statt Banner) ─────────────────────── */
.media-split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(1.4rem, 3vw, 2.8rem);
  align-items: center;
  margin-top: clamp(1.8rem, 4vw, 2.6rem);
}
.media-img { margin: 0; }
.media-img img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}
.media-copy h3 { font-size: 1.35rem; font-weight: 700; margin-bottom: 0.6rem; }
.media-copy p { margin: 0 0 1.1rem; color: var(--muted); font-size: 0.99rem; max-width: 52ch; }
.media-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.55rem; }
.media-list li { position: relative; padding-left: 1.6rem; font-size: 0.95rem; line-height: 1.5; }
.media-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--blue); font-weight: 700; }
@media (max-width: 560px) {
  .media-img img { max-height: 240px; border-radius: 10px; }
}

/* ── Standard-Bänder ─────────────────────────────────────────────── */
.band { padding-block: clamp(3rem, 7vw, 5.5rem); }
.band-paper { background: var(--paper); border-block: 1px solid var(--line); }

.sec-head { max-width: 62ch; margin-bottom: clamp(1.8rem, 4vw, 2.8rem); }
.sec-title { font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 700; }
.sec-head .kicker { margin-bottom: 0.9rem; }
.sec-lede { margin: 1rem 0 0; font-size: clamp(1.02rem, 1.8vw, 1.16rem); color: var(--muted); }
.sec-lede-dark { color: var(--muted); }

/* ── Karten ──────────────────────────────────────────────────────── */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.1rem;
}
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.6rem 1.55rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.14s ease, box-shadow 0.14s ease, border-color 0.14s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-color: rgba(0, 105, 225, 0.32);
}
.card-ico {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 1.05rem;
  color: var(--blue);
  background: rgba(0, 105, 225, 0.08);
  border-radius: 11px;
}
.card-ico svg { width: 22px; height: 22px; }
.card h3 { font-size: 1.14rem; font-weight: 600; margin-bottom: 0.5rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.96rem; }

/* ── Korpus: blauer Wow-Block ────────────────────────────────────── */
.corpus {
  background:
    radial-gradient(120% 90% at 85% 0%, var(--blue) 0%, var(--blue-900) 100%);
  color: #eaf2ff;
}
.corpus-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(3.2rem, 7vw, 5.5rem) var(--gutter);
}
.sec-head-invert .sec-title { color: var(--white); }
.sec-head-invert .sec-lede { color: rgba(234, 242, 255, 0.82); }
.corpus-split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(1.4rem, 3vw, 2.4rem);
  align-items: stretch;
}
.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  overflow: hidden;
}
.stat {
  background: rgba(255, 255, 255, 0.04);
  padding: 1.5rem 1.3rem;
}
.stat-num {
  display: block;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--white);
}
.stat-label {
  display: block;
  margin-top: 0.55rem;
  font-size: 0.66rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(234, 242, 255, 0.7);
}
.corpus-graph {
  margin: 0;
  display: flex;
  flex-direction: column;
}
.corpus-graph canvas {
  display: block;
  width: 100%;
  flex: 1;
  min-height: clamp(230px, 30vw, 340px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
}
.graph-cap {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin: 0.8rem 0 0;
  font-size: 0.7rem;
  letter-spacing: 0.02em;
  color: rgba(234, 242, 255, 0.72);
}
.graph-cap .node { margin-right: 0.1rem; }
.cap-sep { opacity: 0.5; }
.stats-sub {
  margin: 1.6rem 0 0;
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  color: rgba(234, 242, 255, 0.72);
}
.stats-sub strong { color: var(--white); font-weight: 700; }
.stats-sub .sep { margin: 0 0.55rem; color: rgba(255, 255, 255, 0.3); }
.stats-stand { text-transform: uppercase; letter-spacing: 0.08em; }

/* ── Grundsätze ──────────────────────────────────────────────────── */
.principles { list-style: none; margin: 0; padding: 0; }
.principle {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: clamp(0.8rem, 2vw, 1.6rem);
  padding: 1.6rem 0;
  border-top: 1px solid var(--line);
}
.principle:first-child { border-top: 0; }
.principle-no { font-size: 1.05rem; font-weight: 700; color: var(--gold); padding-top: 0.1rem; }
.principle h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 0.45rem; }
.principle p { margin: 0; color: var(--muted); font-size: 0.99rem; max-width: 64ch; }

/* ── Rechtsgebiete (Chips) ───────────────────────────────────────── */
.areas { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.area-chip {
  font-family: var(--sans);
  font-size: 0.82rem;
  padding: 0.5rem 0.9rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.14s ease, color 0.14s ease, transform 0.14s ease;
}
.area-chip:hover { border-color: rgba(0, 105, 225, 0.4); color: var(--blue); transform: translateY(-2px); }

/* ── Module / Fachfunktionen ─────────────────────────────────────── */
.modules { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.1rem; }
.module {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.7rem 1.6rem;
  box-shadow: var(--shadow-sm);
}
.module-wide { grid-column: 1 / -1; }
.module-name {
  font-size: 1.25rem; font-weight: 700; margin-bottom: 1.1rem;
  padding-bottom: 0.8rem; border-bottom: 1px solid var(--line);
}
.feature + .feature { margin-top: 1.2rem; }
.feature h4 {
  margin: 0 0 0.5rem; font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue);
  font-family: var(--sans);
}
.feature ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.4rem; }
.feature li {
  position: relative; padding-left: 1.3rem;
  font-size: 0.95rem; color: var(--muted); line-height: 1.5;
}
.feature li::before {
  content: ""; position: absolute; left: 0; top: 0.55em;
  width: 7px; height: 7px; border-radius: 2px; background: var(--gold);
}
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.4rem 1.8rem; }

/* ── Preise ──────────────────────────────────────────────────────── */
.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.2rem; align-items: start; }
.price-card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.8rem 1.6rem;
  box-shadow: var(--shadow-sm);
}
.price-card-featured { border-color: rgba(0, 105, 225, 0.45); box-shadow: var(--shadow-lift); }
.price-badge {
  position: absolute; top: 1.4rem; right: 1.4rem;
  font-family: var(--sans); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--white); background: var(--blue);
  padding: 0.25rem 0.6rem; border-radius: 999px;
}
.price-name { font-size: 1.3rem; font-weight: 700; margin-bottom: 0.6rem; }
.price-amount { font-size: 1.7rem; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 0.4rem; }
.price-per { font-size: 0.9rem; font-weight: 500; color: var(--faint); }
.price-aud { margin: 0 0 1.2rem; font-size: 0.88rem; color: var(--muted); }
.price-features { list-style: none; margin: 0 0 1.6rem; padding: 0; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.price-features li { position: relative; padding-left: 1.6rem; font-size: 0.93rem; color: var(--ink); line-height: 1.45; }
.price-features li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--blue); font-weight: 700; }
.price-card .btn { width: 100%; justify-content: center; }

/* ── CTA ─────────────────────────────────────────────────────────── */
.cta {
  text-align: center;
  padding: clamp(3.6rem, 8vw, 6rem) var(--gutter);
  background: var(--ink);
  color: var(--white);
}
/* Auf schwarzem Grund: echtes Marken-Gold + Bold, sonst geht das Wort unter */
.cta-eyebrow { margin: 0 0 1.1rem; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: #d2b482; font-weight: 700; }
.cta h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 700; margin-bottom: 0.8rem; }
.cta-lede { max-width: 48ch; margin: 0 auto 2rem; color: #c4c8d0; }

/* ── Fuß ─────────────────────────────────────────────────────────── */
.site-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 2rem var(--gutter);
  border-top: 1px solid var(--line);
}
.foot-brand { display: flex; align-items: center; gap: 0.9rem; }
.tagline { font-size: 0.66rem; letter-spacing: 0.15em; color: var(--faint); }
.foot-links { display: flex; align-items: center; gap: 0.7rem; color: var(--faint); font-size: 0.72rem; }
.foot-links a { color: var(--ink); }

/* ── Page-Load: ruhiges Aufsteigen des Hero ──────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .hero-lede > *, .demo { animation: rise 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .hero-lede > *:nth-child(1) { animation-delay: 0.02s; }
  .hero-lede > *:nth-child(2) { animation-delay: 0.08s; }
  .hero-lede > *:nth-child(3) { animation-delay: 0.14s; }
  .hero-lede > *:nth-child(4) { animation-delay: 0.20s; }
  .hero-lede > *:nth-child(5) { animation-delay: 0.26s; }
  .demo { animation-delay: 0.16s; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
}

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .corpus-split { grid-template-columns: 1fr; }
  .corpus-graph canvas { min-height: 260px; }
}
@media (max-width: 560px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .principle { grid-template-columns: 1fr; gap: 0.3rem; }
}

/* ── Navigation: Desktop-Links im Kopf, mobil Hamburger oben rechts ─
   Ab 761px stehen die Links direkt in der Kopf-Nav. Mobil (≤760px)
   klappt der Hamburger ein transluzentes Glas-Panel unter dem Kopf
   auf (gleiche Optik wie die frühere Tab-Bar). Progressive Enhance-
   ment: ohne JS (.js fehlt) bleibt der Hamburger versteckt und die
   Links brechen einfach um — Nav bleibt immer erreichbar. */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  border-radius: 12px;
  color: var(--ink);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle svg { width: 26px; height: 26px; }
.nav-toggle .icon-close { display: none; }
@media (max-width: 1080px) {
  .js .nav-toggle { display: inline-flex; }
  .js .head-nav {
    position: absolute;
    top: calc(100% + 0.6rem);
    right: 0.9rem;
    z-index: 40;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    min-width: 13rem;
    padding: 0.5rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.72);
    -webkit-backdrop-filter: blur(18px) saturate(1.7);
    backdrop-filter: blur(18px) saturate(1.7);
    border: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow: 0 12px 32px -8px rgba(10, 12, 20, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
  }
  .js .site-head.menu-open .head-nav {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  .js .head-nav a:not(.btn) { padding: 0.7rem 0.9rem; border-radius: 14px; }
  .js .head-nav a:not(.btn):hover { background: rgba(10, 12, 20, 0.05); }
  .js .head-nav .btn-primary { margin-top: 0.3rem; text-align: center; }
  .js .site-head.menu-open .nav-toggle .icon-burger { display: none; }
  .js .site-head.menu-open .nav-toggle .icon-close { display: block; }
  /* Ohne JS: Links im Kopf einfach umbrechen lassen (bleiben erreichbar) */
  html:not(.js) .head-nav { flex-wrap: wrap; justify-content: flex-end; }
}
@media (prefers-reduced-motion: reduce) {
  .js .head-nav { transition: none; }
}
/* ── Aktiver Nav-Punkt ───────────────────────────────────────────── */
.head-nav a.is-active { color: var(--blue); }
.head-nav a.is-active::after {
  content: ""; display: block; height: 2px; margin-top: 3px;
  background: var(--gold); border-radius: 2px;
}

/* ── Scroll-Reveal (sanftes Aufsteigen) ──────────────────────────────
   Progressive Enhancement: nur wenn JS aktiv ist (.js am <html>), wird
   der Startzustand versteckt. Ohne JS bleibt aller Inhalt sichtbar. */
.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ── Hero: Mono-Tagline unter dem Titel ──────────────────────────── */
.hero-tagline {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1.6rem;
}

/* Längere Hero-Headline (Home): eine Stufe kleiner, damit sie ruhig steht */
.hero h1.h1-fit { font-size: clamp(2.1rem, 4.8vw, 3.7rem); }

.nobr { white-space: nowrap; }

/* ── Rechtsgebiete: Icon-Kachel-Raster ───────────────────────────── */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 0.75rem;
}
.area-tile {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1.05rem 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.14s ease, box-shadow 0.14s ease, border-color 0.14s ease;
}
.area-tile:hover {
  transform: translateY(-3px);
  border-color: rgba(1, 115, 230, 0.5);
  box-shadow: var(--shadow-lift);
}
.area-tile .a-ico {
  display: inline-grid; place-items: center;
  width: 38px; height: 38px; border-radius: 10px;
  color: var(--gold); background: rgba(1, 115, 230, 0.12);
}
.area-tile .a-ico svg { width: 20px; height: 20px; }
.area-tile span { font-size: 0.86rem; font-weight: 500; letter-spacing: -0.01em; }
.area-tile .a-abbr {
  margin-top: -0.45rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--faint);
}

/* ── So einfach geht's: nummerierte Schritte ─────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.1rem;
}
.step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.7rem 1.5rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.14s ease, box-shadow 0.14s ease, border-color 0.14s ease;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: rgba(0, 105, 225, 0.32); }
.step-no {
  font-family: var(--sans);
  font-size: 2.1rem; font-weight: 700; line-height: 1;
  color: var(--gold);
  display: block; margin-bottom: 0.9rem;
}
.step h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 0.45rem; }
.step p { margin: 0; color: var(--muted); font-size: 0.96rem; }

/* ── Testimonials: wischbares Karten-Deck ────────────────────────── */
.t-swiper { position: relative; max-width: 760px; margin: 0 auto; outline: none; }
.t-viewport { overflow: hidden; border-radius: 16px; }
.t-track {
  display: flex;
  transition: transform 0.42s cubic-bezier(0.2, 0.7, 0.2, 1);
  cursor: grab;
  touch-action: pan-y;
}
.t-track:active { cursor: grabbing; }
.t-card {
  flex: 0 0 100%;
  box-sizing: border-box;
  padding: 2rem 2rem 1.8rem;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  border-radius: 16px;
  user-select: none;
}
.t-quote { font-size: clamp(1.05rem, 2.1vw, 1.28rem); line-height: 1.55; margin: 0 0 1.4rem; color: var(--ink); }
.t-quote::before { content: "„"; color: var(--gold); font-weight: 700; }
.t-quote::after { content: "\201C"; color: var(--gold); font-weight: 700; }
.t-person { display: flex; align-items: center; gap: 0.85rem; }
.t-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; flex: none;
  font-family: var(--sans); font-weight: 700; font-size: 0.95rem; color: var(--white);
}
.t-meta strong { display: block; font-size: 0.98rem; font-weight: 600; }
.t-meta span { font-size: 0.82rem; color: var(--faint); }
.t-stars { margin-left: auto; color: var(--gold); letter-spacing: 0.1em; font-size: 0.95rem; flex: none; }
.t-controls { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.3rem; }
.t-nav {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--white);
  color: var(--ink); font-size: 1.2rem; line-height: 1; cursor: pointer;
  display: grid; place-items: center;
  transition: border-color 0.14s ease, color 0.14s ease, background 0.14s ease;
}
.t-nav:hover:not(:disabled) { border-color: var(--blue); color: var(--blue); }
.t-nav:disabled { opacity: 0.35; cursor: default; }
.t-dots { display: flex; align-items: center; gap: 0.5rem; }
.t-dot { width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0; background: var(--line); cursor: pointer; transition: background 0.15s ease, transform 0.15s ease; }
.t-dot.is-on { background: var(--blue); transform: scale(1.35); }
.t-hint {
  text-align: center; margin: 1rem 0 0;
  font-family: var(--sans); font-size: 0.68rem; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--faint);
}

/* ── FAQ (native <details>-Akkordeon) ────────────────────────────── */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 1.2rem;
  padding: 1.2rem 0; font-size: 1.06rem; font-weight: 600; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; color: var(--blue); font-weight: 400;
  font-size: 1.5rem; line-height: 1; transition: transform 0.18s ease;
}
.faq details[open] summary::after { content: "\2013"; }
.faq details[open] summary { color: var(--blue); }
.faq-a { margin: 0 0 1.3rem; color: var(--muted); font-size: 0.99rem; max-width: 68ch; }
.faq-a a { font-weight: 500; }

/* ── Philosophie: Manifest & Statements ──────────────────────────── */
.manifest {
  text-align: center;
  padding: clamp(4rem, 11vw, 7.5rem) var(--gutter) clamp(2.6rem, 6vw, 4rem);
  max-width: 900px;
  margin: 0 auto;
}
.manifest h1 {
  font-size: clamp(2.4rem, 6.4vw, 4.4rem);
  font-weight: 800; letter-spacing: -0.045em; line-height: 1.04;
  max-width: 22ch; margin-inline: auto;
}
.manifest p { max-width: 44ch; margin: 1.4rem auto 0; font-size: clamp(1.1rem, 2.2vw, 1.4rem); color: var(--muted); }
.statements { max-width: 900px; margin: 0 auto; }
.stmt {
  padding: clamp(2.4rem, 6vw, 4rem) 0;
  border-top: 1px solid var(--line);
  text-align: center;
}
.stmt-no { font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.stmt h2 { font-size: clamp(1.7rem, 4vw, 2.7rem); font-weight: 700; margin: 1rem auto 0.9rem; max-width: 22ch; }
.stmt p { margin: 0 auto; max-width: 52ch; color: var(--muted); font-size: clamp(1.02rem, 1.9vw, 1.16rem); }
.stmt .u-gold { white-space: nowrap; }

/* ── Trust-Zeile (Daten in der Schweiz) ──────────────────────────── */
.trust-row {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.06em;
  color: var(--muted); margin-top: 1.4rem;
}
.trust-row svg { width: 15px; height: 15px; color: var(--blue); }

/* ── Easter-Egg-Toast ────────────────────────────────────────────── */
.egg-toast {
  position: fixed; left: 50%; bottom: 26px; z-index: 60;
  transform: translate(-50%, 22px); opacity: 0;
  display: flex; align-items: center; gap: 0.7rem;
  max-width: min(92vw, 460px);
  padding: 0.85rem 1.15rem;
  background: var(--ink); color: #fff;
  border-radius: 12px; box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.5);
  font-size: 0.92rem;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.egg-toast.in { opacity: 1; transform: translate(-50%, 0); }
.egg-toast b { color: var(--gold); font-weight: 700; }
.egg-scale { font-size: 1.25rem; animation: egg-tip 1.4s ease-in-out infinite; }
@keyframes egg-tip { 0%, 100% { transform: rotate(-8deg); } 50% { transform: rotate(8deg); } }

/* ── Footer erweitert ────────────────────────────────────────────── */
.foot-links { flex-wrap: wrap; }
.foot-note { font-size: 0.72rem; color: var(--faint); }
.foot-extra { display: flex; align-items: center; gap: 0.55rem; }
.foot-langs {
  margin-right: 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--faint);
}
.foot-soc {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  transition: color 0.14s ease, border-color 0.14s ease, transform 0.14s ease;
}
.foot-soc:hover { color: var(--blue); border-color: var(--blue); transform: translateY(-2px); }
.foot-soc svg { width: 15px; height: 15px; }

@media (max-width: 620px) {
  .t-card { padding: 1.5rem 1.4rem; }
  .t-stars { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ═══ Neufassung Juli 2026: Footer mit Spalten, Vergleichstabelle, ✕-Liste ═══ */

/* Footer (Spaltenlayout mit Claim und Disclaimer). */
.site-foot2 { border-top: 1px solid var(--line); background: var(--white); }
.foot-top {
  max-width: var(--maxw); margin: 0 auto;
  padding: 2.6rem var(--gutter) 2rem;
  display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 2rem;
}
.foot-brandcol img { height: 22px; width: auto; }
.foot-claim {
  margin: 0.9rem 0 1.1rem; font-size: 0.92rem; color: var(--muted);
  max-width: 28ch; line-height: 1.55;
}
.foot-col h3 {
  font-size: 0.72rem; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--faint); margin: 0 0 0.75rem; font-weight: 600;
}
.foot-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.foot-col a { color: var(--ink); font-size: 0.9rem; }
.foot-col a:hover { color: var(--blue); text-decoration: none; }
.foot-bottom { border-top: 1px solid var(--line); }
.foot-bottom-inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 1.1rem var(--gutter) 1.5rem;
  display: flex; flex-wrap: wrap; gap: 0.8rem 1.8rem;
  align-items: center; justify-content: space-between;
}
.foot-disclaimer { margin: 0; font-size: 0.8rem; color: var(--faint); max-width: 68ch; line-height: 1.5; }
.foot-meta { display: flex; align-items: center; gap: 0.9rem; font-size: 0.8rem; color: var(--faint); white-space: nowrap; }
@media (max-width: 940px) {
  .foot-top { grid-template-columns: repeat(2, 1fr); }
  .foot-brandcol { grid-column: 1 / -1; }
  .foot-meta { flex-wrap: wrap; white-space: normal; }
}

/* ✕-Liste (Gegenstück zur ✓-.media-list): was NICHT enthalten ist. */
.xlist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.55rem; }
.xlist li { position: relative; padding-left: 1.6rem; font-size: 0.95rem; line-height: 1.5; color: var(--muted); }
.xlist li::before { content: "✕"; position: absolute; left: 0; top: 0; color: var(--faint); font-weight: 700; }

/* Abo-Vergleichstabelle (Preisseite). */
.cmp-wrap { overflow-x: auto; }
.cmp-table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  font-size: 0.93rem; background: var(--white);
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
}
.cmp-table th, .cmp-table td {
  padding: 0.75rem 1rem; border-bottom: 1px solid var(--line); text-align: center;
}
.cmp-table th:first-child, .cmp-table td:first-child { text-align: left; }
.cmp-table thead th { background: var(--paper); font-weight: 600; }
.cmp-table tbody tr:last-child th, .cmp-table tbody tr:last-child td { border-bottom: none; }
.cmp-check { color: var(--blue); font-weight: 700; }
.cmp-dash { color: var(--faint); }

/* ═══ Design-Pass 2026-07-13a: ruhigere Titel, keine Unterstreichung ═══ */
/* Titel eine Stufe kleiner — die Neufassung hat mehr Seiten und mehr
   Zwischentitel, die grossen Display-Grade wirkten dort erschlagend. */
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.hero h1.h1-fit { font-size: clamp(1.9rem, 4.2vw, 3rem); }
.sec-title { font-size: clamp(1.45rem, 2.6vw, 2.05rem); }
.manifest h1 { font-size: clamp(1.9rem, 4.8vw, 3.2rem); }
.cta h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }

/* Unterstreichung unter Titel-Hervorhebungen entfernt (User-Entscheid);
   die Hervorhebung bleibt als reiner Text ohne Linie. */
.u-gold { background-image: none; }

/* ═══ Dark Mode (2026-07-13b) ══════════════════════════════════════════
   data-theme wird von einem Inline-Script im <head> gesetzt (localStorage
   oder Systempräferenz) — ohne JS bleibt die Seite hell. Der Umschalter
   sitzt im Header (.theme-toggle). Der blaue Korpus-Block und die dunkle
   CTA-Sektion behalten in beiden Themes ihren Look. */
:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #edf0f5;
  --blue: #4a97f0;
  --blue-700: #66a8f4;
  --gold: #4a97f0;
  --paper: #161b23;
  --white: #0e1218;
  --muted: #a0a7b1;
  --faint: #737a85;
  --line: #242b36;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.45);
  --shadow-lift: 0 22px 48px -22px rgba(0, 0, 0, 0.6), 0 6px 16px rgba(0, 0, 0, 0.4);
}

/* --white ist im Dark Mode die dunkle Fläche → Text auf Blau explizit weiss. */
[data-theme="dark"] .btn-primary,
[data-theme="dark"] .head-nav .btn-primary,
[data-theme="dark"] .price-badge,
[data-theme="dark"] .demo-chips button.is-on { color: #fff; }
[data-theme="dark"] .btn-primary {
  box-shadow: 0 10px 22px -10px rgba(0, 0, 0, 0.6);
}

/* CTA-Band nutzt im hellen Theme ink/white — im Dark Mode fixieren, damit es
   dunkel bleibt und die weissen Ghost-Buttons lesbar sind. */
[data-theme="dark"] .cta { background: #131a26; color: #edf0f5; }

/* Wortmarke im Header: schwarze Pfade des Inline-SVG aufhellen. */
[data-theme="dark"] .lx-logo [fill="black"] { fill: #f9fbff; }

/* Footer-Logo: helle/dunkle Bilddatei umschalten. */
.foot-brandcol .logo-dark { display: none; }
[data-theme="dark"] .foot-brandcol .logo-dark { display: inline-block; }
[data-theme="dark"] .foot-brandcol .logo-light { display: none; }

/* Kleinkram mit hartkodierten hellen Werten. */
[data-theme="dark"] .demo-ok { color: #62c88a; }
[data-theme="dark"] .media-img img { filter: brightness(0.85); }

/* Mobile-Dropdown: Glas-Panel dunkel. */
@media (max-width: 1080px) {
  .js[data-theme="dark"] .head-nav {
    background: rgba(18, 23, 31, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  }
  .js[data-theme="dark"] .head-nav a:not(.btn):hover { background: rgba(255, 255, 255, 0.07); }
}

/* ── Theme-Umschalter im Header ──────────────────────────────────── */
.head-actions { display: flex; align-items: center; gap: 0.15rem; }
.site-head .head-nav { margin-left: auto; }
.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; padding: 0;
  background: none; border: none; border-radius: 12px;
  color: var(--ink); cursor: pointer;
}
.theme-toggle:hover { background: rgba(10, 12, 20, 0.06); }
[data-theme="dark"] .theme-toggle:hover { background: rgba(255, 255, 255, 0.08); }
.theme-toggle svg { width: 21px; height: 21px; }
.theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
