/* ============================================================
   KONTO-SICHERHEIT IM KI-ZEITALTER — ibetmax.com · KI & AI Hub
   Passwortmanager, Zwei-Faktor, Passkeys und Checklisten –
   Teil A für dich persönlich, Teil B für Unternehmen.
   Akzentfarbe: Petrol/Türkis (#12c5bc) · Teil B: Cyan (#38bdf8)
   Aufbau und Komponenten wie /ki-sicherheit/ (ki-sicherheit.css)
   ============================================================ */

/* ── TOKENS ──────────────────────────────────────────────── */
:root {
  --bg:          #07080b;
  --bg-alt:      rgba(255,255,255,.015);
  --panel:       rgba(255,255,255,.04);
  --panel-h:     rgba(255,255,255,.06);
  --acc:         #12c5bc;
  --acc-rgb:     18,197,188;
  --acc-dim:     rgba(18,197,188,.55);
  --acc-faint:   rgba(18,197,188,.07);
  --border-a:    rgba(18,197,188,.24);
  --b:           #38bdf8;
  --b-rgb:       56,189,248;
  --b-faint:     rgba(56,189,248,.07);
  --border-b:    rgba(56,189,248,.24);
  --amber:       #f5c842;
  --amber-faint: rgba(245,200,66,.07);
  --red:         #ef4444;
  --red-faint:   rgba(239,68,68,.07);
  --green:       #4ade80;
  --text:        rgba(255,255,255,.92);
  --text-dim:    rgba(255,255,255,.58);
  --text-faint:  rgba(255,255,255,.34);
  --border:      rgba(255,255,255,.08);
  --radius:      14px;
  --maxw:        1040px;
}

/* ── RESET ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial,
               "Noto Sans", "Helvetica Neue", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}
a { color: var(--acc); text-decoration: none; }
a:hover { text-decoration: underline; }
img { display: block; max-width: 100%; }
p { color: var(--text-dim); overflow-wrap: break-word; }
h1, h2, h3, h4 { overflow-wrap: break-word; }
ul, ol { list-style: none; }
strong { color: var(--text); }
[hidden] { display: none !important; }

/* Skip-Link */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--acc); color: #04201e; font-weight: 800;
  padding: 10px 16px; border-radius: 0 0 8px 0; font-size: 13px;
}
.skip-link:focus { left: 0; text-decoration: none; }

:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 6px; }
.vh {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ── LAYOUT ──────────────────────────────────────────────── */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section { padding: 72px 0; scroll-margin-top: 96px; }
section.alt { background: var(--bg-alt); }
.lead { max-width: none; margin-bottom: 28px; }
.lead + .lead { margin-top: -12px; }

/* ── STICKY TOC (mit Teil-Umschalter A/B) ─────────────────── */
.toc-bar {
  position: sticky; top: 51px; z-index: 90;
  backdrop-filter: saturate(1.3) blur(14px);
  -webkit-backdrop-filter: saturate(1.3) blur(14px);
  background: rgba(8,8,14,.88);
  border-bottom: 1px solid var(--border);
}
.toc-bar__inner {
  display: flex; gap: 6px; align-items: center;
  max-width: var(--maxw); margin: 0 auto; padding: 9px 24px;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  scrollbar-width: thin; scrollbar-color: rgba(18,197,188,.3) transparent;
}
.toc-bar__inner::-webkit-scrollbar { height: 5px; }
.toc-bar__inner::-webkit-scrollbar-thumb { background: rgba(18,197,188,.3); border-radius: 100px; }
.toc-part {
  flex-shrink: 0; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase;
  border-radius: 100px; padding: 5px 13px 5px 6px;
  border: 1px solid var(--border); color: var(--text-dim);
  transition: color .2s, border-color .2s, background .2s, box-shadow .2s;
}
.toc-part__letter {
  display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; border-radius: 50%;
  font-size: 11px; font-weight: 900; color: #06110f; background: var(--text-faint);
}
.toc-part--a .toc-part__letter { background: var(--acc); }
.toc-part--b .toc-part__letter { background: var(--b); }
.toc-part:hover { text-decoration: none; color: var(--text); }
.toc-part.is-active.toc-part--a { color: var(--acc); border-color: var(--border-a); background: var(--acc-faint); box-shadow: 0 0 18px rgba(18,197,188,.18); }
.toc-part.is-active.toc-part--b { color: var(--b); border-color: var(--border-b); background: var(--b-faint); box-shadow: 0 0 18px rgba(56,189,248,.18); }
.toc-sep { flex-shrink: 0; width: 1px; height: 20px; background: var(--border); margin: 0 6px; }
.toc-link {
  flex-shrink: 0; white-space: nowrap;
  font-size: 11px; font-weight: 700; letter-spacing: .06em;
  color: var(--text-dim); text-decoration: none;
  border: 1px solid var(--border); border-radius: 100px;
  padding: 5px 13px; transition: color .2s, border-color .2s, background .2s;
}
.toc-link:hover, .toc-link.is-current {
  color: var(--acc); border-color: var(--border-a);
  background: var(--acc-faint); text-decoration: none;
}
.toc-link b { color: var(--acc); font-weight: 800; }
.toc-link--b b { color: var(--b); }
.toc-link--b:hover, .toc-link--b.is-current { color: var(--b); border-color: var(--border-b); background: var(--b-faint); }

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  padding: 92px 0 76px;
  background: linear-gradient(165deg, var(--bg) 50%, #061414 100%);
}
.hero__grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(18,197,188,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18,197,188,.05) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(ellipse 80% 65% at 30% 40%, black, transparent);
  mask-image: radial-gradient(ellipse 80% 65% at 30% 40%, black, transparent);
}
.hero__glow {
  position: absolute; pointer-events: none;
  width: 760px; height: 760px; top: 46%; left: 28%;
  transform: translate(-50%, -55%);
  background: radial-gradient(circle,
    rgba(18,197,188,.10) 0%, rgba(10,110,105,.05) 40%, transparent 70%);
}
/* Titelbild: rechts, nach links ausgeblendet – links bleibt Platz für die Überschrift */
.hero__media {
  position: absolute; top: 0; right: 0; bottom: 0; width: 64%;
  -webkit-mask-image: linear-gradient(to left, #000 45%, transparent 100%);
  mask-image: linear-gradient(to left, #000 45%, transparent 100%);
  opacity: .9;
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero__content { position: relative; max-width: 600px; }
.hero__kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--acc); background: var(--acc-faint);
  border: 1px solid var(--border-a); border-radius: 100px;
  padding: 6px 16px; margin-bottom: 22px;
}
.hero__title {
  font-size: clamp(28px, 5vw, 52px); font-weight: 900; line-height: 1.06;
  letter-spacing: .01em; margin-bottom: 18px;
}
.hero__title em { color: var(--acc); font-style: normal; }
.hero__sub {
  font-size: clamp(15px, 2vw, 18px); color: var(--text);
  margin: 0 0 16px; line-height: 1.5; font-weight: 600;
}
.hero__intro { font-size: 15px; color: var(--text-dim); margin: 0 0 22px; line-height: 1.75; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.stand {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 700; letter-spacing: .04em;
  color: var(--amber); background: var(--amber-faint);
  border: 1px solid rgba(245,200,66,.24); border-radius: 100px; padding: 6px 14px;
}
.stand::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 8px rgba(245,200,66,.7); }
.chip {
  display: inline-flex; align-items: center;
  font-size: 12px; font-weight: 700; letter-spacing: .04em;
  color: var(--text-dim); border: 1px solid var(--border); border-radius: 100px; padding: 6px 14px;
}
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font: inherit; font-size: 14px; font-weight: 700; letter-spacing: .04em;
  border-radius: 100px; padding: 11px 22px;
  text-decoration: none; transition: all .2s; border: 1px solid transparent;
  cursor: pointer; background: none; color: inherit;
}
.btn--primary {
  background: var(--acc); color: #04201e; border-color: var(--acc);
  box-shadow: 0 4px 20px rgba(18,197,188,.25);
}
.btn--primary:hover {
  background: rgba(18,197,188,.86); box-shadow: 0 6px 28px rgba(18,197,188,.4);
  transform: translateY(-1px); text-decoration: none; color: #04201e;
}
.btn--b { background: var(--b-faint); color: var(--b); border-color: var(--border-b); }
.btn--b:hover { background: rgba(56,189,248,.14); text-decoration: none; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--text-dim); border-color: var(--border); }
.btn--ghost:hover {
  background: rgba(255,255,255,.05); color: var(--text);
  border-color: rgba(255,255,255,.2); text-decoration: none;
}
.btn--small { font-size: 12px; padding: 7px 14px; }

/* ── TEIL-BANNER (A / B) ─────────────────────────────────── */
.part { padding: 64px 0 8px; position: relative; }
.part__box {
  position: relative; overflow: hidden;
  border-radius: 22px; padding: 34px 32px;
  border: 1px solid var(--border-a);
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(18,197,188,.14) 0%, transparent 55%),
    linear-gradient(135deg, rgba(18,197,188,.06), rgba(7,8,11,.2));
}
.part--b .part__box {
  border-color: var(--border-b);
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(56,189,248,.14) 0%, transparent 55%),
    linear-gradient(135deg, rgba(56,189,248,.06), rgba(7,8,11,.2));
}
.part__head { display: flex; align-items: center; gap: 18px; margin-bottom: 14px; }
.part__letter {
  flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
  width: 58px; height: 58px; border-radius: 16px;
  font-size: 30px; font-weight: 900; color: #04201e; background: var(--acc);
  box-shadow: 0 0 30px rgba(18,197,188,.35);
}
.part--b .part__letter { background: var(--b); color: #041626; box-shadow: 0 0 30px rgba(56,189,248,.35); }
.part__eyebrow {
  display: block; font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
  color: var(--acc); margin-bottom: 4px;
}
.part--b .part__eyebrow { color: var(--b); }
.part__title { font-size: clamp(24px, 3.8vw, 36px); font-weight: 900; line-height: 1.1; }
.part__text { max-width: none; font-size: 15.5px; line-height: 1.75; }
.part__media { margin-top: 26px; }

/* ── SECTION HEADERS ─────────────────────────────────────── */
.sec-header { display: flex; align-items: flex-start; gap: 18px; margin-bottom: 36px; }
.sec-num {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 36px; height: 36px; border-radius: 50%;
  background: var(--acc-faint); border: 1px solid var(--border-a);
  font-size: 13px; font-weight: 900; color: var(--acc); line-height: 1;
  flex-shrink: 0; margin-top: 2px;
}
.sec-title {
  font-size: clamp(22px, 3.6vw, 34px); font-weight: 900;
  line-height: 1.12; letter-spacing: .01em; margin-bottom: 8px; color: var(--text);
}
.sec-title em { color: var(--acc); font-style: normal; }
.sec-sub { font-size: 15px; color: var(--text-dim); line-height: 1.6; max-width: none; }
.is-b .sec-num { background: var(--b-faint); border-color: var(--border-b); color: var(--b); }
.is-b .sec-title em { color: var(--b); }

/* ── GRID LAYOUTS ────────────────────────────────────────── */
.grid { display: grid; gap: 18px; }
.grid--2 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: start; }
.split > .split__aside { position: sticky; top: 120px; }

/* ── KENNZAHLEN ──────────────────────────────────────────── */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 6px 0 30px; }
.stat {
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--panel); padding: 18px 18px 16px;
}
.stat__value { display: block; font-size: clamp(24px, 3.4vw, 32px); font-weight: 900; color: var(--acc); line-height: 1.05; margin-bottom: 6px; }
.stat__label { display: block; font-size: 13px; color: var(--text-dim); line-height: 1.5; }

/* ── CARDS ───────────────────────────────────────────────── */
.card {
  background: var(--panel);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px;
  transition: border-color .2s, box-shadow .2s, transform .2s;
  position: relative; overflow: hidden;
}
.card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--acc), transparent);
  opacity: 0; transition: opacity .2s;
}
.card:hover { border-color: var(--border-a); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(18,197,188,.1); }
.card:hover::before { opacity: 1; }
.is-b .card::before { background: linear-gradient(90deg, var(--b), transparent); }
.is-b .card:hover { border-color: var(--border-b); box-shadow: 0 8px 28px rgba(56,189,248,.1); }
.card--warn { border-color: rgba(245,200,66,.2); background: rgba(245,200,66,.03); }
.card--warn::before { background: linear-gradient(90deg, var(--amber), transparent); }
.card--warn:hover { border-color: rgba(245,200,66,.4); box-shadow: 0 8px 28px rgba(245,200,66,.08); }

.card__icon { font-size: 26px; margin-bottom: 12px; line-height: 1; }
.card__term { font-size: 16px; font-weight: 800; color: var(--text); margin-bottom: 6px; line-height: 1.25; }
.card__desc { font-size: 14px; color: var(--text-dim); line-height: 1.65; }

/* ── CONCEPT BLOCKS ──────────────────────────────────────── */
.concept {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px;
  border-left: 3px solid var(--acc);
  transition: border-color .2s;
}
.concept:hover { border-color: var(--border-a); border-left-color: var(--acc); }
.concept__label {
  font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--acc); margin-bottom: 8px;
}
.concept__term { font-size: 16px; font-weight: 800; color: var(--text); margin-bottom: 8px; line-height: 1.25; }
.concept__desc { font-size: 14px; color: var(--text-dim); line-height: 1.7; }
.bausteine { display: grid; gap: 14px; }

/* ── PUNKT-LISTEN (Teil B) ───────────────────────────────── */
.points { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.points li {
  position: relative; padding: 16px 18px 16px 44px;
  background: var(--panel); border: 1px solid var(--border); border-radius: 12px;
  font-size: 14px; color: var(--text-dim); line-height: 1.6;
}
.points li::before {
  content: ""; position: absolute; left: 18px; top: 22px;
  width: 9px; height: 9px; border-radius: 3px; transform: rotate(45deg);
  background: var(--b); box-shadow: 0 0 10px rgba(56,189,248,.6);
}
.points--a li::before { background: var(--acc); box-shadow: 0 0 10px rgba(18,197,188,.6); }

/* ── RANGFOLGE-TREPPE ─────────────────────────────────────── */
.stair-legend {
  display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center;
  font-size: 12px; color: var(--text-faint); margin-bottom: 16px;
}
.stair-legend .lg-title { color: var(--text-dim); }
.stair-legend .lg { display: inline-flex; align-items: center; gap: 6px; }
.stair-legend .lg::before { content: ""; width: 9px; height: 9px; border-radius: 50%; }
.lg--ja::before { background: var(--green); box-shadow: 0 0 8px rgba(74,222,128,.7); }
.lg--teil::before { background: var(--amber); box-shadow: 0 0 8px rgba(245,200,66,.7); }
.lg--nein::before { background: var(--red); box-shadow: 0 0 8px rgba(239,68,68,.7); }
.lg--na::before { background: rgba(255,255,255,.25); }
.stair { display: flex; flex-direction: column; gap: 10px; counter-reset: none; }
.stair__step {
  --lvl: 0; --c: 239,68,68;
  position: relative;
  margin-left: calc(var(--lvl) * 7%);
  display: flex; align-items: center; gap: 16px;
  padding: 14px 18px 14px 14px;
  border-radius: 14px;
  border: 1px solid rgba(var(--c), .28);
  background: linear-gradient(100deg, rgba(var(--c), .16), rgba(var(--c), .03) 70%);
  box-shadow: 0 0 calc(4px + var(--lvl) * 7px) rgba(var(--c), calc(.06 + var(--lvl) * .06));
}
.stair__step::after {
  /* Setzstufe: zieht die Stufe optisch bis zur nächsten hinunter */
  content: ""; position: absolute; left: -1px; top: 100%; width: 2px; height: 10px;
  background: rgba(var(--c), .35);
}
.stair__step:last-child::after { display: none; }
.stair__step--1 { --lvl: 4; --c: 18,197,188; }
.stair__step--2 { --lvl: 3; --c: 45,212,191; }
.stair__step--3 { --lvl: 2; --c: 245,200,66; }
.stair__step--4 { --lvl: 1; --c: 249,115,22; }
.stair__step--5 { --lvl: 0; --c: 239,68,68; }
.stair__step--1 { box-shadow: 0 0 34px rgba(18,197,188,.35), inset 0 0 0 1px rgba(18,197,188,.25); }
.stair__rank {
  flex-shrink: 0; display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  width: 54px; height: 54px; border-radius: 12px;
  background: rgba(var(--c), .18); border: 1px solid rgba(var(--c), .45);
  color: rgb(var(--c)); font-weight: 900; line-height: 1;
}
.stair__rank::before { content: "Rang"; font-size: 9px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 3px; opacity: .85; }
.stair__rank::after { content: attr(data-rank); font-size: 22px; }
.stair__body { flex: 1; min-width: 0; }
.stair__name { display: block; font-size: 16px; font-weight: 800; color: var(--text); margin-bottom: 8px; }
.stair__checks { display: flex; flex-wrap: wrap; gap: 6px; }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--text-dim);
  border: 1px solid var(--border); border-radius: 100px; padding: 3px 10px 3px 8px;
  background: rgba(0,0,0,.25);
}
.pill b { font-weight: 800; }
.dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.dot--ja { background: var(--green); box-shadow: 0 0 8px rgba(74,222,128,.7); }
.dot--teil { background: var(--amber); box-shadow: 0 0 8px rgba(245,200,66,.7); }
.dot--nein { background: var(--red); box-shadow: 0 0 8px rgba(239,68,68,.7); }
.dot--na { background: rgba(255,255,255,.25); }
.pill--ja b { color: var(--green); }
.pill--teil b { color: var(--amber); }
.pill--nein b { color: #ff8080; }
.pill--na b { color: var(--text-faint); }

/* ── CALLOUT / HINWEIS ───────────────────────────────────── */
.callout {
  margin-top: 24px; padding: 18px 22px;
  background: var(--acc-faint); border-left: 3px solid var(--acc);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 14.5px; color: var(--text-dim); line-height: 1.7;
}
.is-b .callout { background: var(--b-faint); border-left-color: var(--b); }
.note { font-size: 13px; color: var(--text-faint); line-height: 1.6; }

/* ── BILDER & PLATZHALTER ────────────────────────────────── */
.pic { position: relative; margin: 0; }
.pic__frame {
  position: relative; overflow: hidden; border-radius: 18px;
  border: 1px solid var(--border); background: #0b0f12;
  aspect-ratio: 16 / 9;
}
.pic--photo .pic__frame { aspect-ratio: 3 / 2; }
.pic--inline { max-width: 760px; margin-bottom: 30px; }
/* Bild unter einer Abschnittsüberschrift: volle Inhaltsbreite – bündig mit Nummer, Überschriftblock, Legende und Stufenkarten */
.pic--inline.pic--align-title { max-width: none; }
.pic__frame img { width: 100%; height: 100%; object-fit: cover; }
.pic__ph { display: none; }
.pic.is-missing img { display: none; }
.pic.is-missing .pic__ph {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  padding: 20px; text-align: center;
  background:
    radial-gradient(60% 70% at 50% 45%, rgba(18,197,188,.12), transparent 70%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 12px, transparent 12px 24px);
  border: 1px dashed rgba(18,197,188,.28); border-radius: 18px;
}
.pic.is-missing .pic__ph::before {
  content: "Bild folgt";
  font-size: 10px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
  color: var(--acc); border: 1px solid var(--border-a); background: var(--acc-faint);
  border-radius: 100px; padding: 4px 12px;
}
.pic.is-missing .pic__ph::after {
  content: attr(data-motiv);
  font-size: 15px; font-weight: 800; color: var(--text-dim); max-width: 380px; line-height: 1.35;
}
.hero__media.is-missing { display: none; }

/* ── CHECKLISTEN ─────────────────────────────────────────── */
.checklist {
  border: 1px solid var(--border-a); border-radius: 20px;
  background: linear-gradient(160deg, rgba(18,197,188,.05), rgba(7,8,11,.25));
  padding: 26px;
}
.checklist--b { border-color: var(--border-b); background: linear-gradient(160deg, rgba(56,189,248,.05), rgba(7,8,11,.25)); }
.checklist__bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px;
  padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--border);
}
.checklist__count { font-size: 14px; color: var(--text-dim); }
.checklist__count strong { color: var(--acc); font-size: 18px; }
.checklist--b .checklist__count strong { color: var(--b); }
.progress { flex: 1 1 180px; height: 8px; border-radius: 100px; background: rgba(255,255,255,.07); overflow: hidden; }
.progress__fill {
  display: block; height: 100%; width: 0; border-radius: inherit;
  background: linear-gradient(90deg, rgba(18,197,188,.6), var(--acc));
  box-shadow: 0 0 12px rgba(18,197,188,.6);
  transition: width .35s ease;
}
.checklist--b .progress__fill { background: linear-gradient(90deg, rgba(56,189,248,.6), var(--b)); box-shadow: 0 0 12px rgba(56,189,248,.6); }
.checklist.is-done .checklist__count strong::after { content: " ✓"; }
.checklist__privacy { flex-basis: 100%; font-size: 12px; color: var(--text-faint); }
.checklist__group + .checklist__group { margin-top: 22px; }
.checklist__step {
  font-size: 13px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase;
  color: var(--acc); margin-bottom: 10px;
}
.checklist__step small { display: block; text-transform: none; letter-spacing: 0; font-weight: 600; font-size: 13px; color: var(--text-faint); margin-top: 2px; }
.checks { display: grid; gap: 8px; }
.checks--numbered { counter-reset: q; }
.check {
  position: relative; display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 14px; border-radius: 12px; cursor: pointer;
  border: 1px solid var(--border); background: rgba(255,255,255,.025);
  transition: border-color .2s, background .2s;
}
.check:hover { border-color: var(--border-a); background: rgba(18,197,188,.04); }
.checklist--b .check:hover { border-color: var(--border-b); background: rgba(56,189,248,.04); }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.check__box {
  flex-shrink: 0; width: 22px; height: 22px; margin-top: 1px;
  border-radius: 7px; border: 1.5px solid rgba(255,255,255,.28);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s, border-color .2s, box-shadow .2s;
}
.check__box::after {
  content: ""; width: 10px; height: 6px; margin-top: -3px;
  border-left: 2.5px solid #04201e; border-bottom: 2.5px solid #04201e;
  transform: rotate(-45deg) scale(.4); opacity: 0;
  transition: transform .2s, opacity .2s;
}
.check__text { font-size: 14.5px; color: var(--text-dim); line-height: 1.55; }
.checks--numbered .check__text::before {
  counter-increment: q; content: counter(q) ". ";
  font-weight: 900; color: var(--b);
}
.check input:focus-visible + .check__box { outline: 2px solid var(--acc); outline-offset: 3px; }
.check input:checked + .check__box {
  background: var(--acc); border-color: var(--acc); box-shadow: 0 0 12px rgba(18,197,188,.55);
}
.checklist--b .check input:checked + .check__box { background: var(--b); border-color: var(--b); box-shadow: 0 0 12px rgba(56,189,248,.55); }
.check input:checked + .check__box::after { opacity: 1; transform: rotate(-45deg) scale(1); }
.check input:checked ~ .check__text { color: var(--text-faint); text-decoration: line-through; text-decoration-color: rgba(255,255,255,.25); }

/* ── ANGEBOT / KONTAKT ───────────────────────────────────── */
.offer {
  margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px;
  padding: 20px 24px; border-radius: 16px;
  border: 1px solid var(--border-b); background: var(--b-faint);
}
.offer p { max-width: none; color: var(--text); font-size: 15px; }

/* ── WEITERLESEN ─────────────────────────────────────────── */
.xlinks { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.xlink {
  display: block; padding: 20px 22px; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--panel);
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.xlink:hover { text-decoration: none; transform: translateY(-2px); border-color: var(--border-a); box-shadow: 0 8px 28px rgba(18,197,188,.1); }
.xlink__kicker { display: block; font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 6px; }
.xlink__title { display: block; font-size: 16px; font-weight: 800; color: var(--text); margin-bottom: 6px; }
.xlink__text { display: block; font-size: 13.5px; color: var(--text-dim); line-height: 1.55; }
.xlink__go { display: inline-block; margin-top: 10px; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--acc); }

/* ── QUELLEN ─────────────────────────────────────────────── */
.sources { display: grid; gap: 10px; }
.sources li { font-size: 14px; color: var(--text-dim); line-height: 1.6; padding-left: 18px; position: relative; }
.sources li::before { content: "↗"; position: absolute; left: 0; color: var(--acc); }

/* ── FOOTER NAV ──────────────────────────────────────────── */
.footer-nav { border-top: 1px solid var(--border); padding: 28px 0; }
.footer-nav .wrap { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; }
.footer-nav a {
  font-size: 14px; font-weight: 600; color: var(--text-dim);
  padding: 8px 16px; border: 1px solid var(--border); border-radius: 100px;
  transition: all .2s; text-decoration: none;
}
.footer-nav a:hover { color: var(--acc); border-color: var(--border-a); background: var(--acc-faint); text-decoration: none; }

/* ── ERKLÄR-ANIMATION „Warum die Schutzschichten zählen“ ──
   Reines SVG + CSS. Jede Szene hat einen statischen Endzustand
   (= Fassung für „reduzierte Bewegung“); nur mit .is-motion laufen
   die Bewegungen dorthin. Kein Text im Bild – die Szenen stehen
   daneben als normaler Text. */
.ks-anim {
  margin-top: 44px; border: 1px solid var(--border-a); border-radius: 22px; padding: 24px;
  background: linear-gradient(160deg, rgba(18,197,188,.05), rgba(7,8,11,.3));
}
.ks-anim__title { font-size: clamp(18px, 2.4vw, 22px); font-weight: 900; color: var(--text); margin-bottom: 4px; }
.ks-anim__sub { font-size: 14px; margin-bottom: 18px; }
.ks-anim__grid { display: grid; grid-template-columns: 1.4fr .9fr; gap: 22px; align-items: center; }
.ks-stage {
  position: relative; overflow: hidden; border-radius: 16px; border: 1px solid var(--border);
  background: radial-gradient(80% 90% at 50% 40%, rgba(18,197,188,.06), transparent 70%), #080b0e;
}
.ks-svg { display: block; width: 100%; height: auto; }
.ks-steps { display: grid; gap: 6px; }
.ks-steps li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 10px 12px; border-radius: 12px; border: 1px solid transparent;
  transition: background .3s, border-color .3s;
}
.ks-steps li.is-active { background: var(--acc-faint); border-color: var(--border-a); }
.ks-step-btn {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; margin-top: 1px;
  border: 1px solid var(--border-a); background: transparent; color: var(--acc);
  font: inherit; font-size: 12px; font-weight: 900; cursor: pointer;
  transition: background .2s, color .2s, box-shadow .2s;
}
.ks-step-btn:hover { background: var(--acc-faint); }
.ks-steps li.is-active .ks-step-btn { background: var(--acc); color: #04201e; box-shadow: 0 0 14px rgba(18,197,188,.5); }
.ks-step-text { font-size: 13.5px; line-height: 1.55; }
.ks-step-text strong { color: var(--text); }
.ks-ctrl { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 14px; }
.ks-ctrl__note { flex-basis: 100%; font-size: 12px; color: var(--text-faint); }
.ks-ctrl__note:empty { display: none; }

/* Grundformen */
.ks-svg .ks-box { fill: rgba(255,255,255,.03); stroke: rgba(255,255,255,.22); stroke-width: 1.6; }
.ks-svg .ks-box--red { fill: rgba(239,68,68,.07); stroke: rgba(239,68,68,.65); }
.ks-svg .ks-box--teal { fill: rgba(18,197,188,.07); stroke: rgba(18,197,188,.7); }
.ks-svg .ks-slots rect { fill: rgba(255,255,255,.05); stroke: rgba(255,255,255,.14); }
.ks-svg .ks-leds circle { fill: #ef4444; }
.ks-svg .ks-crack { fill: none; stroke: #ef4444; stroke-width: 2.4; stroke-linejoin: round; filter: drop-shadow(0 0 4px rgba(239,68,68,.9)); }
.ks-svg .ks-clip { fill: rgba(239,68,68,.25); stroke: rgba(239,68,68,.7); }
.ks-svg .ks-rows circle, .ks-svg .ks-row-new circle { fill: rgba(239,68,68,.85); }
.ks-svg .ks-rows rect { fill: rgba(239,68,68,.22); }
.ks-svg .ks-row-new rect { fill: rgba(245,200,66,.8); }
.ks-svg .ks-row-new { filter: drop-shadow(0 0 5px rgba(245,200,66,.8)); }
.ks-svg .ks-sign { fill: rgba(255,255,255,.12); }
.ks-svg .ks-doorway { fill: #05070a; stroke: rgba(255,255,255,.3); stroke-width: 1.8; }
.ks-svg .ks-door--2 .ks-doorway { stroke: rgba(18,197,188,.8); }
.ks-svg .ks-door--2 .ks-sign { fill: rgba(18,197,188,.45); }
.ks-svg .ks-inside { fill: rgba(239,68,68,.6); opacity: 0; }
.ks-svg .ks-panel { transform-box: fill-box; transform-origin: left center; }
.ks-svg .ks-panel rect { fill: #1a2027; stroke: rgba(255,255,255,.25); }
.ks-svg .ks-door--2 .ks-panel rect { fill: #10302e; stroke: rgba(18,197,188,.6); }
.ks-svg .ks-panel circle { fill: rgba(255,255,255,.6); }
.ks-svg .ks-trail { fill: none; stroke-width: 2; stroke-dasharray: 6 7; stroke-linecap: round; }
.ks-svg .ks-trail--amber { stroke: rgba(245,200,66,.65); }
.ks-svg .ks-trail--red { stroke: rgba(239,68,68,.6); }
.ks-svg .ks-trail--teal { stroke: rgba(18,197,188,.7); }
.ks-svg .ks-packet, .ks-svg .ks-upk { color: #f5c842; }
.ks-svg .ks-tok { color: #ff6b6b; }
.ks-svg .ks-pkey { color: #12c5bc; }
.ks-svg .ks-shield { fill: rgba(18,197,188,.14); stroke: #12c5bc; stroke-width: 2; filter: drop-shadow(0 0 8px rgba(18,197,188,.7)); }
.ks-svg .ks-shield-dots circle { fill: #7ef0e8; }
.ks-svg .ks-spark path { fill: none; stroke: #7ef0e8; stroke-width: 2.4; stroke-linecap: round; filter: drop-shadow(0 0 4px rgba(18,197,188,.9)); }
.ks-svg .ks-user path, .ks-svg .ks-user circle { fill: none; stroke: #12c5bc; stroke-width: 1.8; }
.ks-svg .ks-fakeframe { fill: #05070a; stroke: rgba(239,68,68,.8); stroke-width: 1.8; stroke-dasharray: 5 4; }
.ks-svg .ks-fakepanel { fill: #2a1414; stroke: rgba(239,68,68,.4); }
.ks-svg .ks-hook { fill: none; stroke: #ef4444; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ks-svg .ks-x path { fill: none; stroke: #12c5bc; stroke-width: 4; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(18,197,188,.9)); }
.ks-svg .ks-halo { fill: rgba(18,197,188,.10); stroke: rgba(18,197,188,.7); stroke-width: 1.6; }
.ks-svg .ks-flap { fill: none; stroke: rgba(18,197,188,.7); stroke-width: 1.8; }
.ks-svg .ks-mlock { color: #12c5bc; filter: drop-shadow(0 0 6px rgba(18,197,188,.9)); }
.ks-svg .ks-mlock circle { fill: #05070a; stroke: rgba(18,197,188,.7); stroke-width: 1.4; }
.ks-svg .ks-layer, .ks-svg .ks-spark, .ks-svg .ks-x, .ks-svg .ks-halo, .ks-svg .ks-fake { transform-box: fill-box; transform-origin: center; }

/* Sichtbarkeit je Szene (statische Endzustände) */
.ks-svg .ks-s { opacity: 0; transition: opacity .35s; }
.ks-stage[data-scene="1"] .s1, .ks-stage[data-scene="2"] .s2, .ks-stage[data-scene="3"] .s3,
.ks-stage[data-scene="4"] .s4, .ks-stage[data-scene="5"] .s5 { opacity: 1; }
.ks-svg .ks-packet { transform: translate(360px, 274px) scale(.75); }
.ks-svg .ks-tok1 { transform: translate(612px, 74px); }
.ks-svg .ks-tok2 { transform: translate(665px, 210px); }
.ks-svg .ks-tok3 { transform: translate(612px, 346px); }
.ks-svg .ks-tokb { transform: translate(538px, 214px); }
.ks-svg .ks-upk { transform: translate(392px, 282px) scale(.8); }
.ks-svg .ks-pkey { transform: translate(430px, 346px); }
.ks-svg .ks-tokm { transform: translate(440px, 96px); }
.ks-stage[data-scene="2"] .ks-door--2 .ks-panel { transform: scaleX(.16); }
.ks-stage[data-scene="2"] .ks-door--2 .ks-inside { opacity: 1; }
.ks-stage[data-scene="2"] .ks-tok1, .ks-stage[data-scene="2"] .ks-tok3 { opacity: .3; }
.ks-stage[data-scene="3"] .ks-tokb, .ks-stage[data-scene="5"] .ks-tokm { opacity: .6; }
.ks-stage[data-scene="5"] .ks-doorway { stroke: rgba(18,197,188,.8); }
.ks-stage[data-scene="5"] .ks-door .ks-panel rect { stroke: rgba(18,197,188,.55); }

/* Bewegung – nur wenn JavaScript .is-motion setzt (nie bei reduzierter Bewegung) */
.ks-stage.is-paused, .ks-stage.is-paused * { animation-play-state: paused !important; }
.ks-stage.is-motion .ks-doorway { transition: stroke .6s; }
@keyframes ks-in { 0% { opacity: 0; } }
@keyframes ks-flash { 0% { opacity: 0; } 20%, 40% { opacity: 1; } 30% { opacity: .2; } }
@keyframes ks-spark { 0%, 52% { opacity: 0; transform: scale(.3); } 60% { opacity: 1; transform: scale(1.25); } }
@keyframes ks-pop { 0% { opacity: 0; transform: scale(.3); } }
/* 1 · Das Leck */
.ks-stage.is-motion[data-scene="1"] .ks-crack { animation: ks-flash 1.2s ease-out .1s both; }
.ks-stage.is-motion[data-scene="1"] .ks-trail1 { animation: ks-in .6s ease-out .5s both; }
.ks-stage.is-motion[data-scene="1"] .ks-packet { animation: ks1-packet 2.4s cubic-bezier(.45,0,.3,1) .6s both; }
.ks-stage.is-motion[data-scene="1"] .ks-row-new { animation: ks-in .5s ease-out 2.9s both; }
@keyframes ks1-packet {
  0% { transform: translate(105px, 90px) scale(1); opacity: 0; }
  12% { transform: translate(105px, 90px) scale(1); opacity: 1; }
  85% { transform: translate(360px, 274px) scale(1); opacity: 1; }
}
/* 2 · Der Angriff */
.ks-stage.is-motion[data-scene="2"] .ks-trail2 { animation: ks-in .6s ease-out .2s both; }
.ks-stage.is-motion[data-scene="2"] .ks-tok1 { animation: ks2-t1 1.8s cubic-bezier(.45,0,.3,1) .6s both; }
.ks-stage.is-motion[data-scene="2"] .ks-tok2 { animation: ks2-t2 3.2s cubic-bezier(.45,0,.3,1) .9s both; }
.ks-stage.is-motion[data-scene="2"] .ks-tok3 { animation: ks2-t3 1.8s cubic-bezier(.45,0,.3,1) 1.4s both; }
.ks-stage.is-motion[data-scene="2"] .ks-door--2 .ks-panel { animation: ks2-open .7s ease-out 2.9s both; }
.ks-stage.is-motion[data-scene="2"] .ks-door--2 .ks-inside { animation: ks-in .7s ease-out 2.9s both; }
@keyframes ks2-t1 { 0% { transform: translate(420px, 220px); opacity: 0; } 10% { opacity: 1; } 80% { transform: translate(612px, 74px); opacity: 1; } }
@keyframes ks2-t2 { 0% { transform: translate(420px, 220px); opacity: 0; } 6% { opacity: 1; } 60%, 85% { transform: translate(612px, 210px); opacity: 1; } }
@keyframes ks2-t3 { 0% { transform: translate(420px, 220px); opacity: 0; } 10% { opacity: 1; } 80% { transform: translate(612px, 346px); opacity: 1; } }
@keyframes ks2-open { 0% { transform: scaleX(1); } }
/* 3 · Die Zwei-Faktor-Schicht */
.ks-stage.is-motion[data-scene="3"] .ks-door--2 .ks-panel { animation: ks3-close .6s ease-in .1s both; }
.ks-stage.is-motion[data-scene="3"] .ks-layer { animation: ks-pop .8s cubic-bezier(.3,1.4,.5,1) .7s both; }
.ks-stage.is-motion[data-scene="3"] .ks-tokb { animation: ks3-tok 2.6s cubic-bezier(.45,0,.3,1) 1.5s both; }
.ks-stage.is-motion[data-scene="3"] .ks-spark3 { animation: ks-spark 2.6s ease-out 1.5s both; }
@keyframes ks3-close { 0% { transform: scaleX(.16); } }
@keyframes ks3-tok { 0% { transform: translate(420px, 220px); opacity: 0; } 8% { opacity: 1; } 55% { transform: translate(552px, 210px); opacity: 1; } 75% { transform: translate(522px, 218px); } }
/* 4 · Die Phishing-Falle */
.ks-stage.is-motion[data-scene="4"] .ks-user { animation: ks-in .5s ease-out both; }
.ks-stage.is-motion[data-scene="4"] .ks-fake { animation: ks4-fake .7s ease-out .3s both; }
.ks-stage.is-motion[data-scene="4"] .ks-trail4a { animation: ks-in .5s ease-out 1s both; }
.ks-stage.is-motion[data-scene="4"] .ks-upk { animation: ks4-upk 2.8s cubic-bezier(.45,0,.3,1) 1s both; }
.ks-stage.is-motion[data-scene="4"] .ks-trail4b { animation: ks-in .5s ease-out 2.6s both; }
.ks-stage.is-motion[data-scene="4"] .ks-pkey { animation: ks4-key 1.8s cubic-bezier(.45,0,.3,1) 4s both; }
.ks-stage.is-motion[data-scene="4"] .ks-halo,
.ks-stage.is-motion[data-scene="4"] .ks-x { animation: ks-pop .5s cubic-bezier(.3,1.5,.5,1) 5.8s both; }
@keyframes ks4-fake { 0% { opacity: 0; transform: translateY(-14px); } }
@keyframes ks4-upk { 0% { transform: translate(150px, 334px) scale(1); opacity: 0; } 8% { opacity: 1; } 42%, 56% { transform: translate(456px, 346px) scale(1); opacity: 1; } }
@keyframes ks4-key { 0% { transform: translate(150px, 350px); opacity: 0; } 15% { opacity: 1; } }
/* 5 · Die Hintertür */
.ks-stage.is-motion[data-scene="5"] .ks-mail { animation: ks-in .6s ease-out .2s both; }
.ks-stage.is-motion[data-scene="5"] .ks-rec { animation: ks-in .6s ease-out .7s both; }
.ks-stage.is-motion[data-scene="5"] .ks-tokm { animation: ks5-tok 2.6s cubic-bezier(.45,0,.3,1) 1.3s both; }
.ks-stage.is-motion[data-scene="5"] .ks-spark5 { animation: ks-spark 2.6s ease-out 1.3s both; }
.ks-stage.is-motion[data-scene="5"] .ks-mlock { animation: ks5-lock 1.2s ease-in-out 2.7s both; }
@keyframes ks5-tok { 0% { transform: translate(410px, 170px); opacity: 0; } 8% { opacity: 1; } 55% { transform: translate(454px, 72px); opacity: 1; } 75% { transform: translate(430px, 100px); } }
@keyframes ks5-lock { 0%, 100% { filter: drop-shadow(0 0 6px rgba(18,197,188,.9)); } 40% { filter: drop-shadow(0 0 16px rgba(18,197,188,1)); } }

/* ── HARMONISCHE RASTER (Desktop) ────────────────────────────
   Karten-Raster in 3 Spalten ohne „Waisen“: eine allein stehende letzte
   Karte geht über die volle Breite, zwei Karten in der letzten Reihe teilen
   sie sich hälftig, bei genau vier Karten entsteht ein 2×2-Raster. */
@media (min-width: 861px) {
  .grid--2, .points { grid-template-columns: repeat(6, 1fr); }
  .grid--2 > *, .points > li { grid-column: span 2; }
  .grid--2 > :last-child:nth-child(3n+1),
  .points > li:last-child:nth-child(3n+1) { grid-column: 1 / -1; }
  .grid--2 > :nth-last-child(2):nth-child(3n+1),
  .grid--2 > :last-child:nth-child(3n+2),
  .points > li:nth-last-child(2):nth-child(3n+1),
  .points > li:last-child:nth-child(3n+2) { grid-column: span 3; }
  .grid--2 > :first-child:nth-last-child(4),
  .grid--2 > :first-child:nth-last-child(4) ~ *,
  .points > li:first-child:nth-last-child(4),
  .points > li:first-child:nth-last-child(4) ~ li { grid-column: span 3; }
}
/* Bild im Teil-B-Kasten: Abstand zum Text (.pic setzt sonst margin: 0) */
.pic.part__media { margin-top: 26px; }
/* Checklisten-Einleitung: Text mittig neben dem Foto */
#checkliste .split { align-items: center; }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 860px) {
  .hero { padding-top: 72px; }
  .hero.has-media { padding-top: 0; }
  .hero__media {
    position: relative; width: auto; height: auto; margin: 0 0 8px;
    aspect-ratio: 16 / 9;
    -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
  }
  .split { grid-template-columns: 1fr; }
  .split > .split__aside { position: static; }
  .ks-anim__grid { grid-template-columns: 1fr; }
  .stair__step { margin-left: calc(var(--lvl) * 3.5%); }
}
@media (max-width: 600px) {
  section { padding: 56px 0; }
  .wrap { padding: 0 16px; }
  .grid--2, .grid--3, .points { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .sec-header { flex-direction: column; gap: 10px; }
  .part__box { padding: 24px 18px; }
  .part__letter { width: 46px; height: 46px; font-size: 24px; border-radius: 13px; }
  .checklist { padding: 18px 14px; }
  .ks-anim { padding: 16px 12px; }
  .stair__step { margin-left: calc(var(--lvl) * 2.5%); gap: 12px; padding: 12px; }
  .stair__rank { width: 44px; height: 44px; }
  .stair__rank::after { font-size: 18px; }
  .toc-bar__inner { padding: 9px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
