/* av-lebensfragen.css — Übersicht /wissen („1.000 Lebensfragen“) nach Martins Entwurf
   (Karte 1857, 12.11.2026; design/mockups/2026-11-12_Lebensfragen-Hauptseite.jpg).
   Eingebunden per <link> aus build_pages.py::lf_assets(). Farben: Marke #1A2A6C (Blau), #E8731A (Orange). */

/* Kopf: Leittext mit orangem Strich links */
.av-lf-lead p { border-left: 4px solid #E8731A; padding-left: 16px; }

/* Karte 1858 (Martin 12.11.2026 16:27): Kopf als Band wie die Horoskop-Seiten (.av-hero-band in custom.less: Foto randlos
   rechts mit weichem Auslauf zum Text, gestapelt Foto zuerst). Foto über die volle Höhe des Kopfs; Leittext kleiner
   („etwas kleiner“ am Schreibtisch, „um einiges kleiner“ am Handy). */
.av-hero-lf .av-hero-text { padding-top: 2.6rem; padding-bottom: 2.6rem; }
.av-hero-lf .av-lf-lead.uk-text-lead, .av-hero-lf .av-lf-lead p { font-size: 1.2rem; line-height: 1.55; }
@media (min-width: 960px) {
  .av-hero-lf .av-hero-photo { padding-top: 0; padding-bottom: 0; min-height: 420px; }
}
@media (max-width: 959px) {
  .av-hero-lf .av-hero-photo { min-height: 0; aspect-ratio: 800 / 640; }
  .av-hero-lf .av-hero-text { padding-top: 1.4rem; padding-bottom: .6rem; }
  .av-hero-lf .av-lf-lead.uk-text-lead, .av-hero-lf .av-lf-lead p { font-size: 1.1rem; line-height: 1.5; }
}

/* Karte 1858: Abstand Merkmale → Einleitung auf rund ein Drittel (vorher 80 px) */
.av-lf-merkmale-sek.uk-section { padding-bottom: 0; }
.av-lf-einleitung-sek.uk-section { padding-top: 26px; }

/* Vier Merkmale unter dem Kopf */
.av-lf-merkmal {
  display: flex; align-items: center; gap: 14px; height: 100%; box-sizing: border-box;
  padding: 14px 16px; background: #fff; border-radius: 12px;
  box-shadow: 0 4px 18px rgba(26, 42, 108, .08);
  color: #1A2A6C; font-weight: 700; line-height: 1.25;
}
.av-lf-merkmal-icon {
  flex: none; width: 52px; height: 52px; border-radius: 50%; background: rgba(232, 115, 26, .12);
  display: flex; align-items: center; justify-content: center;
}
.av-lf-merkmal-icon img { width: 30px; height: 30px; }
.av-lf-merkmale > div { display: flex; }
.av-lf-merkmale > div > .av-lf-merkmal { flex: 1; }

/* Einleitung: Fragen in Markenblau */
.av-lf-einleitung strong { color: #1A2A6C; }

/* Bereichskarten: Foto oben, darunter Icon, Titel, Anzahl, Pfeil */
.av-lf-karte {
  display: flex; flex-direction: column; overflow: hidden; border-radius: 12px; padding: 0;
  transition: box-shadow .2s, transform .2s;
}
.av-lf-karte:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(26, 42, 108, .16); }
.av-lf-kkopf { display: flex; flex-direction: column; text-decoration: none !important; color: inherit; }
.av-lf-kbild { display: block; width: 100%; height: 90px; object-fit: cover; }
.av-lf-kfuss { display: flex; align-items: center; gap: 12px; padding: 12px 14px 14px; flex: 1; }
.av-lf-kicon { flex: none; width: 28px; height: 28px; }
.av-lf-ktext { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.av-lf-ktitel { color: #1A2A6C; font-weight: 700; font-size: 1.05rem; line-height: 1.25; hyphens: manual; }
.av-lf-kanzahl { font-size: .85rem; color: #6b6f7a; margin-top: 4px; }
.av-lf-kpfeil { flex: none; color: #E8731A; align-self: flex-end; }
.av-lf-kkopf:hover .av-lf-ktitel { color: #E8731A; }
.av-lf-kfuss { flex: none; }

/* Karte 1858 (Martin): unter dem Titel wieder die ersten drei Fragen, je als Link (eingerückt auf die Titelkante) */
.av-lf-kfragen { list-style: none; margin: -4px 0 0; padding: 0 14px 16px 54px; flex: 1; }
.av-lf-kfragen li { position: relative; margin-top: 6px; font-size: .88rem; line-height: 1.35; }
.av-lf-kfragen li::before { content: "›"; position: absolute; left: -12px; top: -1px; color: #E8731A; font-weight: 700; }
.av-lf-kfragen a { color: #4a5068; text-decoration: none; }
.av-lf-kfragen a:hover { color: #E8731A; text-decoration: underline; }

/* Kasten „Alle Lebensfragen entdecken“ */
.av-lf-alle {
  display: flex; align-items: center; gap: 20px; height: 100%; box-sizing: border-box; padding: 16px 24px 16px 16px;
  border-radius: 12px; background: linear-gradient(90deg, #fbf3ea 0%, #fff 70%);
  box-shadow: 0 4px 18px rgba(26, 42, 108, .08);
}
.av-lf-alle-bild { flex: none; width: 200px; height: auto; border-radius: 8px; }
.av-lf-alle-text h3 { color: #E8731A; }
@media (max-width: 959px) {
  .av-lf-alle-bild { width: 140px; }
}
@media (max-width: 639px) {
  .av-lf-alle { flex-direction: column; align-items: flex-start; padding: 16px; }
  .av-lf-alle-bild { width: 100%; max-width: 240px; align-self: center; }
  .av-lf-merkmal { padding: 12px; gap: 10px; font-size: .9rem; }
  .av-lf-merkmal-icon { width: 42px; height: 42px; }
  .av-lf-merkmal-icon img { width: 24px; height: 24px; }
}

/* Alle Fragen zum Aufklappen */
.av-lf-akkordeon { margin-top: 20px; }
.av-lf-akkordeon > li { border-bottom: 1px solid rgba(26, 42, 108, .12); padding-bottom: 12px; }
.av-lf-akkordeon .uk-accordion-title { color: #1A2A6C; font-weight: 700; font-size: 1.1rem; }
.av-lf-akkordeon .uk-accordion-title, .av-lf-akkordeon .uk-accordion-title:hover { text-decoration: none; }
.av-lf-akkordeon .uk-accordion-title .uk-text-meta { text-transform: none; letter-spacing: 0; font-size: .85rem; font-weight: 400; }

/* Karte 1859 (Martin 12.11.2026 16:54, Kopfbild ohne Text): ab 1200 px liegt das breite Bild (lf-hero-breit.webp) als
   Hintergrund der ganzen Kopf-Sektion und läuft unter den Text weiter (Muster Startseite Karte 1423, av-start.css).
   Spalten-Bild dort aus; Aufhellung hängt an der Textspalte, läuft links zum Fensterrand und rechts ins Bild aus. */
@media (min-width: 1200px) {
  .av-hero-band.av-hero-lf .av-hero-photo .uk-tile { display: none; }
  .av-hero-band.av-hero-lf .av-hero-photo { min-height: 500px; }
  .av-hero-band.av-hero-lf .av-hero-text { position: relative; z-index: 0; }
  .av-hero-band.av-hero-lf .av-hero-text::before {
    content: ""; position: absolute; top: 0; bottom: 0; left: -220px; right: -160px; z-index: -1;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0, rgba(255,255,255,.88) 220px,
      rgba(255,255,255,.88) calc(100% - 200px), rgba(255,255,255,0) 100%);
  }
}

/* Karte 1860 (Martin 12.11.2026 17:00): Lebensbereich-Seiten /wissen/<bereich> — Kopfbild statt großer Überschrift,
   Fragen-Liste im beigen Kasten, passendes Horoskop als Querkarte am Ende. */
.av-lf-kopfbild img { width: 100%; height: auto; display: block; }
.av-lf-fragenbox {
  background: #FAF3E8; border-radius: 12px; padding: 20px 28px; margin: 24px 0 28px;
}
.av-lf-fragenbox > :first-child { margin-top: 0 !important; }
.av-lf-fragenbox > :last-child { margin-bottom: 0; }
.av-lf-fragenbox h2 { margin-top: 28px !important; }
.av-lf-fragenbox > br { display: none; }
@media (max-width: 639px) {
  .av-lf-fragenbox { padding: 16px 16px; margin-left: -4px; margin-right: -4px; }
}
.av-lf-werbung { overflow: hidden; }
.av-lf-werbung .uk-card-meta, .av-lf-werbung .el-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.av-lf-werbung .el-meta .av-kachel-pille {
  display: inline-flex; align-items: center; gap: 7px; background: #FAF3E8; color: #D9480F;
  font-size: 13px; font-weight: 700; line-height: 1; letter-spacing: 0; text-transform: none;
  padding: 7px 12px 7px 10px; border-radius: 999px;
}
.av-lf-werbung-preis { font-size: 1.15rem; font-weight: 700; color: #1A2A6C; }
/* Karte 1861 (Martin 12.11.2026 17:34): Handy zeigt nur den rechten Bildteil (ab der Textkante des jeweiligen Bildes, volle
   Höhe — Seitenverhältnis je Bild = sichtbarer Breitenanteil × 1600 / Bildhöhe), darunter Titel + Unterzeile als Text ohne
   Hintergrund (.av-lf-kopf-text, Titel Blau, Unterzeile Orange wie im Bild). Ab 640 px unverändert das ganze Bild. */
.av-lf-kopf-text .av-lf-kopf-titel {
  font-weight: 700; color: #1A2A6C; font-size: 1.75rem; line-height: 1.2;
  margin: 0 0 6px;
}
.av-lf-kopf-text .av-lf-kopf-unter { color: #E8731A; font-size: 1.05rem; line-height: 1.4; font-weight: 600; margin: 0; }
@media (max-width: 639px) {
  .av-lf-kopfbild img { object-fit: cover; object-position: right center; }
  .av-lf-kopf-liebe img { aspect-ratio: 0.958; }
  .av-lf-kopf-familie img { aspect-ratio: 0.958; }
  .av-lf-kopf-beruf img { aspect-ratio: 0.993; }
  .av-lf-kopf-geld img { aspect-ratio: 1.074; }
  .av-lf-kopf-selbstwert img { aspect-ratio: 0.934; }
  .av-lf-kopf-psyche img { aspect-ratio: 0.934; }
  .av-lf-kopf-sinn img { aspect-ratio: 1.06; }
  .av-lf-kopf-gesundheit img { aspect-ratio: 0.87; }
  .av-lf-kopf-koerper img { aspect-ratio: 1.501; }
  .av-lf-kopf-freundschaft img { aspect-ratio: 0.94; }
  .av-lf-kopf-krisen img { aspect-ratio: 1.201; }
  .av-lf-kopf-spiritualitaet img { aspect-ratio: 1.081; }
  .av-lf-kopf-alter img { aspect-ratio: 1.051; }
}
/* Karte 1865 (Martin 12.11.2026 18:30): „den Abstand über und unter dem Kopfbereich auf ca. ein Drittel reduzieren“ (Desktop + Handy).
   Über dem Kopf (Menü → Brotkrume) 40 → 13 px; unter dem Kopf („1.000 Lebensfragen · n Fragen“ → Text) Desktop 110 → 36 px,
   Handy 80 → 26 px. Die Textsektion danach hat im Theme trotz padding_top remove 70/40 px oben → hier fest gesetzt. */
.av-lf-kopf-sek.uk-section { padding-top: 13px; padding-bottom: 0; }
.av-lf-kopf-sek.uk-section + .uk-section { padding-top: 36px; }
@media (max-width: 639px) {
  .av-lf-kopf-sek.uk-section + .uk-section { padding-top: 26px; }
}
/* Karte 1866 (Martin 12.11.2026 19:09): Fragenseiten /wissen/<bereich>/<frage> — Kopfbild des Bereichs oben (Abstand wie die
   Bereichsseiten), Frage + Unterzeile direkt darunter, Abstand Unterzeile → Antwort 80 → 24 px (ca. 30 %), ungerade Antworten
   beige über die volle Breite (#FAF3E8 wie der Fragen-Kasten), Merksatz/Impuls/Ermutigung in normaler Größe, weiter fett. */
.av-lf-frage-kopf.uk-section { padding-top: 13px; padding-bottom: 24px; }
.av-lf-frage-kopf .av-lf-frage-h1 { margin-top: 20px !important; }
.av-lf-antwort.uk-section { padding-top: 40px; padding-bottom: 40px; }
.av-lf-frage-kopf + .av-lf-antwort:not(.av-lf-antwort-beige) { padding-top: 0; }
.av-lf-antwort-beige.uk-section { background: #FAF3E8; }
.av-lf-antwort .av-lf-text > h2:first-child { margin-top: 0 !important; }
.av-lf-antwort .av-lf-text > :last-child { margin-bottom: 0; }
.av-lf-antwort .av-lf-text blockquote, .av-lf-antwort .av-lf-text blockquote p {
  font-size: 1rem; line-height: 1.6; font-weight: 700;
}
@media (max-width: 639px) {
  .av-lf-antwort.uk-section { padding-top: 28px; padding-bottom: 28px; }
  .av-lf-frage-kopf .av-lf-frage-h1 { margin-top: 14px !important; }
}
/* Karte 1867 (Martin 12.11.2026 21:31): Frage-Überschrift (H1) der Fragenseiten kleiner — „nur ein wenig größer“ als die
   Zwischenüberschriften der Antworten („1. Die Lebensfrage“ = 22,4 px). Vorher 46 px, Handy 34 px. */
.av-lf-frage-kopf .av-lf-frage-h1 { font-size: 28px !important; line-height: 1.3; }  /* .av-h1 im Theme ist !important */
@media (max-width: 639px) {
  .av-lf-frage-kopf .av-lf-frage-h1 { font-size: 25px !important; }
}
