/* Kiebitz website — static, self-hosted, no external requests. */

@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(fonts/inter-latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(fonts/inter-latin-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #0e0e0d;
  --panel: #171716;
  --panel2: #1e1e1d;
  --panel3: #262625;
  --line: #292927;
  --line2: #3a3a37;
  --ink: #f2f1ec;
  --ink2: #b9b8ae;
  --ink3: #8b8a82;
  --accent: #22c08a;
  --accent-dim: #17835e;
  --accent-soft: #103528;
  --blue: #3987e5;
  --violet: #9085e9;
  --gold: #d9a028;
  --red: #e66767;
  --sans: 'Inter Variable', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

img, svg { display: block; max-width: 100%; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: #2bd49b; }
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.022em; line-height: 1.1; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

/* ── Sprachumschaltung: beide Sprachen liegen im DOM, CSS blendet eine aus ── */
html[data-lang="de"] [lang="en"],
html[data-lang="en"] [lang="de"] { display: none !important; }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #06251a;
  padding: 10px 16px;
  z-index: 100;
  font-size: 14px;
  font-weight: 600;
}
.skip:focus { left: 8px; top: 8px; }

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

/* ── Header ───────────────────────────────────────────────────────────────── */
.top {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(14, 14, 13, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.top-in {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 62px;
}
.mark {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  margin-right: auto;
}
.mark img { width: 30px; height: 30px; border-radius: 8px; }
.mark-name { font-size: 16px; font-weight: 600; letter-spacing: -0.02em; }
.mark-tag {
  display: block;
  font-size: 10.5px;
  line-height: 1.2;
  color: var(--ink3);
  font-family: var(--mono);
  letter-spacing: 0.02em;
}
.top-nav { display: flex; align-items: center; gap: 22px; }
.top-nav a { color: var(--ink2); font-size: 13.5px; }
.top-nav a:hover { color: var(--ink); }

.lang {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--panel2);
}
.lang button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink3);
  font: 600 11.5px/1 var(--mono);
  letter-spacing: 0.06em;
  padding: 7px 9px;
  cursor: pointer;
}
.lang button[aria-pressed="true"] { background: var(--accent-soft); color: var(--accent); }
.lang button:hover { color: var(--ink); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 10px;
  padding: 11px 18px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--line);
  background: var(--panel2);
  color: var(--ink2);
  transition: border-color 0.15s, color 0.15s, background 0.15s, transform 0.15s;
  min-height: 44px;
}
.btn:hover { border-color: var(--line2); color: var(--ink); }
.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #06251a;
}
.btn-primary:hover { background: #2bd49b; border-color: #2bd49b; color: #06251a; }
.btn-sm { padding: 8px 13px; font-size: 13px; min-height: 38px; }
.btn svg { flex: none; }

/* ── Abschnitte ───────────────────────────────────────────────────────────── */
.section { border-top: 1px solid var(--line); padding: clamp(58px, 8vw, 116px) 0; }
.section-alt { background: linear-gradient(180deg, #131312, var(--bg)); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font: 500 11.5px/1 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink3);
  margin-bottom: 28px;
}
.eyebrow b { color: var(--accent); font-weight: 500; }
.eyebrow::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.lede { color: var(--ink2); font-size: 17px; max-width: 62ch; }
.small { font-size: 13.5px; color: var(--ink3); }

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.hero { padding: clamp(52px, 7vw, 96px) 0 clamp(48px, 6vw, 84px); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--accent-dim);
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 999px;
  padding: 5px 12px 5px 10px;
  font: 500 11.5px/1.4 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.hero h1 {
  margin: 22px 0 0;
  font-size: clamp(38px, 6.2vw, 68px);
  letter-spacing: -0.035em;
  line-height: 1.02;
}
.hero h1 .flight { color: var(--accent); }
.hero-sub {
  margin-top: 22px;
  font-size: clamp(16.5px, 1.6vw, 19px);
  color: var(--ink2);
  max-width: 46ch;
}
.hero-sub strong { color: var(--ink); font-weight: 600; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.cta-note { margin-top: 14px; font: 400 12.5px/1.5 var(--mono); color: var(--ink3); }

/* ── Brett / Koordinatenraster ────────────────────────────────────────────── */
.board-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  padding: 18px;
}
.board-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font: 500 11px/1 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink3);
  margin-bottom: 14px;
}
.board-head span:last-child { color: var(--accent); }
.board-stage { position: relative; aspect-ratio: 1; }
.board-lattice {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: repeat(8, 1fr);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.board-lattice i {
  border-right: 1px solid rgba(41, 41, 39, 0.75);
  border-bottom: 1px solid rgba(41, 41, 39, 0.75);
}
.board-lattice i.shade { background: rgba(255, 255, 255, 0.014); }
.board-lattice i.on {
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px var(--accent-dim);
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.board-path { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.board-coords {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font: 400 10.5px/1 var(--mono);
  color: var(--ink3);
  letter-spacing: 0.18em;
}
.board-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--ink3);
}
.board-foot .pill {
  font: 500 11px/1 var(--mono);
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-dim);
  border-radius: 6px;
  padding: 4px 7px;
}

/* ── Versprechen-Raster ───────────────────────────────────────────────────── */
.promise {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--panel);
}
.promise > div {
  padding: 22px 20px;
  border-right: 1px solid var(--line);
}
.promise > div:last-child { border-right: 0; }
.promise dt {
  font: 500 11px/1 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 9px;
}
.promise dd { margin: 0; font-size: 14.5px; color: var(--ink2); }
.promise dd b { color: var(--ink); font-weight: 600; display: block; font-size: 15px; margin-bottom: 3px; }

/* ── Ablauf: importieren / analysieren / verstehen ────────────────────────── */
.flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.step {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  padding: 24px 22px 26px;
}
.step-n {
  font: 500 11px/1 var(--mono);
  letter-spacing: 0.14em;
  color: var(--ink3);
  margin-bottom: 16px;
}
.step h3 { font-size: 19px; margin-bottom: 10px; }
.step p { font-size: 14.5px; color: var(--ink2); }
.step-viz { margin-top: 20px; }

.srcrow { display: flex; flex-wrap: wrap; gap: 8px; }
.srcpill {
  font: 500 11.5px/1 var(--mono);
  border-radius: 6px;
  padding: 6px 9px;
  border: 1px solid var(--line);
  background: var(--panel2);
  color: var(--ink2);
}
.srcpill.cc { color: #81b64c; border-color: rgba(129, 182, 76, 0.3); background: rgba(129, 182, 76, 0.1); }
.srcpill.li { color: var(--ink); border-color: var(--line2); }
.srcpill.pgn { color: var(--gold); border-color: rgba(217, 160, 40, 0.3); background: rgba(217, 160, 40, 0.1); }

.evalbar {
  height: 10px;
  border-radius: 5px;
  background: var(--panel3);
  overflow: hidden;
  display: flex;
}
.evalbar span { display: block; height: 100%; }
.evalbar .w { background: var(--ink2); transition: width 1.1s var(--ease); }
.evalbar .b { background: #0a0a09; flex: 1; }
.evalticks {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font: 400 10.5px/1 var(--mono);
  color: var(--ink3);
}
.evalticks .bad { color: var(--red); }

.bars { display: grid; gap: 9px; }
.bar { display: grid; grid-template-columns: 92px 1fr 38px; align-items: center; gap: 10px; font-size: 12.5px; }
.bar-l { color: var(--ink2); font-size: 12.5px; }
.bar-t { height: 8px; border-radius: 4px; background: var(--panel3); overflow: hidden; }
.bar-t i { display: block; height: 100%; width: 0; background: var(--accent-dim); transition: width 1s var(--ease); }
.bar-v { font: 500 11.5px/1 var(--mono); color: var(--ink3); text-align: right; }
.bar.hot .bar-t i { background: var(--red); }
.bar.hot .bar-v { color: var(--red); }

/* ── Feature-Blöcke ───────────────────────────────────────────────────────── */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(28px, 4.5vw, 64px);
  align-items: center;
}
.feature + .feature { margin-top: clamp(56px, 7vw, 104px); }
.feature.flip .feature-text { order: 2; }
.feature h3 { font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -0.028em; }
.feature p { margin-top: 16px; color: var(--ink2); font-size: 15.5px; }
.feature-kicker {
  font: 500 11px/1 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.ticks { margin-top: 20px; display: grid; gap: 9px; }
.ticks li {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 10px;
  font-size: 14px;
  color: var(--ink2);
}
.ticks li::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: 8px;
  border-radius: 2px;
  background: var(--accent-dim);
}

/* Screenshot-Platzhalter */
.shot {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  overflow: hidden;
}
.shot-zoom {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: var(--panel2);
  cursor: zoom-in;
  position: relative;
}
.shot img {
  width: 100%;
  height: auto;
  transition: opacity 0.2s var(--ease);
}
.shot-zoom:hover img { opacity: 0.86; }
.shot-zoom::after {
  content: "＋";
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  border: 1px solid var(--line2);
  background: rgba(14, 14, 13, 0.82);
  color: var(--accent);
  font-size: 13px;
  line-height: 1;
  opacity: 0;
  transition: opacity 0.2s var(--ease);
}
.shot-zoom:hover::after,
.shot-zoom:focus-visible::after { opacity: 1; }

/* Lightbox */
.lb {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: clamp(12px, 3vw, 40px);
  background: rgba(8, 8, 7, 0.9);
  backdrop-filter: blur(4px);
  cursor: zoom-out;
  animation: lb-in 0.18s var(--ease);
}
.lb[hidden] { display: none; }
.lb img {
  max-width: 100%;
  max-height: calc(100vh - 96px);
  width: auto;
  border: 1px solid var(--line2);
  border-radius: 12px;
  background: var(--panel);
}
.lb-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--panel2);
  color: var(--ink2);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
.lb-close:hover { color: var(--ink); border-color: var(--line2); }
.lb-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  text-align: center;
  font: 400 12px/1.5 var(--mono);
  color: var(--ink3);
  padding: 0 20px;
}
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }

/* ── Banner (Android Closed Test) ─────────────────────────────────────────── */
/* Randloses Band über die volle Breite: links die Einladung,
   rechts die drei Schritte als Zugfolge auf angedeutetem Brett. */
.band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(38px, 5vw, 62px) 0;
  background:
    radial-gradient(90% 120% at 78% 0%, rgba(34, 192, 138, 0.13), transparent 64%),
    linear-gradient(180deg, #131312, var(--bg));
}
/* Angedeutetes Schachbrett, das nach links ausblendet */
.band-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: repeating-conic-gradient(
    rgba(242, 241, 236, 0.022) 0% 25%,
    transparent 0% 50%
  );
  background-size: 68px 68px;
  background-position: right top;
  -webkit-mask-image: linear-gradient(90deg, transparent 12%, #000 78%);
  mask-image: linear-gradient(90deg, transparent 12%, #000 78%);
}
.band-in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
}
.band-text h2 {
  margin-top: 18px;
  font-size: clamp(23px, 3vw, 34px);
  max-width: 20ch;
}
.band-sub {
  margin-top: 14px;
  font-size: 15px;
  color: var(--ink2);
  max-width: 46ch;
}
.band-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 24px;
}
.band-alt { font-size: 13.5px; border-bottom: 1px solid transparent; }
.band-alt:hover { border-bottom-color: currentColor; }
.band-note {
  margin-top: 16px;
  font: 400 12px/1.6 var(--mono);
  color: var(--ink3);
  max-width: 44ch;
}

/* Die Züge: nummerierte Felder, durch eine Linie verbunden */
.route {
  list-style: none;
  margin: 0;
  padding: 22px 24px;
  display: grid;
  gap: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(23, 23, 22, 0.72);
  backdrop-filter: blur(3px);
}
.route li {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}
.route li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 38px;
  bottom: -22px;
  width: 1px;
  background: linear-gradient(180deg, var(--accent-dim), var(--line));
}
.route-n {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  border: 1px solid var(--accent-dim);
  background: var(--accent-soft);
  color: var(--accent);
  font: 600 13px/1 var(--mono);
}
.route-txt { min-width: 0; padding-top: 2px; }
.route-txt b { display: block; font-size: 14.5px; font-weight: 600; }
.route-txt > span { display: block; margin-top: 3px; font-size: 13px; color: var(--ink3); }

@media (max-width: 900px) {
  .band-in { grid-template-columns: minmax(0, 1fr); }
  .band-text h2, .band-sub { max-width: none; }
  /* Einspaltig liegt der Text über dem Muster, also nimmt es sich zurück. */
  .band-grid { opacity: 0.5; }
  .route { padding: 20px 18px; }
}

/* ── Dialog (Android Closed Test) ─────────────────────────────────────────── */
.modal {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: grid;
  place-items: center;
  padding: clamp(12px, 3vw, 40px);
  background: rgba(8, 8, 7, 0.82);
  backdrop-filter: blur(4px);
  animation: lb-in 0.18s var(--ease);
}
.modal[hidden] { display: none; }
.modal-card {
  width: min(560px, 100%);
  max-height: min(86vh, 780px);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line2);
  border-radius: 16px;
  background: var(--panel);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}
/* Bei reduzierter Bewegung greifen die globalen Regeln am Ende der Datei. */
.modal-card { animation: modal-in 0.22s var(--ease); }
@keyframes modal-in {
  from { opacity: 0; transform: translateY(10px) scale(0.985); }
  to { opacity: 1; transform: none; }
}

.modal-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 22px 22px 18px;
  border-bottom: 1px solid var(--line);
}
.modal-icon {
  flex: none;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  border: 1px solid var(--accent-dim);
  background: var(--accent-soft);
  color: var(--accent);
}
.modal-titles { min-width: 0; }
.modal-eyebrow {
  font: 500 10.5px/1 var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 7px;
}
.modal-head h2 { font-size: 19px; letter-spacing: -0.018em; }
.modal-x {
  flex: none;
  margin-left: auto;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: var(--panel2);
  color: var(--ink3);
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
}
.modal-x:hover { color: var(--ink); border-color: var(--line2); }

.modal-body { padding: 20px 22px 22px; overflow-y: auto; }
.modal-lede { font-size: 14.5px; color: var(--ink2); }
.modal-note {
  margin-top: 16px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink3);
  border-left: 2px solid var(--line2);
  padding-left: 12px;
}

.steps { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.step {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel2);
  color: var(--ink);
  transition: border-color 0.15s, background 0.15s;
}
.step:hover { border-color: var(--accent-dim); background: var(--panel3); color: var(--ink); }
.step-n {
  flex: none;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-dim);
  color: var(--accent);
  font: 600 12px/1 var(--mono);
}
.step-txt { min-width: 0; display: block; }
.step-txt b { display: block; font-size: 14px; font-weight: 600; }
.step-sub { display: block; font-size: 12.5px; line-height: 1.5; color: var(--ink3); margin-top: 2px; }
.step-url {
  display: block;
  margin-top: 5px;
  font: 400 11px/1.4 var(--mono);
  color: var(--accent);
  overflow-wrap: anywhere;
}
.step-go { flex: none; margin-left: auto; color: var(--ink3); font-size: 14px; line-height: 1.4; }
.step:hover .step-go { color: var(--accent); }

.modal-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px 22px;
  border-top: 1px solid var(--line);
  background: var(--panel2);
}
.modal-foot .btn { flex: 1 1 auto; }
@media (min-width: 560px) {
  .modal-foot .btn { flex: 0 0 auto; }
}
.shot-frame {
  position: relative;
  aspect-ratio: 16 / 10;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.019) 0 2px, transparent 2px 9px),
    var(--panel2);
  display: grid;
  place-items: center;
  border-bottom: 1px solid var(--line);
}
.shot-frame.tall { aspect-ratio: 3 / 4; }
.shot-frame.phone { aspect-ratio: 9 / 16; max-height: 460px; margin: 0 auto; }
.shot-label {
  font: 500 11px/1.5 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink3);
  text-align: center;
  padding: 0 18px;
}
.shot-label b { display: block; color: var(--ink2); font-weight: 500; letter-spacing: 0.06em; }
.shot figcaption {
  padding: 10px 14px;
  font: 400 11.5px/1.4 var(--mono);
  color: var(--ink3);
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

/* Kleine Feature-Liste */
.more {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.more > div { background: var(--panel); padding: 20px; }
.more h4 { margin: 0 0 6px; font-size: 15px; font-weight: 600; }
.more p { font-size: 13.5px; color: var(--ink3); }

/* ── Sync ─────────────────────────────────────────────────────────────────── */
.sync-viz {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  padding: 26px 22px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
}
.device {
  border: 1px solid var(--line2);
  border-radius: 10px;
  background: var(--panel2);
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  font: 500 11px/1.4 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink3);
  text-align: center;
  padding: 8px;
}
.device.phone { aspect-ratio: 9 / 16; max-width: 92px; justify-self: start; }
.wire { position: relative; width: clamp(56px, 12vw, 130px); height: 2px; background: var(--line2); }
.wire::after {
  content: "";
  position: absolute;
  top: -3px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: travel 3.4s var(--ease) infinite;
}
.wire-label {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  font: 500 10px/1 var(--mono);
  letter-spacing: 0.12em;
  color: var(--accent);
  white-space: nowrap;
}
@keyframes travel {
  0% { left: 0; opacity: 0; }
  12% { opacity: 1; }
  50% { left: calc(100% - 8px); opacity: 1; }
  62% { opacity: 0; }
  100% { left: 0; opacity: 0; }
}

/* ── Datenschutz-Panel ────────────────────────────────────────────────────── */
.privacy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  margin-top: 30px;
}
.privacy-grid > div { background: var(--panel); padding: 22px; }
.privacy-grid h4 {
  margin: 0 0 8px;
  font-size: 14.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 9px;
}
.privacy-grid h4::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--accent);
  flex: none;
}
.privacy-grid p { font-size: 13.5px; color: var(--ink3); }
.privacy-grid .no h4::before { background: var(--red); }

/* ── Download ─────────────────────────────────────────────────────────────── */
.dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.dl-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.dl-card h3 { font-size: 20px; }
.dl-card p { font-size: 14px; color: var(--ink3); }
.dl-card .btn { margin-top: auto; }
.dl-meta { font: 400 11.5px/1.5 var(--mono); color: var(--ink3); }

/* ── Footer ───────────────────────────────────────────────────────────────── */
.foot { border-top: 1px solid var(--line); padding: 44px 0 56px; }
.foot-in { display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; align-items: flex-start; }
.foot-links { display: flex; flex-wrap: wrap; gap: 20px; font-size: 13.5px; }
.foot-links a { color: var(--ink2); }
.foot-links a:hover { color: var(--accent); }
.foot-note { font-size: 12.5px; color: var(--ink3); max-width: 44ch; }
.flock { display: flex; gap: 7px; margin-bottom: 16px; }
.flock i {
  width: 5px;
  height: 5px;
  border-radius: 1px;
  background: var(--accent-dim);
  animation: lift 4.2s var(--ease) infinite;
}
.flock i:nth-child(2) { animation-delay: 0.18s; }
.flock i:nth-child(3) { animation-delay: 0.36s; }
.flock i:nth-child(4) { animation-delay: 0.54s; }
.flock i:nth-child(5) { animation-delay: 0.72s; }
@keyframes lift {
  0%, 70%, 100% { transform: translateY(0); opacity: 0.5; }
  35% { transform: translateY(-7px); opacity: 1; }
}

/* ── Rechtstexte ──────────────────────────────────────────────────────────── */
.doc { padding: clamp(44px, 6vw, 84px) 0 clamp(60px, 8vw, 110px); }
.doc-grid { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: clamp(28px, 5vw, 68px); align-items: start; }
.toc { position: sticky; top: 86px; }
.toc ul { display: grid; gap: 7px; }
.toc a { color: var(--ink3); font-size: 13px; }
.toc a:hover { color: var(--accent); }
.toc-h {
  font: 500 11px/1 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink3);
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.doc h1 { font-size: clamp(30px, 4.4vw, 46px); letter-spacing: -0.03em; }
.doc-sub { margin-top: 16px; color: var(--ink2); font-size: 16px; max-width: 60ch; }
.doc-meta { margin-top: 18px; font: 400 12px/1.6 var(--mono); color: var(--ink3); }
.doc section { margin-top: 46px; scroll-margin-top: 86px; }
.doc h2 { font-size: 21px; letter-spacing: -0.02em; margin-bottom: 14px; }
.doc h2 .num { font: 500 12px/1 var(--mono); color: var(--accent); margin-right: 10px; letter-spacing: 0.08em; }
.doc h3 { font-size: 15.5px; margin: 22px 0 8px; }
.doc p, .doc li { font-size: 14.5px; color: var(--ink2); }
.doc p + p { margin-top: 12px; }
.doc ul.bul { margin-top: 12px; display: grid; gap: 8px; }
.doc ul.bul li { position: relative; padding-left: 25px; }
.doc ul.bul li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 6px;
  margin-top: 8px;
  border-radius: 2px;
  background: var(--accent-dim);
}
.doc .panel {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 12px;
  padding: 20px 22px;
  margin-top: 16px;
}
.doc .panel p, .doc .panel li { font-size: 14px; }
.doc address { font-style: normal; font-size: 14.5px; color: var(--ink2); line-height: 1.7; }
.doc table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 13.5px; }
.doc th, .doc td {
  text-align: left;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  color: var(--ink2);
}
.doc th {
  font: 500 11px/1.4 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink3);
  border-bottom-color: var(--line2);
}
.doc thead th:first-child { width: 34%; }

/* ── Reveal ───────────────────────────────────────────────────────────────── */
.rv { opacity: 0; transform: translateY(14px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-grid, .feature, .doc-grid { grid-template-columns: minmax(0, 1fr); }
  .feature.flip .feature-text { order: 0; }
  .promise, .flow, .more, .dl, .privacy-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .promise > div:nth-child(2) { border-right: 0; }
  .promise > div:nth-child(1), .promise > div:nth-child(2) { border-bottom: 1px solid var(--line); }
  .flow { gap: 14px; }
  .more > div:last-child { grid-column: span 2; }
  .toc { position: static; }
  .toc ul { display: flex; flex-wrap: wrap; gap: 8px 18px; }
  .board-card { padding: 14px; }
}

@media (max-width: 640px) {
  .top-nav { display: none; }
  .promise, .flow, .more, .dl, .privacy-grid { grid-template-columns: minmax(0, 1fr); }
  .promise > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .promise > div:last-child { border-bottom: 0; }
  .more > div:last-child { grid-column: auto; }
  .mark-tag { display: none; }
  .cta .btn { flex: 1 1 100%; }
  .sync-viz { grid-template-columns: 1fr; justify-items: center; gap: 18px; }
  .wire { width: 2px; height: 54px; }
  .wire::after { animation-name: travel-v; top: 0; left: -3px; }
  .wire-label { top: 50%; left: 14px; transform: translateY(-50%); }
  .device { width: 100%; max-width: 220px; }
  .device.phone { justify-self: center; }
  @keyframes travel-v {
    0% { top: 0; opacity: 0; }
    12% { opacity: 1; }
    50% { top: calc(100% - 8px); opacity: 1; }
    62% { opacity: 0; }
    100% { top: 0; opacity: 0; }
  }
}

@media (prefers-reduced-motion: reduce) {
  html:not([data-motion="on"]) { scroll-behavior: auto; }
  html:not([data-motion="on"]) *,
  html:not([data-motion="on"]) *::before,
  html:not([data-motion="on"]) *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  html:not([data-motion="on"]) .rv { opacity: 1; transform: none; }
}

/* Manuell abgeschaltet, unabhängig von der Systemeinstellung */
html[data-motion="off"] { scroll-behavior: auto; }
html[data-motion="off"] *,
html[data-motion="off"] *::before,
html[data-motion="off"] *::after {
  animation-duration: 0.001ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.001ms !important;
}
html[data-motion="off"] .rv { opacity: 1; transform: none; }

/* Bewegungsschalter: nur sichtbar, wenn er etwas ändert */
.motion-toggle { display: none; }
html[data-motion] .motion-toggle,
html[data-motion-relevant] .motion-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  appearance: none;
  border: 0;
  padding: 0;
  background: none;
  color: var(--ink3);
  font: inherit;
  font-size: 13.5px;
  cursor: pointer;
}
.motion-toggle:hover { color: var(--accent); }
.motion-toggle::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--line2);
}
html[data-motion="on"] .motion-toggle::before { background: var(--accent); }
