/* ama/ama.css — „AMA im Loop": Hub-Seite (/ama/) und gemeinsame Bausteine.
   Layout im Stil des Helfer-Hubs (helfer/helfer-hub.css), Farben ausschließlich
   über die globalen Tokens aus styles.css im .cream-theme-Kontext
   (--bg, --bg-soft, --ink, --ink-soft, --muted, --line, --accent, --accent-deep).
   Keine eigenen Farbwerte. */

.ama-hub {
  max-width: 1120px;
  margin: 0 auto;
  padding: 40px var(--pad-x, clamp(20px, 5vw, 80px)) 96px;
}

/* --- Kopf --- */
.ama-hub__header {
  max-width: 720px;
  margin-bottom: 48px;
}
.ama-hub__kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 14px;
}
.ama-hub__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 50px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 18px;
}
.ama-hub__title em {
  font-style: italic;
  color: var(--accent-deep);
}
.ama-hub__lede {
  font-family: var(--font-body);
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 0 16px;
}
/* Einordnung: Erfahrungswissen, keine Beratung — bewusst als ruhige Box,
   nicht als Warnung. */
.ama-hub__hinweis {
  font-family: var(--font-body);
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
  padding: 12px 16px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}

/* --- Sektionen --- */
.ama-sec { margin-bottom: 48px; }
.ama-sec__label {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 18px;
}

/* --- Karte der laufenden Runde --- */
.ama-round {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 2px 12px rgba(31, 58, 50, 0.06);
  transition: box-shadow 200ms ease, transform 200ms ease;
}
@media (min-width: 720px) {
  .ama-round { grid-template-columns: minmax(0, 320px) minmax(0, 1fr); }
}
/* Bild sitzt nicht randlos — die Kartenfläche bleibt als Rahmen sichtbar
   (Konvention der Helfer-Karten). */
.ama-round__media {
  margin: 10px;
  border-radius: calc(var(--r-lg) - 10px);
  overflow: hidden;
  aspect-ratio: 1 / 1;
}
.ama-round__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ama-round__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 24px 24px;
}
.ama-round__badge {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--bg-soft);
}
.ama-round__name {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 4px 0 0;
}
.ama-round__fach {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin: 0;
}
.ama-round__text {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
}
.ama-round__cta {
  margin-top: auto;
  padding-top: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-deep);
}
.ama-round:hover {
  box-shadow: 0 6px 20px rgba(31, 58, 50, 0.10);
  transform: translateY(-1px);
}
.ama-round:focus-visible {
  outline: 2px solid var(--accent-deep);
  outline-offset: 3px;
}
/* Nach dem Stichtag (setzt das Inline-Script der Seite): Badge wird still. */
.ama-round.is-closed .ama-round__badge {
  background: var(--line);
  color: var(--ink);
}

/* --- Archiv, solange leer --- */
.ama-archiv__leer {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
  padding: 20px 22px;
  background: var(--bg-soft);
  border: 1px dashed var(--line);
  border-radius: var(--r-md);
}

@media (prefers-reduced-motion: reduce) {
  .ama-round { transition: none; }
  .ama-round:hover { transform: none; }
}
