/* fuer-wen.css — Anlässe als wiedererkennbare Situationen statt als Liste.
   Seitenspezifische Klassen, keine Überschneidung mit components.css. */

/* ─── ABSCHNITTSKOPF ───────────────────────────────────────────────────────── */
.occasions-head { margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.occasions-head .label { display: block; margin-bottom: 0.9rem; }

.occasions-head h2 {
  font-size: clamp(1.9rem, 4.4vw, 3.4rem);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.01em;
  max-width: 20ch;
}

.occasions-head h2 em { color: var(--accent); font-style: italic; }

.occasions-lead {
  margin-top: 1.5rem;
  font-size: clamp(0.9rem, 1.4vw, 1rem);
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 56ch;
}

/* ─── SITUATIONSKARTEN ─────────────────────────────────────────────────────── */
.occasions {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
}

@media (min-width: 640px)  { .occasions { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .occasions { grid-template-columns: repeat(3, 1fr); } }

.occasion {
  background: var(--bg);
  box-shadow: 0 0 0 1px var(--border);
  padding: clamp(1.6rem, 3vw, 2.1rem);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  position: relative;
  transition: background 0.35s var(--ease-out);
}

/* Dünner Akzentstrich, der beim Überfahren von links einläuft */
.occasion::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s var(--ease-out);
}

.occasion:hover { background: var(--bg-surface); }
.occasion:hover::after { transform: scaleY(1); }

.occasion-icon {
  display: block;
  width: 2.5rem;
  height: 2.5rem;
  color: var(--accent);
}

.occasion-icon svg { display: block; width: 100%; height: 100%; }

.occasion-title {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  font-weight: 300;
  line-height: 1.25;
  color: var(--text-primary);
}

.occasion-text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

@media (prefers-reduced-motion: reduce) {
  .occasion::after { transition: none; }
}

/* ─── ABSCHLUSS DES ABSCHNITTS ─────────────────────────────────────────────── */
.occasions-outro {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding: clamp(1.4rem, 3vw, 1.9rem);
  border: 1px solid var(--accent-border);
  max-width: 78ch;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  align-items: baseline;
}

/* ─── STICHWORTLISTEN STATT AUFZÄHLUNGSPUNKTEN ─────────────────────────────── */
/* Organisationen und Ansprechpartner sind Aufzählungen gleichrangiger Begriffe.
   Als Marken nebeneinander lesen sie sich schneller als untereinander. */
.prose ul.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.prose ul.tag-list li {
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--border);
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.prose ul.tag-list li::before { content: none; }
