/* Foto-Feature (17.11.2026, Runde 2), Baustein genre-lp/foto-feature.mjs. Farben aus den Seitenvariablen (genre.css / genre-eb.css),
   Dark-Romance-Seiten über .ff--drb (Erfahrungsbericht) und .experience-photo (Buch-Animation der Startseite, style.css). */
.ff { --ff-bg: var(--bg2, #22171c); --ff-ink: var(--ink, #f4ece6); --ff-muted: var(--muted, #b8a9a6); --ff-accent: var(--accent, #f3b6c8);
  --ff-cta: var(--cta, var(--ff-accent)); --ff-cta-ink: var(--cta-ink, #2a141c); --ff-line: var(--line, rgba(255,255,255,.12));
  --ff-display: var(--display, 'Cormorant Garamond', Georgia, serif); --ff-em: var(--em, var(--ff-display));
  background: var(--ff-bg); color: var(--ff-ink); padding: clamp(56px, 8vw, 104px) 0; overflow: hidden; }
.ff-wrap { width: min(1080px, 100% - 32px); margin: 0 auto; }
.ff-head { max-width: 680px; }
.ff-eyebrow { display: inline-block; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--ff-cta-ink);
  background: var(--ff-cta); padding: 6px 12px; border-radius: 999px; margin-bottom: 18px; }
.ff-head h2 { font-family: var(--ff-display); font-weight: var(--display-w, 400); text-transform: var(--display-tt, none); letter-spacing: var(--display-ls, 0);
  font-size: clamp(30px, 4.4vw, 48px); line-height: 1.05; margin: 0 0 14px; color: var(--ff-ink); }
.ff-head h2 em { font-family: var(--ff-em); font-style: italic; color: var(--em-color, var(--ff-accent)); }
.ff-head p, .ff .ff-lead2 { font-size: 17px; line-height: 1.6; margin: 0 0 12px; color: var(--ff-ink); }

/* Paare Foto → Cover */
.ff-pairs { display: grid; grid-template-columns: 1fr; gap: 22px; margin: 26px 0 22px; }
.ff-pair { margin: 0; }
.ff-pair-row { display: grid; grid-template-columns: 38% auto 1fr; align-items: center; gap: 10px; }
.ff-foto { width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 10px; border: 3px solid #fff; box-shadow: 0 10px 24px -12px rgba(0,0,0,.6); transform: rotate(-2deg); display: block; }
.ff-cover { width: 100%; height: auto; aspect-ratio: 5 / 8; object-fit: cover; border-radius: 4px 10px 10px 4px; box-shadow: 0 18px 36px -18px rgba(0,0,0,.8); display: block; }
.ff-arrow { font-size: 26px; color: var(--ff-accent); line-height: 1; }
.ff-one .ff-pair-row { max-width: 460px; }
@media (min-width: 760px) { .ff-pairs { grid-template-columns: repeat(3, 1fr); gap: 28px; } .ff-pairs.ff-one { grid-template-columns: 1fr; } }
@media (max-width: 759px) { .ff-pair:nth-child(3) { display: none; } }

/* Regel-Box */
.ff-rules { max-width: 760px; margin: 0 0 24px; padding: 16px 18px; border: 1px solid var(--ff-line); border-radius: 14px; color: var(--ff-ink); font-size: 15px; line-height: 1.5; }
.ff-rules-h { display: block; color: var(--ff-accent); margin-bottom: 8px; font-size: 15px; }
.ff-rules ul { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 6px; }
.ff-rules li { display: flex; gap: 10px; align-items: baseline; margin: 0; padding: 0; }
.ff-rules li::before { content: none; }
.ff-rules li span { flex: 0 0 18px; font-weight: 700; text-align: center; }
.ff-rules li.is-ok span { color: #3fae6a; }
.ff-rules li.is-no span { color: #e0556b; }
.ff-rules p { margin: 0; font-size: 14px; color: var(--ff-muted); }
@media (min-width: 760px) { .ff-rules ul { grid-template-columns: 1fr 1fr; column-gap: 24px; } }

.ff-cta { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 26px; border-radius: 999px; background: var(--ff-cta); color: var(--ff-cta-ink);
  font-weight: 600; font-size: 16px; text-decoration: none; }
@media (max-width: 759px) { .ff-cta { width: 100%; } }

/* Cover-Block der Genre-Hauptseite (.block .wrap, Überschrift über .head aus genre.css) */
.ff.ff-inline { background: transparent; padding: 0; overflow: visible; }
.ff-inline .ff-pairs { margin-top: 8px; }

/* Genre-Looks */
.g-manga .ff:not(.ff-inline) { --ff-bg: #fff; }
.g-manga .ff { --ff-line: #111; }
.g-manga .ff-foto { border-color: #111; border-radius: 4px; box-shadow: 4px 4px 0 #111; }
.g-manga .ff-cover { border: 3px solid #111; border-radius: 4px; box-shadow: 5px 5px 0 #111; }
.g-manga .ff-rules { border-width: 2px; background: #fff; }
.g-manga .ff-cta { border: 3px solid #111; box-shadow: 4px 4px 0 #111; }
.g-manga .ff-eyebrow { border: 2px solid #111; }

/* Erfahrungsbericht (LP13): Kasten in der 660-px-Spalte */
.eb-page .ff { background: transparent; padding: 0; overflow: visible; --ff-ink: var(--eb-card-ink, var(--ink)); --ff-muted: var(--eb-card-muted, var(--muted)); }
.eb-page .ff-wrap { width: auto; padding: clamp(22px, 4vw, 34px); background: var(--eb-card, var(--bg2)); color: var(--eb-card-ink, var(--ink));
  border: var(--eb-bd, 1px solid var(--line)); border-radius: var(--eb-r, var(--radius)); box-shadow: var(--eb-sh, none); }
.eb-page .ff .ff-head h2 { font-size: clamp(26px, 4vw, 36px); }
.eb-page .ff .ff-head p, .eb-page .ff .ff-lead2 { font-size: 17px; }
.eb-page .ff .ff-rules p { font-size: 14px; }
.eb-page .ff-pairs { grid-template-columns: 1fr; gap: 18px; }
.eb-page .ff-pair:nth-child(3) { display: none; }
.eb-page .ff-rules ul { grid-template-columns: 1fr; }

/* Dark-Romance-Erfahrungsbericht (romance.softsins.de/erfahrungsbericht/): heller Artikel */
.ff.ff--drb { --ff-bg: #f8f2ed; --ff-ink: #291d27; --ff-muted: #6f6168; --ff-accent: #8e2f5c; --ff-cta: #481b32; --ff-cta-ink: #fff; --ff-line: rgba(41,29,39,.18);
  --ff-display: 'Cormorant Garamond', Georgia, serif; --ff-em: 'Cormorant Garamond', Georgia, serif; border-radius: 16px; padding: clamp(26px, 4vw, 40px) 0; margin: 32px 0; }
.ff.ff--drb .ff-wrap { width: calc(100% - 40px); }
.ff.ff--drb .ff-rules ul { grid-template-columns: 1fr; }

/* Dark-Romance-Startseite: Mini-Paar in der Buch-Animation, nur Kapitel 01 (app.js setzt .is-off) */
.experience-photo { display: flex; align-items: center; gap: 10px; margin: 4px 0 18px; transition: opacity .4s ease; }
.experience-photo.is-off { opacity: 0; pointer-events: none; }
.experience-photo img { display: block; height: 92px; width: auto; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 6px; box-shadow: 0 10px 22px -12px rgba(0,0,0,.8); }
.experience-photo img:first-child { border: 2px solid #fff; transform: rotate(-3deg); }
.experience-photo img:nth-of-type(2) { aspect-ratio: 5 / 8; height: 104px; }
.experience-photo span { color: #f3b6cd; font-size: 22px; }
@media (max-width: 700px) { .experience-photo img { height: 64px; } .experience-photo img:nth-of-type(2) { height: 72px; } .experience-photo { margin-bottom: 10px; } }
.ff.ff--drb .ff-cta { white-space: nowrap; font-size: 15px; font-family: "DM Sans", Arial, sans-serif; padding: 0 20px; }
