/* =====================================================================
   EU AI Act Check — ai-act-check.html (Designkonzept docs/ai-act/designkonzept.md)
   -----------------------------------------------------------------------
   Nur globale :root-Tokens aus style.css (inkl. der am 2026-08-02 ergaenzten
   --ok/--warn/--err/--blue-tint*). Keine Ad-hoc-Grundfarben. `aa-`-Praefix
   spiegelt die `rg-`-Klassen aus reifegrad.css eigenstaendig (Designkonzept
   §4.1) — rg-Klassen bleiben unangetastet, keine Importe von dort.
   ===================================================================== */

.aa-wrap { max-width: 760px; margin-inline: auto; }

/* Anker-Ziele (Sticky-Header, §8.5) */
#check, #wissen, #fristen, #faq { scroll-margin-top: 100px; }

/* JS-/No-JS-Sichtbarkeit (identisches Muster zu rg-/Reifegrad) */
.js-only { display: none; }
.js .js-only { display: block; }
.nojs-note { display: block; }
.js .nojs-note { display: none; }

/* Hero-H1 dieser Seite: keine Silbentrennung — "Ihrem" brach sonst zu "Ih-rem" um.
   Nur fuer .page-hero .display INNERHALB dieser Datei, sitenweite hyphens:auto
   in style.css bleibt unangetastet (Kevin-Vorgabe: hier volle Woerter, eine Zeile). */
.page-hero .display {
  -webkit-hyphens: none;
          hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
}

/* ---------- HERO-CHIPS ---------- */
.aa-hero-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 22px 0 30px;
}
.aa-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue-2);
  border: 1px solid var(--line-d-strong);
  border-radius: 999px;
  padding: 8px 15px;
}
.aa-chip--live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 8px rgba(53, 208, 127, .7);
}

/* ---------- FRISTEN-STATUS-BOARD (§3.6 / §5.2) ---------- */
.aa-fristen-intro { color: var(--muted); line-height: 1.65; max-width: 68ch; margin: 0 0 32px; }
.aa-fristen {
  display: grid;
  grid-template-columns: 28px 1fr;
  column-gap: 18px;
  row-gap: 0;
  max-width: 760px;
}
.aa-frist {
  display: contents;
}
.aa-frist-node {
  grid-column: 1;
  position: relative;
  display: flex;
  justify-content: center;
}
.aa-frist-node::before {
  /* Spine — durchgezogen bis zum naechsten Knoten, letzter Knoten ohne Fortsetzung */
  content: "";
  position: absolute;
  top: 22px;
  bottom: -22px;
  width: 1px;
  background: var(--line-d);
}
.aa-frist:last-child .aa-frist-node::before { display: none; }
.aa-frist-dot {
  position: relative;
  z-index: 1;
  margin-top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--blue-2);
  background: var(--night);
  flex: none;
}
.aa-frist--gilt .aa-frist-dot { background: var(--ok); border-color: var(--ok); }
.aa-frist-body { grid-column: 2; padding: 0 0 30px; }
.aa-frist-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.aa-frist-stamp {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  color: var(--blue-2);
  border: 1px solid var(--line-d-strong);
}
.aa-frist--gilt .aa-frist-stamp { color: var(--ok); border-color: rgba(53, 208, 127, .35); background: var(--ok-tint); }
.aa-frist-datum {
  font-family: var(--font-mono);
  font-size: .82rem;
  letter-spacing: .02em;
  color: var(--blue-2);
}
.aa-frist-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--ice);
  margin: 0 0 6px;
}
.aa-frist-text { color: var(--muted); line-height: 1.6; margin: 0; max-width: 62ch; font-size: .95rem; }

/* Groessenhierarchie: 02.08.2026 groesst, 02.12.2027 zweitgroesst, Rest klein */
.aa-frist--major .aa-frist-title { font-size: clamp(1.15rem, 2.4vw, 1.4rem); }
.aa-frist--major .aa-frist-text { font-size: 1rem; max-width: 66ch; }
.aa-frist--mid .aa-frist-title { font-size: 1.05rem; }

/* „Sie stehen hier"-Marker zwischen Knoten 3 und 4 */
.aa-frist-here {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: -6px 0 22px;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
}
.aa-frist-here::before { content: "◄"; }
.aa-frist-here::after { content: ""; flex: 1 1 auto; height: 1px; background: var(--line-d-strong); }

.aa-fristen-note { color: var(--muted); line-height: 1.65; max-width: 68ch; margin: 26px 0 0; }
.aa-fristen-note a { color: var(--blue-2); font-weight: 600; }
.aa-fristen-note a:hover { text-decoration: underline; }

/* ---------- CHECK: INTRO-KARTE ---------- */
.aa-check-section { position: relative; }
.aa-check-intro {
  border: 1px solid var(--line-d);
  border-radius: var(--radius);
  background: var(--panel);
  padding: clamp(22px, 4vw, 40px);
  box-shadow: var(--shadow-card);
}
.aa-check-intro h3 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3.2vw, 1.8rem);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.2;
  color: var(--ice);
  margin: 6px 0 12px;
}
.aa-check-intro > p { color: var(--muted); line-height: 1.65; margin: 0 0 20px; max-width: 60ch; }

.aa-expect {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0 0 24px;
}
.aa-expect li {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--blue-2);
  border: 1px solid var(--line-d-strong);
  border-radius: 999px;
  padding: 7px 13px;
}

.aa-accordion {
  border-top: 1px solid var(--line-d);
  border-bottom: 1px solid var(--line-d);
  margin: 0 0 24px;
}
.aa-accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  list-style: none;
  padding: 16px 2px;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ice);
}
.aa-accordion summary::-webkit-details-marker { display: none; }
.aa-acc-icon { position: relative; width: 14px; height: 14px; flex: none; }
.aa-acc-icon::before, .aa-acc-icon::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 12px; height: 2px; border-radius: 2px;
  background: var(--blue-2); transform: translate(-50%, -50%);
  transition: transform .25s var(--ease);
}
.aa-acc-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.aa-accordion[open] .aa-acc-icon::after { transform: translate(-50%, -50%) rotate(0); }
.aa-acc-body { padding: 0 2px 18px; color: var(--muted); line-height: 1.65; }
.aa-acc-body p + p { margin-top: 12px; }
.aa-acc-body b { color: var(--ice); font-weight: 600; }

.aa-intro-actions { margin-top: 6px; }
.aa-legal { font-family: var(--font-mono); font-size: .74rem; line-height: 1.6; color: var(--slate-text); margin: 18px 0 0; }
.aa-check-intro .nojs-note { margin-top: 18px; color: var(--muted); line-height: 1.6; }
.aa-check-intro .nojs-note a { color: var(--blue-2); font-weight: 600; }
.aa-check-intro .nojs-note a:hover { text-decoration: underline; }

/* ---------- QUIZ-FORMULAR ---------- */
.aa-quiz { margin-top: 30px; }

/* Fortschritt: 4 Segmente, Breite proportional zur Fragenzahl (5/2/9/4 = 20) */
.aa-progress {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 6px;
}
.aa-progress .aa-seg[data-key="inventar"] { flex-grow: 5; }
.aa-progress .aa-seg[data-key="rolle"] { flex-grow: 2; }
.aa-progress .aa-seg[data-key="pflichten"] { flex-grow: 9; }
.aa-progress .aa-seg[data-key="unternehmen"] { flex-grow: 4; }
.aa-seg {
  height: 6px;
  border-radius: 999px;
  background: var(--line-d);
  overflow: hidden;
  position: relative;
}
.aa-seg-fill {
  display: block;
  height: 100%;
  width: 100%;
  border-radius: 999px;
  background: var(--blue-2);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.aa-seg.is-done .aa-seg-fill { transform: scaleX(1); }
.aa-progress-label {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--blue-2);
  margin: 10px 0 24px;
}

.aa-step-host { min-height: 260px; }

/* ---------- FRAGE-KARTE ---------- */
.aa-q {
  border: 1px solid var(--line-d);
  border-radius: var(--radius);
  background: var(--panel);
  padding: clamp(20px, 3.4vw, 30px);
  margin: 0;
  min-inline-size: 0;
  min-width: 0;
  animation: aa-q-in .45s var(--ease-out) both;
}
.aa-q.aa-q--leaving { animation: aa-q-out .3s var(--ease) both; }
@keyframes aa-q-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes aa-q-out { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(-8px); } }
.aa-q:focus { outline: none; }
.aa-q:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.aa-q legend { padding: 0; width: 100%; }
.aa-qtext, .aa-qnum { overflow-wrap: anywhere; }
.aa-qnum {
  display: block;
  font-family: var(--font-mono);
  font-size: .64rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue-2);
  margin-bottom: 10px;
}
.aa-qtext {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.4vw, 1.35rem);
  font-weight: 600;
  line-height: 1.35;
  color: var(--ice);
  margin-bottom: 20px;
}

.aa-opts { display: grid; gap: 10px; }
.aa-opt {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid var(--line-d);
  border-radius: 14px;
  cursor: pointer;
  color: var(--ice);
  font-size: .98rem;
  line-height: 1.4;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.aa-opt:hover { border-color: var(--blue-2); }
.aa-opt > span { min-width: 0; overflow-wrap: anywhere; }
.aa-opt input {
  appearance: none;
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  flex: none;
  margin: 0;
  border: 2px solid var(--slate);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: border-color .2s;
}
.aa-opt input::after {
  content: "";
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--blue-2);
  transform: scale(0);
  transition: transform .18s var(--ease);
}
.aa-opt input:checked { border-color: var(--blue-2); }
.aa-opt input:checked::after { transform: scale(1); }
.aa-opt input:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.aa-opt:has(input:checked) {
  border-color: var(--blue-2);
  background: color-mix(in srgb, var(--blue-2) 12%, transparent);
}

/* Mehrfachauswahl — Checkbox-Optik (eckig) statt Radio (rund) */
.aa-opt--multi input {
  border-radius: 6px;
}
.aa-opt--multi input::after {
  border-radius: 1px;
  width: 11px;
  height: 6px;
  background: none;
  border: 2px solid var(--night);
  border-top: 0;
  border-right: 0;
  transform: rotate(-45deg) scale(0);
  margin-top: -2px;
}
.aa-opt--multi input:checked { background: var(--blue-2); }
.aa-opt--multi input:checked::after { transform: rotate(-45deg) scale(1); }

/* „Weiss nicht"/Sonderoption — dezent, dashed */
.aa-opt--wn { border-style: dashed; color: var(--muted); }
.aa-opt--wn:has(input:checked) { color: var(--ice); }

/* ---------- NAVIGATION / HINWEIS ---------- */
.aa-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
}
.aa-nav .btn-primary { margin-left: auto; }
.aa-nav[hidden] { display: none; }
.aa-hint { color: var(--blue-2); font-size: .9rem; margin: 14px 0 0; min-height: 1em; }

/* ---------- KAPITELUEBERGANG ---------- */
.aa-trans {
  border: 1px solid var(--line-d);
  border-radius: var(--radius);
  background: var(--panel);
  padding: clamp(20px, 3.4vw, 30px);
  animation: aa-rise .45s var(--ease-out) both;
}
.aa-trans:focus { outline: none; }
.aa-trans:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.aa-trans-kicker {
  font-family: var(--font-mono);
  font-size: .64rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue-2);
  margin: 0 0 10px;
}
.aa-trans p { color: var(--ice); line-height: 1.5; margin: 0 0 18px; max-width: 56ch; }
.aa-trans .btn { width: 100%; justify-content: center; }
@keyframes aa-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- ERGEBNIS ---------- */
.aa-result { margin-top: 26px; }
.aa-result > * { animation: aa-rise .4s var(--ease) both; }
.aa-result > *:nth-child(2) { animation-delay: 80ms; }
.aa-result > *:nth-child(3) { animation-delay: 160ms; }
.aa-result > *:nth-child(4) { animation-delay: 240ms; }
.aa-result > *:nth-child(5) { animation-delay: 320ms; }

.aa-result-h {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.15;
  color: var(--ice);
  margin: 6px 0 6px;
  outline: none;
}
.aa-result-h:focus-visible { outline: 3px solid var(--blue); outline-offset: 6px; border-radius: 6px; }
.aa-result-sub { color: var(--muted); line-height: 1.6; margin: 0 0 22px; max-width: 62ch; }

.aa-result-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 18px;
  margin-bottom: 20px;
}
@media (max-width: 900px) {
  .aa-result-grid { grid-template-columns: 1fr; }
}

/* Achse 1 — Pflichtstand heute (Messwert) */
.aa-score-card {
  border: 1px solid var(--line-d);
  border-radius: var(--radius);
  background: var(--panel);
  padding: clamp(22px, 3.4vw, 30px);
  box-shadow: var(--shadow-card);
}
.aa-score-card h4, .aa-expo-card h4, .aa-top3 h4 {
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--blue-2);
  margin: 0 0 6px;
}
.aa-score-sub, .aa-expo-sub { color: var(--muted); font-size: .88rem; line-height: 1.5; margin: 0 0 16px; max-width: 34ch; }
.aa-score-head { display: flex; align-items: baseline; gap: 9px; margin: 0 0 4px; }
.aa-score-num {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 8vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--tier-color, var(--blue-2));
}
.aa-score-max { font-family: var(--font-mono); font-size: .8rem; color: var(--muted); }
.aa-score-tier {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--tier-color, var(--ice));
  margin: 2px 0 14px;
}
.aa-meter { height: 8px; border-radius: 999px; background: var(--line-d); overflow: hidden; margin-bottom: 16px; }
.aa-meter span {
  display: block; height: 100%; width: 100%; border-radius: 999px;
  background: var(--tier-color, var(--blue-2));
  transform: scaleX(0); transform-origin: left;
  transition: transform .7s var(--ease-out);
}
.aa-date-chip {
  display: inline-flex;
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--blue-2);
  border: 1px solid var(--line-d-strong);
  border-radius: 999px;
  padding: 5px 11px;
}

/* Tier-Modifier: faerben NUR Zahl + Meterfuellung (nie Hintergrundflaechen) */
.aa-tier-gruen { --tier-color: var(--ok); }
.aa-tier-gelb { --tier-color: var(--warn); }
.aa-tier-orange { --tier-color: color-mix(in srgb, var(--warn), var(--err) 40%); }
.aa-tier-rotorange { --tier-color: color-mix(in srgb, var(--warn), var(--err) 70%); }

/* Achse 2 — Hochrisiko-Exposition (Statusaussage, bewusst eine Elevationsstufe tiefer) */
.aa-expo-card {
  border: 1px solid var(--line-d);
  border-radius: var(--radius);
  background: var(--panel);
  padding: clamp(22px, 3.4vw, 30px);
  box-shadow: var(--shadow-light);
}
.aa-expo-level { display: flex; gap: 4px; margin-bottom: 14px; }
.aa-expo-level span {
  flex: 1 1 0;
  height: 8px;
  border-radius: 999px;
  background: var(--line-d);
}
.aa-expo-level span.is-active { background: var(--blue-2); }
.aa-expo-level span.is-active.is-max { background: var(--warn); }
.aa-expo-labels {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: .6rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--slate-text);
  margin: 0 0 14px;
}
.aa-expo-text { color: var(--ice); line-height: 1.55; margin: 0 0 14px; font-size: .96rem; }

.aa-axis-note {
  color: var(--muted);
  line-height: 1.6;
  font-size: .92rem;
  margin: 0 0 22px;
  max-width: 68ch;
}

/* Rolle */
.aa-role {
  border: 1px solid var(--line-d);
  border-radius: 14px;
  background: var(--panel-2);
  padding: 16px 20px;
  color: var(--ice);
  line-height: 1.55;
  margin-bottom: 22px;
}
.aa-role b { font-weight: 700; }

/* Konfidenz-Hinweis */
.aa-confidence {
  border: 1px solid var(--line-d-strong);
  border-left: 3px solid var(--warn);
  border-radius: 14px;
  background: var(--panel-2);
  padding: 14px 18px;
  color: var(--muted);
  line-height: 1.55;
  font-size: .92rem;
  margin-bottom: 22px;
}

/* Top-3 Befunde */
.aa-top3 { margin-bottom: 26px; }
.aa-finding-list { display: grid; gap: 14px; margin-top: 12px; }
.aa-finding {
  border: 1px solid var(--line-d-strong);
  border-radius: 14px;
  background: var(--panel-2);
  padding: 18px 20px;
}
.aa-finding-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.aa-finding-num {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--blue-2);
}
.aa-finding-prio {
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--warn);
  border: 1px solid rgba(254, 188, 46, .35);
  background: var(--warn-tint);
}
.aa-finding-text { color: var(--ice); line-height: 1.55; margin: 0 0 10px; }
.aa-finding-meta {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .04em;
  color: var(--muted);
  margin: 0;
}
.aa-finding-meta b { color: var(--blue-2); }

/* Vollbericht-Karte */
.aa-report-card {
  border: 1px solid var(--line-d-strong);
  border-radius: var(--radius);
  background: var(--panel-2);
  padding: clamp(22px, 3.4vw, 30px);
  margin-bottom: 18px;
}
.aa-report-kicker {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue-2);
  margin: 0 0 14px;
}
.aa-report-list { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 9px; }
.aa-report-list li { display: flex; align-items: flex-start; gap: 10px; color: var(--ice); line-height: 1.5; font-size: .95rem; }
.aa-report-list li::before {
  content: "✓";
  flex: none;
  color: var(--ok);
  font-weight: 700;
}
.aa-report-form { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.aa-report-form input[type="email"] {
  flex: 1 1 240px;
  min-height: 48px;
  min-width: 0;
  padding: 10px 16px;
  border: 1px solid var(--line-d-strong);
  border-radius: 12px;
  background: var(--panel);
  color: var(--ice);
  font-family: var(--font-body);
  font-size: 1rem;
}
.aa-report-form input[type="email"]:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-color: var(--blue-2); }
.aa-report-form input.is-invalid { border-color: var(--err); }
.aa-report-form .btn { flex: none; }
.aa-report-error { color: var(--err); font-size: .85rem; margin: 0 0 12px; min-height: 1.2em; }
.aa-report-optin { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: .88rem; line-height: 1.5; margin-bottom: 12px; }
.aa-report-optin input { margin-top: 3px; flex: none; }
.aa-report-privacy { color: var(--slate-text); font-size: .78rem; line-height: 1.6; margin: 0; }
.aa-report-privacy a { color: var(--blue-2); }
.aa-report-privacy a:hover { text-decoration: underline; }
/* Honeypot — bewusst unsichtbar fuer Menschen, im Layout fuer Bots erreichbar */
.aa-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.aa-report-success {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--ice);
  line-height: 1.55;
}
.aa-report-success::before { content: "✓"; color: var(--ok); font-weight: 700; font-size: 1.2rem; }
.aa-report-success small { display: block; color: var(--muted); font-size: .85rem; margin-top: 4px; }
.aa-report-netfail { color: var(--warn); font-size: .88rem; margin-top: 10px; }
.aa-report-netfail a { color: var(--blue-2); }

.aa-print-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 18px; }
.aa-print-btn { color: var(--blue-2); font-weight: 600; font-size: .92rem; }
.aa-print-btn:hover { text-decoration: underline; }
.aa-compliance-cta { color: var(--muted); font-size: .92rem; margin: 0 0 26px; }
.aa-compliance-cta a { color: var(--blue-2); font-weight: 600; }
.aa-compliance-cta a:hover { text-decoration: underline; }

/* ---------- ABBRUCHPFAD (Art.-5-Verdacht) ---------- */
.aa-handoff {
  padding: clamp(26px, 4vw, 40px);
  text-align: left;
}
.aa-handoff .ico-tile { margin-bottom: 18px; }
.aa-handoff h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 700;
  color: var(--ice);
  margin: 0 0 14px;
}
.aa-handoff p { color: var(--muted); line-height: 1.65; margin: 0 0 10px; max-width: 62ch; }
.aa-handoff .aa-handoff-note { color: var(--ice); font-weight: 600; margin-bottom: 22px; }
.aa-handoff-actions { display: flex; gap: 12px; margin-top: 6px; }
.aa-handoff-actions .btn { flex: 1 1 0; justify-content: center; }
.aa-handoff-reason {
  border-left: 3px solid var(--blue-2);
  padding-left: 14px;
  margin: 18px 0;
  color: var(--muted);
  font-style: normal;
}

/* ---------- WISSENSTEIL (§5.3-5.6) ---------- */
.aa-know { padding-top: 4px; }
.aa-know + .aa-know { margin-top: 0; }
.aa-know h2.h2 { margin-bottom: 20px; }
.aa-know h3 {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.4vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -.015em;
  color: var(--ice);
  margin: 30px 0 12px;
}
.aa-know h3:first-of-type { margin-top: 26px; }
.aa-know p { color: var(--muted); line-height: 1.7; max-width: 70ch; margin: 0 0 16px; }
.aa-know p b, .aa-know li b { color: var(--ice); font-weight: 700; }
.aa-know ul { color: var(--muted); line-height: 1.7; max-width: 68ch; margin: 0 0 16px; padding-left: 1.2em; display: grid; gap: 8px; }
.aa-know a { color: var(--blue-2); font-weight: 600; }
.aa-know a:hover { text-decoration: underline; }

.aa-role-cards { display: grid; gap: 16px; margin: 20px 0; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .aa-role-cards { grid-template-columns: 1fr; } }
.aa-role-card {
  border: 1px solid var(--line-d);
  border-radius: 14px;
  background: var(--panel);
  padding: 18px 20px;
}
.aa-role-card h4 { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--ice); margin: 0 0 8px; }
.aa-role-card p { color: var(--muted); font-size: .92rem; line-height: 1.55; margin: 0; max-width: none; }

.aa-pflicht-cards { display: grid; gap: 20px; margin: 20px 0 26px; }
.aa-pflicht-card {
  display: flex;
  gap: 16px;
  border: 1px solid var(--line-d);
  border-radius: var(--radius);
  background: var(--panel);
  padding: clamp(18px, 3vw, 26px);
}
.aa-pflicht-card .ico-tile { margin-top: 2px; }
.aa-pflicht-body h4 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; color: var(--ice); margin: 0 0 8px; }
.aa-pflicht-body p { color: var(--muted); line-height: 1.6; margin: 0 0 10px; max-width: 60ch; }
.aa-pflicht-body p:last-child { margin-bottom: 0; }
@media (max-width: 560px) { .aa-pflicht-card { flex-direction: column; } }

.aa-doclist { list-style: none; padding: 0; margin: 16px 0 20px; display: grid; gap: 10px; }
.aa-doclist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  line-height: 1.55;
}
.aa-doclist li::before { content: "—"; color: var(--blue-2); flex: none; }

/* ---------- DIENSTLEISTUNGS-BRUECKE (§5.10) ---------- */
.aa-bridge-intro { color: var(--muted); line-height: 1.65; max-width: 68ch; margin: 0 0 30px; }
.aa-bridge-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 760px) { .aa-bridge-grid { grid-template-columns: 1fr; } }
.aa-bridge-col {
  padding: clamp(24px, 3.4vw, 34px);
}
.aa-bridge-col h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: var(--ice); margin: 0 0 14px; }
.aa-bridge-col p { color: var(--muted); line-height: 1.65; margin: 0 0 20px; }
.aa-bridge-col .btn { margin-top: 4px; }

/* ---------- FAQ-ABBINDER ---------- */
.aa-faq-cta { max-width: 820px; margin: 34px auto 0; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.aa-faq-cta p { color: var(--muted); margin: 0; }

/* ---------- RECHTLICHER HINWEIS (§5.8 C) ---------- */
.aa-legal-full {
  max-width: 820px;
  margin: 0 auto;
  padding-top: 26px;
  border-top: 1px solid var(--line-d);
  color: var(--slate-text);
  font-size: .82rem;
  line-height: 1.65;
}

/* ---------- REDUZIERTE BEWEGUNG ---------- */
@media (prefers-reduced-motion: reduce) {
  .aa-opt, .aa-opt input, .aa-opt input::after,
  .aa-seg-fill, .aa-acc-icon::before, .aa-acc-icon::after,
  .aa-q, .aa-trans, .aa-result > *, .aa-meter span { transition: none; animation: none; }
}

/* ---------- MOBIL (< 640px, funktionsfaehig ab 360px) ---------- */
@media (max-width: 420px) {
  .aa-nav { flex-direction: column-reverse; align-items: stretch; }
  .aa-nav .btn { width: 100%; justify-content: center; margin-left: 0; }
  .aa-handoff-actions { flex-direction: column; }
  .aa-handoff-actions .btn { width: 100%; }
  .aa-report-form { flex-direction: column; align-items: stretch; }
  .aa-report-form .btn { width: 100%; justify-content: center; }
}
@media (max-width: 640px) {
  .aa-progress-label { font-size: .62rem; }
  .aa-score-num { font-size: clamp(2.2rem, 11vw, 2.8rem); }
}

/* ---------- DRUCK-KOPF/-FUSS (von ui.js generiert, s. printKopfHtml/printFussHtml) ---------- */
.aa-print-only { display: none; }
.aa-print-head { border-bottom: 1px solid #999; padding-bottom: 8px; margin: 0 0 16px; }
.aa-print-brand { font-family: var(--font-display); font-weight: 700; font-size: 1rem; margin: 0; }
.aa-print-kicker { font-size: .85rem; margin: 2px 0 0; }
.aa-print-foot { border-top: 1px solid #999; padding-top: 8px; margin-top: 24px; font-size: .72rem; line-height: 1.5; }
.aa-print-foot h4 { font-family: var(--font-display); font-size: .82rem; margin: 0 0 8px; }
.aa-print-foot table { width: 100%; border-collapse: collapse; margin-bottom: 10px; }
.aa-print-foot td { padding: 5px 7px; border-bottom: 1px solid #ddd; font-size: .72rem; }

/* ---------- DRUCK / PDF-EXPORT (1:1-Muster aus reifegrad.css) ---------- */
@media print {
  .site-header, .site-footer, .progress,
  .page-hero, .crumbs,
  #fristen, #aa-intro, #aa-quiz,
  .aa-know, .aa-bridge-section,
  #weitere-checks, #faq, .faq-jump, .aa-faq-cta,
  .site-cta,
  .aa-print-row,
  /* Nur das fertige Ergebnis ist das Dokument — keine Eingabefelder/Buttons im
     Ausdruck: Vollbericht-Formular, Rueckruf-Formular+Aufklapp-Button, Honeypot. */
  .aa-report-card, .aa-handoff-actions, .aa-rueckruf, .aa-hp { display: none !important; }

  .aa-print-only { display: block !important; }

  html, body { background: #fff !important; }
  main, .section-pad-sm, .section-pad, .aa-wrap, .aa-result { margin: 0 !important; padding: 0 !important; }

  .aa-result > * { animation: none !important; }
  .aa-score-card, .aa-expo-card, .aa-role, .aa-top3, .aa-finding,
  .aa-report-card, .aa-handoff, .aa-confidence {
    margin: 0 0 14px !important; border: 1px solid #999 !important; border-radius: 0 !important;
    background: #fff !important; box-shadow: none !important;
  }
  .aa-score-card *, .aa-expo-card *, .aa-role *, .aa-top3 *, .aa-finding *,
  .aa-result-h, .aa-result-sub, .aa-legal,
  .aa-print-head, .aa-print-head *, .aa-print-foot, .aa-print-foot * { color: #000 !important; }
  .aa-score-num, .aa-score-tier { color: #000 !important; }
  .aa-meter, .aa-expo-level span { background: #ccc !important; }
  .aa-meter span, .aa-expo-level span.is-active { background: #333 !important; }
  a[href] { color: #000 !important; }

  .aa-score-card, .aa-expo-card, .aa-finding, .aa-report-card { break-inside: avoid; page-break-inside: avoid; }
  @page { margin: 16mm; }
}
