/* Leitfäden unter /ressourcen/leitfaeden. Nutzt die Variablen aus theme-warm.css. */

.lf-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.lf-chip { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 8px; background: var(--lime); color: var(--lime-ink); font-size: var(--fs-2xs); font-weight: 600; white-space: nowrap; }
.lf-chip--dark { background: var(--balu-ink); color: var(--lime); }
.lf-meta { font-size: var(--fs-2xs); color: var(--fg-muted); font-variant-numeric: tabular-nums; }

/* Filter */
.lf-filter { display: inline-flex; flex-wrap: wrap; margin: 0 0 28px; }
.lf-filter button { padding: 8px 16px; font-size: var(--fs-sm); font-weight: 500; color: var(--fg-muted); background: none; border: 0; cursor: pointer; }
.lf-filter button[aria-pressed="true"] { background: #fff; color: var(--balu-ink); box-shadow: 0 1px 2px rgba(28, 25, 23, .08); }

/* Kacheln */
.lf-card { overflow: hidden; }
.lf-card__cover { display: flex; align-items: center; justify-content: center; height: 260px; background: var(--blur-backdrop); overflow: hidden; }
.lf-card__cover img { height: 86%; width: auto; border-radius: 6px; box-shadow: 0 24px 50px -18px rgba(12, 10, 9, .55); transform: rotate(-2deg); transition: transform var(--t-base, .25s) var(--ease-out, ease); }
.lf-card:hover .lf-card__cover img { transform: rotate(0) scale(1.03); }
.lf-card__body { display: flex; flex-direction: column; gap: 12px; padding: 24px 26px 26px; flex: 1; }
.lf-card__body p { font-size: var(--fs-sm); }
.lf-card__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; }

/* Detailseite: Kopf mit Formular */
.lf-hero__grid { align-items: start; }
.lf-hero .hero__copy { gap: 18px; }
.lf-gains__title { margin-top: 12px; font-size: var(--fs-2xs); letter-spacing: .12em; text-transform: uppercase; color: var(--fg-muted); font-weight: 600; }
.lf-gains { display: grid; gap: 14px; list-style: none; padding: 0; margin: 0; }
.lf-gains li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; font-size: var(--fs-sm); color: var(--fg-muted); }
.lf-gains strong { display: block; color: var(--fg-strong); font-weight: 600; margin-bottom: 2px; }
.lf-gains__ic { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: var(--lime-ink); }
.lf-formcard { gap: 20px; }
.lf-formcard__head { display: grid; grid-template-columns: 72px 1fr; gap: 16px; align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--line-soft); }
.lf-formcard__head img { width: 72px; height: auto; border-radius: 4px; box-shadow: 0 10px 24px -10px rgba(12, 10, 9, .4); }
.lf-formcard__head p:last-child { font-size: var(--fs-sm); color: var(--fg-muted); }
.lf-form { gap: 14px; }
.lf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lf-legal { font-size: var(--fs-2xs); color: var(--fg-muted); }
.lf-legal a { text-decoration: underline; }
.lf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.lf-checkcard { gap: 16px; }

@media (max-width: 720px) {
  .lf-row { grid-template-columns: 1fr; }
  .lf-card__cover { height: 230px; }
}

/* ── Übersicht im Stil einer Download-Bibliothek ── */
.lf-filterbar { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px; padding: 20px 24px; margin-bottom: 48px; border-radius: var(--r-xl); background: var(--surface-3, #f5f5f4); }
.lf-select { display: grid; gap: 6px; min-width: 240px; font-size: var(--fs-2xs); font-weight: 600; color: var(--fg-muted); }
.lf-reset { margin-left: auto; background: none; border: 0; cursor: pointer; }
.lf-topic { margin-bottom: 56px; }
.lf-topic__title { display: flex; gap: 8px; align-items: baseline; margin-bottom: 20px; font-size: var(--fs-h3, 1.5rem); font-weight: 600; letter-spacing: -.02em; color: var(--fg-strong); }
.lf-topic__title span { color: var(--fg-muted); font-weight: 500; font-size: .8em; }
.lf-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.lf-card__format { font-size: var(--fs-2xs); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-muted); }
.lf-card__title { font-size: 1.05rem; line-height: 1.3; font-weight: 600; letter-spacing: -.01em; color: var(--fg-strong); }
.lf-card .lf-card__cover { height: 210px; }
.lf-card__body { gap: 10px; padding: 20px 22px 22px; }
.lf-card__foot .btnw { pointer-events: none; }
.lf-more { display: flex; justify-content: center; margin-top: 24px; }
.lf-news { display: flex; flex-direction: column; gap: 12px; padding: 26px; border-radius: var(--widget-r, 28px); background: #0b2a2f; color: #c9d6d3; }
.lf-news .lf-card__format { color: var(--lime); }
.lf-news__title { font-size: 1.3rem; line-height: 1.2; font-weight: 600; color: #fff; letter-spacing: -.015em; }
.lf-news p { font-size: var(--fs-sm); color: #c9d6d3; }
.lf-news__form { display: grid; gap: 10px; margin-top: auto; }
.lf-news__form .input { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: #fff; }
.lf-news__form .input::placeholder { color: rgba(255,255,255,.5); }
.lf-news__ok { margin-top: auto; color: var(--lime) !important; }
.lf-news__err { color: #f6c37a !important; font-size: var(--fs-2xs) !important; }
.lf-empty { padding: 40px 0; color: var(--fg-muted); text-align: center; }
@media (max-width: 1100px) { .lf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .lf-grid { grid-template-columns: 1fr; } .lf-select { min-width: 100%; } .lf-filterbar { padding: 16px; } }

/* Vorschau neu: Farben aus der Balu-Welt, Cover groß wie ein aufgelegtes Blatt */
.lf-card__cover { height: 290px !important; align-items: flex-start !important; padding: 26px 0 0; position: relative; isolation: isolate;
  background: radial-gradient(120% 90% at 85% 0%, #f4fbe6 0%, rgba(244, 251, 230, 0) 55%), linear-gradient(160deg, #e6f6cf 0%, #C2EF6E 100%) !important; }
.lf-card[data-format="vorlage"] .lf-card__cover { background: radial-gradient(120% 90% at 85% 0%, #f1f8f6 0%, rgba(241, 248, 246, 0) 55%), linear-gradient(160deg, #dcece8 0%, #8fbcb2 100%) !important; }
.lf-card[data-format="checkliste"] .lf-card__cover { background: radial-gradient(120% 90% at 85% 0%, rgba(194, 239, 110, .28) 0%, rgba(194, 239, 110, 0) 55%), linear-gradient(160deg, #1d4a4d 0%, #0b2a2f 100%) !important; }
.lf-card__cover::after { content: ""; position: absolute; inset: auto 0 0 0; height: 36px; background: linear-gradient(0deg, rgba(11, 42, 47, .10), rgba(11, 42, 47, 0)); z-index: 1; pointer-events: none; }
.lf-card__cover img { width: 86% !important; height: auto !important; border-radius: 10px 10px 0 0 !important; transform: translateY(0) rotate(0) !important;
  box-shadow: 0 -2px 0 rgba(255, 255, 255, .6) inset, 0 22px 50px -20px rgba(11, 42, 47, .55), 0 0 0 1px rgba(11, 42, 47, .06) !important;
  transition: transform .35s cubic-bezier(.2, .8, .3, 1) !important; }
.lf-card:hover .lf-card__cover img { transform: translateY(-8px) !important; }
@media (max-width: 760px) { .lf-card__cover { height: 250px !important; } .lf-card__cover img { width: 70% !important; } }

/* Foto-Cover: ganzes Plakat randlos zeigen */
.lf-card__cover { height: auto !important; aspect-ratio: 794 / 1123; padding: 0 !important; background: #0b2a2f !important; }
.lf-card__cover::after { content: none !important; }
.lf-card__cover img { width: 100% !important; height: 100% !important; object-fit: cover; border-radius: 0 !important; box-shadow: none !important; transform: none !important; transition: transform .5s cubic-bezier(.2, .8, .3, 1) !important; }
.lf-card:hover .lf-card__cover img { transform: scale(1.035) !important; }
@media (max-width: 760px) { .lf-card__cover { height: auto !important; } .lf-card__cover img { width: 100% !important; } }
