/* KAIROS Landing-Chrome - gemeinsames Stylesheet fuer die oeffentliche
   Ein-Seiter-Landingpage (index.html, DE an der Wurzel + en/ fr/ it/).
   Bewusst eigenstaendig: keine Abhaengigkeit zu styles.css/app.js, keine
   externen Fonts oder Dienste. Dunkle Design-Tokens entsprechen der App
   (nahe Schwarz seit 2026-07-03); helles Schema folgt dem Betriebssystem.
   Die frueheren Unterseiten funktionen.html/sicherheit.html sind nur noch
   Redirect-Stubs auf die Anker #funktionen/#sicherheit. */

:root {
  color-scheme: dark;
  --bg: #141414;
  --panel: #1b1b1b;
  --surface: #1b1b1b;
  --surface-2: #222222;
  --text: #e5e5e5;
  --muted: #bfbfbf;
  --line: #333333;
  --grid-line: #282828;
  --grid-strong: #404040;
  --accent: #ff3333;
  --ok: #4ade80;
  --warning: #fbbf24;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 6px 18px rgba(0, 0, 0, .4);
}

@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --bg: #f5f5f5;
    --panel: #ffffff;
    --surface: #ffffff;
    --surface-2: #fafafa;
    --text: #1d1d1d;
    --muted: #808080;
    --line: #d9d9d9;
    --grid-line: #e5e5e5;
    --grid-strong: #bfbfbf;
    --accent: #ff0000;
    --ok: #126b45;
    --warning: #9a6200;
    --shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 4px 12px rgba(0, 0, 0, .06);
  }
}

* { box-sizing: border-box; }

/* Sanftes Anker-Scrollen nur, wenn Bewegung erwuenscht ist. */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 14px/1.5 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: inherit; }

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* Anker-Abschnitte unter der sticky Navigation freistellen. */
section[id] { scroll-margin-top: 66px; }

/* ---- Navigation: halbtransparent mit Blur, bleibt beim Scrollen stehen ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid color-mix(in srgb, var(--grid-line) 80%, transparent);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.nav .wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand svg { width: 28px; height: 28px; flex: 0 0 auto; }
.brand strong { font-size: 15px; letter-spacing: .02em; }
.nav .spacer { flex: 1; }

.nav a.quiet {
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 6px;
}

.nav a.quiet:hover {
  color: var(--text);
  background: color-mix(in srgb, var(--text) 6%, transparent);
}

.btn {
  display: inline-block;
  border: 1px solid color-mix(in srgb, var(--accent) 55%, var(--line));
  border-radius: 7px;
  background: var(--accent);
  color: #fff;
  font-size: 12.5px;
  font-weight: 800;
  text-decoration: none;
  padding: 8px 16px;
  cursor: pointer;
}

.btn:hover { filter: brightness(1.06); }

.btn.ghost {
  border-color: var(--line);
  background: transparent;
  color: var(--text);
  font-weight: 700;
}

.btn.ghost:hover { border-color: var(--accent); filter: none; }

/* ---- Skeleton-Balken (Platzhalter statt erfundener Daten) ---- */
.sk {
  display: inline-block;
  height: 7px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--text) 22%, transparent);
}

/* ===== Hero ===== */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 10fr) minmax(0, 11fr);
  gap: 36px;
  align-items: center;
  padding: 56px 0 44px;
}

.eyebrow {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(28px, 4.6vw, 40px);
  line-height: 1.12;
  letter-spacing: -.015em;
  font-weight: 800;
}

/* Rotierendes Schluss-Wort des Claims. */
.rotwrap { display: inline-grid; vertical-align: top; }

.rotwrap span {
  grid-area: 1 / 1;
  color: var(--accent);
  opacity: 0;
  animation: rotword 9s infinite;
}

.rotwrap span:nth-child(2) { animation-delay: 3s; }
.rotwrap span:nth-child(3) { animation-delay: 6s; }

@keyframes rotword {
  0% { opacity: 0; transform: translateY(8px); }
  5%, 28% { opacity: 1; transform: none; }
  33%, 100% { opacity: 0; transform: translateY(-8px); }
}

.hero .sub {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  max-width: 460px;
}

.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.cta-row .btn { font-size: 14px; padding: 11px 24px; border-radius: 8px; }

/* Vertrauenszeile mit mehreren Punkten. */
.trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 14px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 11.5px;
}

.trust span { display: flex; align-items: center; gap: 6px; }
.trust svg { width: 12px; height: 12px; flex: 0 0 auto; }

/* ===== Matrix-Vignetten (aktuelles Blockdesign: SOLL gestrichelt + Toenung,
   IST randloser Vollton - Segment-Optik wie in der App) ===== */

.mx {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.mx .ax {
  position: relative;
  height: 24px;
  border-bottom: 1px solid var(--grid-strong);
  background: var(--surface-2);
}

.mx .daychip {
  position: absolute;
  top: 4px;
  left: 6px;
  padding: 0 7px;
  border-radius: 4px;
  background: color-mix(in srgb, var(--text) 10%, transparent);
  font-size: 9.5px;
  font-weight: 800;
  line-height: 16px;
}

.mx .tick {
  position: absolute;
  top: 6px;
  transform: translateX(-50%);
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.mx .row { display: grid; grid-template-columns: 78px 1fr; border-bottom: 1px solid var(--grid-line); }
.mx .row:last-of-type { border-bottom: 0; }

.mx .lab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 9px;
  border-right: 1px solid var(--grid-strong);
  background: var(--surface-2);
}

.mx .lab .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--accent)); flex: 0 0 auto; }

.mx .t {
  position: relative;
  height: 27px;
  border-bottom: 1px solid color-mix(in srgb, var(--grid-line) 55%, transparent);
  background-image: repeating-linear-gradient(90deg, color-mix(in srgb, var(--grid-line) 70%, transparent) 0 1px, transparent 1px 64px);
}

.mx .t:last-child { border-bottom: 0; }
.mx .t.act { background-color: color-mix(in srgb, var(--text) 4%, transparent); }

.mx .pb,
.mx .ab,
.mx .gb {
  position: absolute;
  top: 3px;
  height: 21px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 3px;
  padding: 2px 7px;
  border-radius: 4px;
  z-index: 0;
  overflow: hidden;
}

/* Zweite (Zeit-)Zeile als kurzer Skeleton-Balken (zweizeiliges Blockdesign). */
.mx .pb::after,
.mx .ab::after {
  content: "";
  height: 4px;
  width: 60%;
  max-width: 28px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--text) 16%, transparent);
}

/* SOLL: rundum GESTRICHELTER kategoriefarbener Umriss + leichte Toenung. */
.mx .pb {
  border: 1.5px dashed color-mix(in srgb, var(--c, var(--accent)) 70%, var(--line));
  background: color-mix(in srgb, var(--c, var(--accent)) 12%, var(--panel));
}

/* IST: randloser Vollton in Kategoriefarbe, helle Skeletons. */
.mx .ab { border: 0; background: var(--c, var(--accent)); }
.mx .ab .sk { background: rgba(255, 255, 255, .75); }
.mx .ab::after { background: rgba(255, 255, 255, .5); }

/* SOLL-Geist (Abweichung): neutraler gestrichelter Rahmen ohne Inhalt. */
.mx .gb { border: 1px dashed color-mix(in srgb, var(--text) 30%, transparent); }
.mx .gb::after { display: none; }

/* Nur die Hero-Vignette laeuft als Schleife (aufwachende Bloecke + Sweep). */
.mx.live .pb,
.mx.live .ab { animation: wake 18s linear infinite; }
.mx.live .gb { animation: none; }

@keyframes wake {
  0% { opacity: .5; }
  3% { opacity: 1; }
  16% { opacity: .8; }
  100% { opacity: .5; }
}

.mx .sweep {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 17%;
  width: 2px;
  margin-left: -1px;
  background: var(--accent);
  box-shadow: 0 0 12px color-mix(in srgb, var(--accent) 45%, transparent);
  z-index: 3;
  pointer-events: none;
  animation: sweep 18s linear infinite;
}

@keyframes sweep {
  0% { left: 17%; }
  100% { left: 95%; }
}

/* Statische Jetzt-Linie fuer die Abschnitts-Vignetten. */
.mx .nl {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  margin-left: -1px;
  background: var(--accent);
  z-index: 3;
  box-shadow: 0 0 10px color-mix(in srgb, var(--accent) 40%, transparent);
}

/* Laufend-Fuellung auf dem IST-Vollton (heller Text-Ton wie in der App). */
.mx .fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: -1;
  width: 62%;
  background: rgba(255, 255, 255, .16);
  border-right: 1px solid rgba(255, 255, 255, .5);
}

.mx.live .fill { animation: fillgrow 18s linear infinite; }

@keyframes fillgrow {
  0% { width: 12%; }
  100% { width: 92%; }
}

.mx .pulse {
  position: absolute;
  top: 4px;
  right: 5px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  animation: pulse-a 1.6s ease-in-out infinite;
}

@keyframes pulse-a { 50% { opacity: .35; } }

.mx .hatch {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: -1;
  background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--warning) 32%, transparent) 0 3px, transparent 3px 7px);
}

.mx .chip {
  flex: 0 0 auto;
  padding: 0 5px;
  border: 1px solid color-mix(in srgb, var(--warning) 55%, var(--line));
  border-radius: 999px;
  background: color-mix(in srgb, var(--warning) 16%, var(--panel));
  color: var(--warning);
  font-size: 8.5px;
  font-weight: 800;
  line-height: 14px;
}

/* ===== Abschnitts-Rhythmus ===== */

.sec { padding: 34px 0 10px; }

.sec .shead { max-width: 760px; margin-bottom: 8px; }
.sec .shead .eyebrow { margin-bottom: 6px; }
.sec .shead h2 { margin: 0 0 8px; font-size: clamp(20px, 2.6vw, 25px); letter-spacing: -.01em; }
.sec .shead p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.6; }

.fsec {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
  padding: 24px 0;
}

.fsec.flip .ftext { order: 2; }

.fsec .fnum {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.fsec h3 { margin: 0 0 6px; font-size: 16.5px; }
.fsec p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; max-width: 430px; }
.fsec ul { margin: 8px 0 0; padding-left: 18px; color: var(--muted); font-size: 12.5px; line-height: 1.7; }
.fsec b { color: var(--text); }

/* ---- Wachposten-Vignette: Glocke + Meldezentrum ---- */
.watch {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.watch .whead {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--grid-line);
}

.watch .bell {
  position: relative;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface-2);
}

.watch .bell svg { width: 13px; height: 13px; color: var(--text); }

.watch .bell .cnt {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 14px;
  height: 14px;
  padding: 0 3px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 8.5px;
  font-weight: 800;
  line-height: 14px;
  text-align: center;
}

.watch .whead strong { font-size: 12px; }

.watch .wrow {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--grid-line);
  font-size: 11.5px;
}

.watch .wrow:last-child { border-bottom: 0; }

.watch .sig { width: 9px; height: 9px; border-radius: 50%; flex: 0 0 auto; }
.watch .sig.warn { background: var(--warning); }
.watch .sig.late { background: var(--accent); animation: pulse-a 1.6s ease-in-out infinite; }
.watch .sig.soon { background: var(--ok); }

.watch .wtxt { flex: 1; min-width: 0; }
.watch .wtxt small { display: block; color: var(--muted); font-size: 10px; }

.watch .jump {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 2px 7px;
  background: var(--panel);
  white-space: nowrap;
}

/* ---- Zeilenrechte-Vignette ---- */
.vrights {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 12px 14px;
  display: grid;
  gap: 9px;
}

.vrights .rrow { display: flex; align-items: center; gap: 8px; font-size: 11px; }
.vrights .ldot { width: 9px; height: 9px; border-radius: 50%; flex: 0 0 auto; }
.vrights .spc { flex: 1; }
.vrights .perm { display: flex; gap: 4px; }

.vrights .pdot {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  border: 1px solid var(--line);
  background: var(--surface-2);
}

.vrights .pdot.on {
  background: color-mix(in srgb, var(--ok) 30%, var(--surface-2));
  border-color: color-mix(in srgb, var(--ok) 50%, var(--line));
}

.vrights .legend { color: var(--muted); font-size: 9.5px; display: flex; flex-wrap: wrap; gap: 10px; }

/* ---- Tagesansicht-Vignette: stehende Zeit, Einsatz- + persoenliche Spalte ---- */
.day {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.day .dhead {
  display: grid;
  grid-template-columns: 34px 1fr 1fr;
  border-bottom: 1px solid var(--grid-strong);
  background: var(--surface-2);
  font-size: 10px;
  font-weight: 800;
}

.day .dhead span { padding: 5px 8px; }
.day .dhead .pers { color: var(--muted); border-left: 1px solid var(--grid-line); }

.day .dbody { position: relative; display: grid; grid-template-columns: 34px 1fr 1fr; height: 168px; }

.day .dhours {
  border-right: 1px solid var(--grid-strong);
  background: var(--surface-2);
  color: var(--muted);
  font-size: 8.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  display: grid;
}

.day .dhours span { padding: 1px 5px; border-bottom: 1px solid color-mix(in srgb, var(--grid-line) 55%, transparent); }
.day .dhours span:last-child { border-bottom: 0; }

.day .dcol {
  position: relative;
  background-image: repeating-linear-gradient(180deg, color-mix(in srgb, var(--grid-line) 70%, transparent) 0 1px, transparent 1px 42px);
}

.day .dcol.pers { border-left: 1px solid var(--grid-line); background-color: color-mix(in srgb, var(--text) 3%, transparent); }

.day .vb { position: absolute; left: 8%; width: 38%; border-radius: 4px; padding: 3px 6px; overflow: hidden; }
.day .vb .sk { display: block; height: 6px; border-radius: 999px; background: color-mix(in srgb, var(--text) 26%, transparent); }

.day .vb.plan {
  border: 1.5px dashed color-mix(in srgb, var(--c, var(--accent)) 70%, var(--line));
  background: color-mix(in srgb, var(--c, var(--accent)) 12%, var(--panel));
}

.day .vb.act { left: 52%; width: 38%; border: 0; background: var(--c, var(--accent)); }
.day .vb.act .sk { background: rgba(255, 255, 255, .75); }

/* Persoenliche Eintraege: einspurige Bauform Rahmen + Toenung. */
.day .vb.solo {
  left: 10%;
  width: 78%;
  border: 1px solid color-mix(in srgb, var(--c, #8e6cc1) 55%, var(--line));
  background: color-mix(in srgb, var(--c, #8e6cc1) 16%, var(--panel));
}

.day .dnow {
  position: absolute;
  left: 34px;
  right: 0;
  top: 46%;
  height: 2px;
  background: var(--accent);
  box-shadow: 0 0 10px color-mix(in srgb, var(--accent) 40%, transparent);
  z-index: 3;
}

.day .dnow::before {
  content: "";
  position: absolute;
  left: -3px;
  top: -2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---- Werkzeugkasten: dichtes, ruhiges Raster ---- */
.tools { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 10px 0 26px; }

.tool {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 11px 12px;
}

.tool .ic {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface-2);
  color: var(--accent);
}

.tool .ic svg { width: 13px; height: 13px; }
.tool h4 { margin: 0 0 3px; font-size: 12px; }
.tool p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }

/* ---- Telefon-Sektion ---- */
.mob { display: grid; grid-template-columns: 1fr auto auto; gap: 26px; align-items: center; padding: 20px 0 30px; }

.mob ul {
  margin: 0 0 0 18px;
  padding: 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.8;
  max-width: 430px;
}

.mob b { color: var(--text); }

.phone {
  width: 190px;
  border: 1px solid var(--grid-strong);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.phone .ph { padding: 8px 12px 6px; border-bottom: 1px solid var(--grid-line); }
.phone .ph strong { display: block; font-size: 11px; }
.phone .ph span { color: var(--muted); font-size: 9px; }

.phone .pl {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border-bottom: 1px solid var(--grid-line);
  font-size: 10px;
}

.phone .pl .dot { width: 7px; height: 7px; border-radius: 50%; flex: 0 0 auto; background: var(--c, var(--accent)); }
.phone .pl .sk { height: 6px; background: color-mix(in srgb, var(--text) 24%, transparent); }
.phone .pl .tm { margin-left: auto; color: var(--muted); font-size: 8.5px; font-variant-numeric: tabular-nums; }
.phone .pl.now { background: color-mix(in srgb, var(--accent) 7%, transparent); box-shadow: inset 2px 0 0 var(--accent); }

.phone .pnav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--grid-strong);
  background: var(--surface-2);
}

.phone .pnav span { padding: 7px 0 8px; text-align: center; color: var(--muted); font-size: 8px; font-weight: 700; }
.phone .pnav span.on { color: var(--text); box-shadow: inset 0 2px 0 var(--accent); }

.phone .pday {
  position: relative;
  height: 150px;
  background-image: repeating-linear-gradient(180deg, color-mix(in srgb, var(--grid-line) 70%, transparent) 0 1px, transparent 1px 37px);
}

.phone .pday .pb {
  position: absolute;
  left: 8%;
  width: 40%;
  border-radius: 4px;
  border: 1.5px dashed color-mix(in srgb, var(--c, var(--accent)) 70%, var(--line));
  background: color-mix(in srgb, var(--c, var(--accent)) 12%, var(--panel));
}

.phone .pday .ab { position: absolute; left: 52%; width: 40%; border-radius: 4px; background: var(--c, var(--accent)); }

.phone .pday .solo {
  position: absolute;
  left: 10%;
  width: 80%;
  border-radius: 4px;
  border: 1px solid color-mix(in srgb, #8e6cc1 55%, var(--line));
  background: color-mix(in srgb, #8e6cc1 16%, var(--panel));
}

.phone .pday .pnow {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  box-shadow: 0 0 8px color-mix(in srgb, var(--accent) 40%, transparent);
}

/* ===== Sicherheits-Sektion ===== */

.sec2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 14px 0 4px;
}

.scard {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  overflow: hidden;
}

.scard.enc { border-color: color-mix(in srgb, var(--ok) 40%, var(--line)); }

.scard h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 12px 14px;
  border-bottom: 1px solid var(--grid-line);
  font-size: 13px;
}

.scard h3 svg { width: 14px; height: 14px; flex: 0 0 auto; }
.scard.enc h3 { color: var(--ok); }
.scard ul { margin: 0; padding: 10px 14px 12px 30px; color: var(--muted); font-size: 12.5px; line-height: 1.8; }
.scard ul b { color: var(--text); }
.scard .cfoot { padding: 0 14px 12px; color: var(--muted); font-size: 11px; }

/* Schluessel-Trio: Geraet / Pakete / Einladung. */
.keys { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; padding: 10px 0 4px; }

.keys .key {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 11px 13px;
}

.keys .key h4 { margin: 0 0 4px; display: flex; align-items: center; gap: 6px; font-size: 12px; }
.keys .key h4 svg { width: 12px; height: 12px; color: var(--accent); flex: 0 0 auto; }
.keys .key p { margin: 0; color: var(--muted); font-size: 11.5px; line-height: 1.55; }

.honest {
  margin: 12px 0 4px;
  border: 1px solid color-mix(in srgb, var(--warning) 45%, var(--line));
  border-left: 3px solid var(--warning);
  border-radius: 8px;
  background: color-mix(in srgb, var(--warning) 6%, var(--panel));
  padding: 13px 17px;
}

.honest h3 { margin: 0 0 6px; font-size: 13.5px; }
.honest ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 12.5px; line-height: 1.7; }
.honest b { color: var(--text); }

.techbox { padding: 8px 0 0; }
.techbox details { border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }

.techbox summary {
  padding: 10px 14px;
  cursor: pointer;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 700;
  list-style: none;
}

.techbox summary::before { content: "\203A "; }
.techbox details[open] summary { border-bottom: 1px solid var(--grid-line); }

.techbox .kvx {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 6px 14px;
  margin: 0;
  padding: 12px 14px 14px;
  font-size: 12px;
}

.techbox .kvx dt { margin: 0; color: var(--muted); }
.techbox .kvx dd { margin: 0; font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: 11.5px; }

/* ===== Abschluss-CTA ===== */

.cta-final { text-align: center; padding: 36px 0 46px; }
.cta-final h2 { margin: 0 0 8px; font-size: clamp(19px, 2.4vw, 23px); }
.cta-final p { margin: 0 0 16px; color: var(--muted); font-size: 13px; }
.cta-final .btn { font-size: 14px; padding: 11px 26px; border-radius: 8px; }

/* ===== Footer ===== */

.foot {
  border-top: 1px solid var(--grid-line);
  padding: 18px 0 26px;
  color: var(--muted);
  font-size: 11.5px;
}

.foot .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.foot a { color: var(--muted); }
.foot a:hover { color: var(--text); }
.foot .spacer { flex: 1; }

/* Sprachwaehler im Footer (DE an der Wurzel, en/ fr/ it/ als Unterordner). */
.foot .lang { display: flex; gap: 9px; }
.foot .lang strong { color: var(--text); font-size: 11.5px; }

/* ===== Reduzierte Bewegung: ruhiges Standbild statt Schleifen ===== */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
  .mx.live .pb, .mx.live .ab { opacity: .85; }
  .mx .sweep { left: 58%; }
  .mx.live .fill { width: 60%; }
  .rotwrap span { opacity: 0; }
  .rotwrap span:first-child { opacity: 1; }
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 38px; }
  .fsec { grid-template-columns: 1fr; gap: 14px; }
  .fsec.flip .ftext { order: 0; }
  .tools { grid-template-columns: 1fr 1fr; }
  .mob { grid-template-columns: 1fr; }
  .sec2col, .keys { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .techbox .kvx { grid-template-columns: 1fr; gap: 1px 0; }
  .techbox .kvx dd { margin-bottom: 7px; }
}

/* Telefon: Navigation umbrechen, damit die Anker + "Anmelden" nicht aus der
   Leiste fallen - Marke in die erste Zeile, Anker + CTA in die zweite. */
@media (max-width: 560px) {
  .nav .wrap { flex-wrap: wrap; gap: 6px 10px; min-height: 0; padding-top: 9px; padding-bottom: 9px; }
  .nav .spacer { display: none; }
  .brand { flex: 1 0 100%; }
  .nav a.quiet { padding: 6px 6px; font-size: 12px; }
  .tools { grid-template-columns: 1fr; }
}
