/* ============================================================
   The HorseLoop — AKU- & Röntgen-Erklärer (Pferdekauf-Hub M2)
   Content-Erklärseite mit nativen <details>-Abschnitten (kein JS).
   Erbt cream-theme-Tokens aus styles.css via
   <body class="cream-page cream-theme">. Klassen mit .aku-*
   präfixiert (kollisionssicher).
   ============================================================ */

/* Nav-Override: .helfer-nav ist navy, --ink im cream-theme aber dunkel
   → helle Schrift (lokal gescopt, wie bei der Kauf-Checkliste). */
.helfer-nav__brand { color: #f5ebd7; }
.helfer-nav__brand em { color: #3fbf8e; }
.helfer-nav__link { color: rgba(245, 235, 215, 0.68); }
.helfer-nav__link:hover,
.helfer-nav__link--active { color: #fff; }

.aku {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px clamp(18px, 5vw, 40px) 56px;
  font-family: var(--font-body);
  color: var(--ink);
}

/* ---------- Kopf ---------- */
.aku-header { margin-bottom: 22px; }
.aku-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 12px;
}
.aku-header h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 5vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 12px;
  color: var(--ink);
}
.aku-lede {
  font-size: clamp(15px, 2vw, 17px);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 60ch;
  margin: 0;
}

/* ---------- Stand-Hinweis-Box ---------- */
.aku-stand {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 22px 0 8px;
  padding: 16px 18px;
  background: #e4f1ea;
  border: 1px solid var(--accent);
  border-radius: 14px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink);
}
.aku-stand svg { flex-shrink: 0; width: 20px; height: 20px; margin-top: 1px; color: var(--accent-deep); }
.aku-stand strong { color: var(--accent-deep); }

/* ---------- Abschnitte (native <details>) ---------- */
.aku-sec {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 16px;
  margin-top: 14px;
  box-shadow: 0 1px 2px rgba(31, 26, 20, 0.03), 0 14px 34px -24px rgba(31, 58, 50, 0.16);
}
.aku-sec > summary {
  list-style: none;
  cursor: pointer;
  padding: 18px clamp(16px, 4vw, 24px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 19px;
  line-height: 1.25;
  color: var(--ink);
  border-radius: 16px;
}
.aku-sec > summary::-webkit-details-marker { display: none; }
.aku-sec > summary:hover { color: var(--accent-deep); }
.aku-sec > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.aku-sec__chev {
  flex-shrink: 0;
  width: 11px;
  height: 11px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  margin-top: -4px;
}
.aku-sec[open] > summary .aku-sec__chev { transform: rotate(-135deg); margin-top: 3px; }
.aku-sec__body {
  padding: 2px clamp(16px, 4vw, 24px) 22px;
}
.aku-sec__body > :first-child { margin-top: 0; }

/* ---------- Inhalts-Typo ---------- */
.aku-sec__body h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  color: var(--accent-deep);
  margin: 22px 0 10px;
  letter-spacing: -0.005em;
}
.aku-sec__body p { font-size: 15px; line-height: 1.62; margin: 0 0 12px; color: var(--ink-soft); }
.aku-sec__body p strong { color: var(--ink); }

/* Definitions-/Befund-Liste */
.aku-deflist { margin: 0; padding: 0; list-style: none; }
.aku-deflist > li {
  padding: 11px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.55;
}
.aku-deflist > li:first-child { border-top: none; padding-top: 4px; }
.aku-deflist b {
  display: block;
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 2px;
}
.aku-deflist span { color: var(--ink-soft); }

/* einfache Punkte-Liste */
.aku-ul { margin: 0 0 12px; padding-left: 1.1em; }
.aku-ul li { font-size: 15px; line-height: 1.6; margin: 5px 0; color: var(--ink-soft); }
.aku-ul li::marker { color: var(--accent); }

/* Inline-Hinweis (⚠️ / Einordnung) */
.aku-note {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  margin: 14px 0;
  padding: 12px 14px;
  background: var(--bg-warm);
  border-left: 3px solid var(--accent);
  border-radius: 0 10px 10px 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.aku-note strong { color: var(--ink); }

/* ---------- Historischer Klassen-Block ---------- */
.aku-hist {
  background: var(--bg-warm);
  border: 1px dashed var(--muted-2);
  border-radius: 12px;
  padding: 14px 16px;
  margin-top: 6px;
}
.aku-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--muted);
  border-radius: 999px;
  padding: 3px 10px;
  margin-bottom: 10px;
}
.aku-klasse {
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
  line-height: 1.55;
}
.aku-klasse:first-of-type { border-top: none; }
.aku-klasse b { color: var(--ink); }
.aku-klasse span { color: var(--ink-soft); }

/* ---------- Quellen ---------- */
.aku-quellen { margin: 0; padding: 0; list-style: none; }
.aku-quellen > li {
  padding: 9px 0;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted);
}
.aku-quellen > li:first-child { border-top: none; }
.aku-quellen a { color: var(--accent-deep); text-decoration: none; word-break: break-word; }
.aku-quellen a:hover { text-decoration: underline; }
.aku-quellen .aku-q-aktuell { color: var(--accent-deep); font-weight: 600; }

/* ---------- Footer ---------- */
.aku-footer {
  max-width: 760px;
  margin: 18px auto 0;
  padding: 0 clamp(18px, 5vw, 40px) 72px;
}
.aku-disclaimer {
  background: var(--bg-warm);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 12px;
  padding: 16px 18px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 16px;
}
.aku-disclaimer strong { color: var(--ink); }
.aku-crosslink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  color: #fff;
  background: var(--accent);
  border-radius: 999px;
  padding: 11px 20px;
  text-decoration: none;
  transition: background 0.15s;
}
.aku-crosslink:hover { background: var(--accent-deep); }
.aku-crosslink svg { width: 17px; height: 17px; }
/* Obere Variante: derselbe Button direkt nach der Stand-Box, damit
   Leser:innen schnell zur Checkliste kommen, ohne zu scrollen. */
.aku-crosslink--top { margin: 4px 0 6px; }
