/* ============================================================
   edu.rjk.de — Finanzbildung
   Pure CSS, mobile-first, no framework.
   ============================================================ */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/Inter-Regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/Inter-Medium.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/Inter-Bold.woff2') format('woff2');
}

:root {
  --bg: #FAF7F2;
  --fg: #1A1A1A;
  --muted: #6B6B6B;
  --card: #FFFFFF;
  --border: #E8E2D8;
  --accent: #A04510;            /* Text accent — WCAG AA on --bg */
  --accent-strong: #C25A1B;     /* Hero / large display only */
  --accent-hover: #7E3608;
  --focus: #2563EB;
  --shadow: 0 1px 2px rgba(0,0,0,0.04), 0 4px 16px rgba(0,0,0,0.04);
  --radius: 10px;
  --maxw: 720px;
  --maxw-wide: 1080px;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (min-width: 720px) {
  body { font-size: 18px; }
}

img, video { max-width: 100%; height: auto; display: block; }

a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
a:hover { color: var(--accent-hover); }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 4px;
}

h1, h2, h3, h4 {
  line-height: 1.2;
  margin: 0 0 var(--space-4);
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.2rem; }
p  { margin: 0 0 var(--space-4); }

@media (min-width: 720px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 1.875rem; }
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--space-4);
}
.container-wide {
  max-width: var(--maxw-wide);
}

main { padding: var(--space-6) 0 var(--space-8); }

/* ---------- Header ---------- */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: var(--space-4) 0;
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: saturate(180%) blur(8px);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}
.site-logo {
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--fg);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.site-logo:hover { color: var(--accent); }

.site-nav { display: flex; align-items: center; gap: var(--space-4); }
.site-nav a {
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--muted);
}
.site-nav a:hover { color: var(--fg); }

/* Language switch */
.lang-switch {
  display: inline-flex;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px;
  font-size: 0.875rem;
}
.lang-switch a {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--muted);
  min-width: 44px;
  text-align: center;
}
.lang-switch a[aria-current="true"] {
  background: var(--fg);
  color: var(--bg);
  font-weight: 500;
  cursor: default;
  pointer-events: none;
}

/* ---------- Hero ---------- */
.hero {
  padding: var(--space-7) 0 var(--space-6);
  text-align: left;
}
.hero h1 {
  font-size: 2rem;
  letter-spacing: -0.02em;
}
@media (min-width: 720px) {
  .hero h1 { font-size: 3rem; }
}
.hero__sub {
  font-size: 1.125rem;
  color: var(--muted);
  margin-bottom: var(--space-5);
  max-width: 560px;
}

/* Reading-width text inside wide containers */
.prose-narrow { max-width: 640px; }

/* Email obfuscation — visually styled "user [at] domain [dot] tld" */
.obf {
  font-family: inherit;
  unicode-bidi: bidi-override;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 120ms ease, color 120ms ease, border-color 120ms ease;
}
.btn--primary {
  background: var(--fg);
  color: var(--bg);
}
.btn--primary:hover { background: var(--accent-hover); color: #fff; }
.btn--ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--border);
}
.btn--ghost:hover { border-color: var(--fg); }

/* ---------- Section ---------- */
.section { padding: var(--space-6) 0; }
.section__title {
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: var(--space-4);
}

/* ---------- Course cards ---------- */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
@media (min-width: 720px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .cards--3 { grid-template-columns: repeat(3, 1fr); }
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-5);
  text-decoration: none;
  color: var(--fg);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition: transform 120ms ease, border-color 120ms ease, box-shadow 120ms ease;
  min-height: 160px;
}
.card:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: var(--shadow);
}
.card__num {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.card__title {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
}
.card__sub {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
  flex-grow: 1;
}
.card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--muted);
  padding-top: var(--space-3);
  border-top: 1px solid var(--border);
}
.card__arrow { color: var(--accent); font-weight: 500; }
.card__ai {
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  opacity: 0.75;
}

/* ---------- Module page ---------- */
.module-hero {
  padding: var(--space-5) 0 var(--space-4);
}
.module-hero__back {
  display: inline-block;
  font-size: 0.9rem;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: var(--space-3);
}
.module-hero__back:hover { color: var(--fg); }
.module-hero__num {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}

.video-wrap {
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
  margin: var(--space-5) 0;
  box-shadow: var(--shadow);
}
.video-wrap video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
}
.video-hint {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: -1rem;
  margin-bottom: var(--space-2);
}
.video-ai-hint {
  font-size: 0.75rem;
  color: var(--muted);
  opacity: 0.75;
  margin-top: 0;
  margin-bottom: var(--space-5);
  letter-spacing: 0.02em;
}

.module-desc {
  font-size: 1.0625rem;
  color: var(--fg);
  margin-bottom: var(--space-6);
}

.module-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  padding: var(--space-5) 0;
  border-top: 1px solid var(--border);
  margin-top: var(--space-6);
}
@media (min-width: 720px) {
  .module-nav { grid-template-columns: 1fr auto 1fr; }
}
.module-nav__link {
  display: flex;
  flex-direction: column;
  padding: var(--space-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--fg);
  background: var(--card);
  min-height: 64px;
  justify-content: center;
}
.module-nav__link:hover { border-color: var(--accent); }
.module-nav__link--disabled {
  opacity: 0.4;
  pointer-events: none;
}
.module-nav__link--next { text-align: right; }
.module-nav__label {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.module-nav__title {
  font-weight: 500;
  margin-top: 2px;
}
.module-nav__overview {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0 var(--space-4);
  min-height: 64px;
}
.module-nav__overview:hover { color: var(--fg); border-color: var(--fg); }

/* ---------- Footer ---------- */
.site-footer {
  margin-top: var(--space-8);
  padding: var(--space-6) 0;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--muted);
}
.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  align-items: flex-start;
}
@media (min-width: 720px) {
  .site-footer__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
.site-footer a {
  color: var(--muted);
  text-decoration: none;
  margin-right: var(--space-4);
}
.site-footer a:hover { color: var(--fg); text-decoration: underline; }

.site-counter {
  margin-top: var(--space-4);
  padding-top: var(--space-3);
  border-top: 1px dashed var(--border);
  font-size: 0.7rem;
  color: var(--muted);
  opacity: 0.7;
  text-align: center;
  letter-spacing: 0.04em;
}

/* ---------- About / Prose ---------- */
.prose h1, .prose h2, .prose h3 { margin-top: var(--space-6); }
.prose p, .prose li { max-width: 65ch; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li { margin-bottom: var(--space-2); }

/* ---------- 404 ---------- */
.error-page {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.error-page__code {
  font-size: 5rem;
  font-weight: 700;
  color: var(--accent-strong);
  line-height: 1;
  margin: 0;
}

/* ---------- Accessibility ---------- */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Dark mode (optional, low-effort) ---------- */
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14110D;
    --fg: #F2EFE8;
    --muted: #9B958B;
    --card: #1E1A14;
    --border: #2C2620;
    --accent: #E07A3D;
    --accent-strong: #E07A3D;
    --accent-hover: #FF914D;
  }
  .btn--primary { background: var(--accent); color: #14110D; }
  .btn--primary:hover { background: var(--accent-hover); color: #14110D; }
}

/* ============================================================
   Calculator (Rechner) — Zinseszins + Entnahme
   Visual style: orange segmented tabs, green result tiles.
   ============================================================ */
.site-nav__link {
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--muted);
  padding: 6px 10px;
  border-radius: 8px;
}
.site-nav__link:hover { color: var(--fg); background: var(--card); }
.site-nav__link[aria-current="page"] {
  color: var(--fg);
  background: var(--card);
  font-weight: 500;
}

.calc {
  display: grid;
  gap: var(--space-5);
  max-width: 760px;
  margin: 0 auto;
}

.calc__tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 4px;
  gap: 4px;
}
.calc__tabs--sub {
  margin-bottom: var(--space-4);
}
.calc__tab {
  appearance: none;
  background: transparent;
  border: 0;
  padding: 12px 16px;
  font: inherit;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--muted);
  border-radius: 8px;
  cursor: pointer;
  min-height: 44px;
  transition: background-color 120ms ease, color 120ms ease;
}
.calc__tab:hover { color: var(--fg); }
.calc__tab--active {
  background: #E0571A;
  color: #fff;
  position: relative;
}
.calc__tab--active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid #E0571A;
}
.calc__tabs--sub .calc__tab--active::after { display: none; }

.calc__panel {
  display: grid;
  gap: var(--space-5);
}
.calc__panel[hidden] { display: none; }
.calc [hidden] { display: none !important; }

.calc__inputs {
  display: grid;
  gap: var(--space-3);
}
.calc__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2);
  align-items: center;
}
@media (min-width: 520px) {
  .calc__row {
    grid-template-columns: 1fr minmax(180px, 240px);
    gap: var(--space-4);
  }
}
.calc__label {
  font-size: 0.95rem;
  color: var(--fg);
}
.calc__field {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0 12px 0 0;
  min-height: 44px;
}
.calc__field input[type="number"] {
  flex: 1 1 auto;
  appearance: none;
  -moz-appearance: textfield;
  background: transparent;
  border: 0;
  padding: 10px 8px 10px 44px;
  font: inherit;
  font-variant-numeric: tabular-nums;
  text-align: right;
  color: var(--fg);
  width: 100%;
}
.calc__field input[type="number"]::-webkit-outer-spin-button,
.calc__field input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc__field input[type="number"]:focus-visible { outline: none; }
.calc__field:focus-within { border-color: var(--focus); }
.calc__suffix {
  color: var(--muted);
  font-size: 0.95rem;
  margin-left: 6px;
}
.calc__clear {
  position: absolute;
  left: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: 1px solid var(--border);
  background: var(--bg);
  border-radius: 6px;
  font: inherit;
  font-size: 1rem;
  color: var(--muted);
  cursor: pointer;
}
.calc__clear:hover { color: var(--fg); border-color: var(--fg); }
.calc__field--stepper {
  padding-left: 0;
  padding-right: 0;
}
.calc__field--stepper input[type="number"] {
  padding-left: 56px;
  padding-right: 56px;
  text-align: center;
}
.calc__step {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 36px;
  border: 1px solid var(--border);
  background: var(--bg);
  border-radius: 6px;
  font: inherit;
  font-size: 1.2rem;
  color: var(--fg);
  cursor: pointer;
}
.calc__step[data-dir="-1"] { left: 6px; }
.calc__step[data-dir="1"] { right: 6px; }
.calc__step:hover { border-color: var(--fg); }

.calc__select {
  flex: 1 1 auto;
  appearance: none;
  background: transparent;
  border: 0;
  padding: 10px 12px;
  font: inherit;
  color: var(--fg);
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%),
                    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 16px) calc(50% + 2px),
                       calc(100% - 11px) calc(50% + 2px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 28px;
  width: 100%;
}

.calc__field--slider {
  background: transparent;
  border: 0;
  padding: 0;
  gap: var(--space-3);
}
.calc__field--slider input[type="range"] {
  flex: 1 1 auto;
  accent-color: #E0571A;
}
.calc__output {
  font-variant-numeric: tabular-nums;
  font-size: 0.95rem;
  color: var(--fg);
  min-width: 64px;
  text-align: right;
}

.calc__toggle {
  display: inline-flex;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px;
  gap: 3px;
  margin-top: var(--space-2);
}
.calc__chip {
  appearance: none;
  background: transparent;
  border: 0;
  padding: 8px 14px;
  border-radius: 999px;
  font: inherit;
  font-size: 0.85rem;
  color: var(--muted);
  cursor: pointer;
  min-height: 36px;
}
.calc__chip--active {
  background: var(--fg);
  color: var(--bg);
  font-weight: 500;
}

.calc__disclaimer {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.4;
}

.calc__results {
  display: grid;
  gap: 2px;
  background: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.calc__tile {
  background: #2ecc71;
  color: #fff;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
}
.calc__tile-label {
  font-size: 0.85rem;
  opacity: 0.9;
  font-weight: 400;
}
.calc__tile-value {
  font-size: 1.5rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  text-align: right;
  letter-spacing: -0.01em;
}
.calc__tile--big .calc__tile-value {
  font-size: 2.25rem;
}
.calc__tile-help {
  font-size: 0.8rem;
  opacity: 0.85;
  line-height: 1.4;
  margin-top: 4px;
  font-weight: 400;
}
.calc__rule72 {
  background: #2ecc71;
  color: #fff;
  padding: 14px 20px;
  font-size: 0.95rem;
  opacity: 0.95;
}
.calc__rule72 strong { font-weight: 700; }

.calc__chart {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-4);
}
.calc__chart svg {
  display: block;
  width: 100%;
  height: 200px;
  max-height: 240px;
}
.calc__chart-legend {
  display: flex;
  gap: var(--space-4);
  margin-top: var(--space-2);
  font-size: 0.85rem;
  color: var(--muted);
  flex-wrap: wrap;
}
.calc__swatch {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 2px;
  margin-right: 6px;
  vertical-align: -1px;
}
.calc__swatch--contrib { background: #1f8a4e; }
.calc__swatch--interest { background: #2ecc71; }

.calc__small {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.4;
}

@media (prefers-color-scheme: dark) {
  .calc__tile, .calc__rule72 { background: #1f8a4e; }
  .calc__swatch--contrib { background: #14633a; }
  .calc__swatch--interest { background: #1f8a4e; }
}

/* ============================================================
   Feedback: form + others-list
   ============================================================ */
.fb {
  display: grid;
  gap: var(--space-4, 16px);
  max-width: 640px;
  margin: 0 auto;
}
.fb__intro {
  margin: 0 0 var(--space-3, 12px) 0;
  color: var(--muted);
  line-height: 1.5;
}
.fb__form { display: grid; gap: var(--space-4, 16px); }
.fb__row { display: grid; gap: 6px; }
.fb__label { font-size: 0.95rem; font-weight: 500; }
.fb__hint { font-size: 0.8rem; color: var(--muted); }
.fb__char { font-size: 0.8rem; color: var(--muted); text-align: right; }
.fb__char--over { color: #c0392b; font-weight: 600; }
.fb__input, .fb__textarea {
  font: inherit;
  padding: 10px 12px;
  border: 1px solid var(--border, #d0d0d0);
  border-radius: 8px;
  background: var(--card, #fff);
  color: inherit;
  width: 100%;
  box-sizing: border-box;
}
.fb__textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.fb__input:focus, .fb__textarea:focus {
  outline: 2px solid #ff5f1f;
  outline-offset: 1px;
  border-color: transparent;
}
.fb__honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fb__visibility {
  border: 0;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.fb__legend-visually-hidden { position: absolute; left: -9999px; }
.fb__chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--border, #d0d0d0);
  border-radius: 999px;
  background: var(--card, #fff);
  cursor: pointer;
  font-size: 0.95rem;
}
.fb__chip input[type="radio"] { accent-color: #ff5f1f; }
.fb__chip:has(input:checked) {
  background: #ff5f1f;
  color: #fff;
  border-color: #ff5f1f;
}
.fb__notice {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.45;
}
.fb__actions { display: flex; justify-content: flex-end; }
.fb__submit {
  font: inherit;
  font-weight: 600;
  padding: 12px 20px;
  background: #ff5f1f;
  color: #fff;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}
.fb__submit:disabled { opacity: 0.6; cursor: progress; }
.fb__submit:hover:not(:disabled) { filter: brightness(0.95); }
.fb__error {
  margin: 0;
  padding: 10px 12px;
  background: #fde2e2;
  color: #8a1f1f;
  border-radius: 8px;
  font-size: 0.9rem;
}
.fb__thanks {
  text-align: center;
  padding: var(--space-5, 24px) 0;
}
.fb__thanks h2 { margin: 0 0 12px 0; }
.fb__thanks p { color: var(--muted); margin: 0 0 20px 0; line-height: 1.5; }
.fb__again {
  font: inherit;
  padding: 10px 16px;
  background: transparent;
  border: 1px solid var(--border, #d0d0d0);
  border-radius: 8px;
  cursor: pointer;
}
.fb__again:hover { background: var(--card, #fff); }

@media (prefers-color-scheme: dark) {
  .fb__input, .fb__textarea, .fb__chip { background: #1a1a1a; border-color: #333; }
  .fb__error { background: #5a1f1f; color: #fde2e2; }
}

/* ---- others list ---- */
.fb-others { display: grid; gap: var(--space-4, 16px); max-width: 720px; margin: 0 auto; }
.fb-others__list { display: grid; gap: var(--space-3, 12px); }
.fb-others__loading, .fb-others__empty, .fb-others__error {
  text-align: center;
  color: var(--muted);
  padding: var(--space-4, 16px);
}
.fb-others__error { color: #c0392b; }
.fb-others__card {
  background: var(--card, #fff);
  border: 1px solid var(--border, #e3e3e3);
  border-radius: 10px;
  padding: 16px 18px;
  display: grid;
  gap: 8px;
}
.fb-others__head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  align-items: baseline;
}
.fb-others__name { font-weight: 600; }
.fb-others__date { color: var(--muted); font-size: 0.85rem; }
.fb-others__body p { margin: 0; line-height: 1.5; }
.fb-others__origlabel { font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.fb-others__body--original { display: none; }
.fb-others__card--original .fb-others__body--translated { display: none; }
.fb-others__card--original .fb-others__body--original { display: block; }
.fb-others__toggle {
  justify-self: start;
  font: inherit;
  font-size: 0.8rem;
  padding: 4px 10px;
  background: transparent;
  border: 1px solid var(--border, #d0d0d0);
  border-radius: 6px;
  color: var(--muted);
  cursor: pointer;
}
.fb-others__toggle:hover { color: inherit; background: var(--card, #fff); }
.fb-others__cta { text-align: center; margin-top: var(--space-3, 12px); }

@media (prefers-color-scheme: dark) {
  .fb-others__card { background: #1a1a1a; border-color: #333; }
}

/* --- Quellen & Links unter dem Modul-Video --- */
.module-sources {
  margin-bottom: var(--space-6);
  padding: var(--space-5);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.module-sources__title { font-size: 1.25rem; margin-bottom: var(--space-2); }
.module-sources__intro { font-size: 0.95rem; opacity: 0.75; margin-bottom: var(--space-4); }
.module-sources__list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-2); }
.module-sources__item { font-size: 0.95rem; line-height: 1.5; }
.module-sources__item--charts { font-weight: 600; }
.module-sources__badge {
  display: inline-block; min-width: 4.5em; text-align: center;
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em;
  border: 1px solid var(--border); border-radius: 4px;
  padding: 0.1em 0.5em; margin-right: 0.5em; opacity: 0.75;
}
.module-sources__archive { font-size: 0.85em; opacity: 0.75; }
