/* Landeseiten je Modulkategorie (DISPO-1588). Farben aus theme.json des Themes "5meter". */
.fm-lp { --fm-lp-gruen: var(--wp--preset--color--secondary, #0D7F03); --fm-lp-text: var(--wp--preset--color--foreground, #104124); --fm-lp-hell: var(--wp--preset--color--fuenfm-tara, #F2FCE8); --fm-lp-rand: var(--wp--preset--color--fuenfm-celadon, #C6E6B8); color: var(--fm-lp-text); }
.fm-lp-titel { margin: 0 0 .6em; }
.fm-lp-einleitung p { margin: 0 0 .8em; line-height: 1.55; }
.fm-lp-zeile { font-size: var(--wp--preset--font-size--supersmall, 15px); margin: 1em 0 1.2em; opacity: .85; }

.fm-lp-raster { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin: 0 0 2.2em; }
.fm-lp-karte { display: flex; flex-direction: row; background: #fff; border: 1px solid var(--fm-lp-rand); border-radius: 14px; overflow: hidden; color: inherit; text-decoration: none; transition: box-shadow .15s, transform .15s; }
.fm-lp-karte:hover, .fm-lp-karte:focus-visible { box-shadow: 0 8px 22px rgba(16, 65, 36, .12); transform: translateY(-2px); color: inherit; }
.fm-lp-bild { display: block; flex: 0 0 38%; max-width: 200px; min-height: 160px; background: var(--fm-lp-hell); }
.fm-lp-bild img { width: 100%; height: 100%; object-fit: contain; display: block; }
.fm-lp-inhalt { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; flex: 1; }
.fm-lp-name { font-size: 19px; font-weight: 700; line-height: 1.2; }
.fm-lp-fakten { font-size: 14px; color: var(--fm-lp-gruen); font-weight: 600; }
.fm-lp-anriss { font-size: 15px; line-height: 1.45; }
.fm-lp-fuss { margin-top: auto; padding-top: 8px; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.fm-lp-preis { font-size: 18px; font-weight: 700; line-height: 1.2; }
.fm-lp-preis small { display: block; font-size: 13px; font-weight: 400; opacity: .8; }
.fm-lp-mehr { font-size: 15px; font-weight: 700; color: var(--fm-lp-gruen); white-space: nowrap; }

.fm-lp-h2 { margin: 0 0 .6em; }

/* Landeseite als Seite (Fotobox): Inhalt aus dem Block-Editor unter dem Raster */
.fm-lp-seite { margin: 0 0 2.2em; }
.fm-lp-seite > * { margin-top: 0; margin-bottom: .9em; }
.fm-lp-seite h2, .fm-lp-seite h3 { margin: 1.4em 0 .6em; }
.fm-lp-seite > h2:first-child { margin-top: 0; }
.fm-lp-seite p, .fm-lp-seite li { line-height: 1.55; }
.fm-lp-seite .wp-block-table { margin: 0 0 1.2em; overflow-x: auto; }
.fm-lp-seite table { width: 100%; border-collapse: collapse; font-size: 15px; background: #fff; }
.fm-lp-seite th, .fm-lp-seite td { border: 1px solid var(--fm-lp-rand); padding: 8px 10px; text-align: left; vertical-align: top; }
.fm-lp-seite thead th { background: var(--fm-lp-hell); }
.fm-lp-seite tbody th, .fm-lp-seite td:first-child { font-weight: 600; }
.fm-lp-fragen { margin: 0 0 1em; }
.fm-lp-frage { border-top: 1px solid var(--fm-lp-rand); }
.fm-lp-frage:last-child { border-bottom: 1px solid var(--fm-lp-rand); }
.fm-lp-frage > summary { cursor: pointer; padding: 12px 28px 12px 0; font-weight: 700; list-style: none; position: relative; }
.fm-lp-frage > summary::-webkit-details-marker { display: none; }
.fm-lp-frage > summary::after { content: "+"; position: absolute; right: 4px; top: 10px; font-size: 20px; color: var(--fm-lp-gruen); }
.fm-lp-frage[open] > summary::after { content: "–"; }
.fm-lp-antwort { padding: 0 0 12px; line-height: 1.55; }
.fm-lp-antwort p { margin: 0 0 .6em; }

.fm-lp-kasten { position: sticky; top: 20px; margin-top: 15px; padding: 18px 18px 6px; border: 1px solid var(--wp--preset--color--foreground, #104124); border-radius: 14px; background: var(--wp--preset--color--fuenfm-tara, #F2FCE8); color: var(--wp--preset--color--foreground, #104124); }
.fm-lp-kasten p { margin: 0 0 12px; line-height: 1.45; }
.fm-lp-kasten-titel { font-size: 20px; font-weight: 700; }
.fm-lp-kasten-klein { font-size: 14px; }
.fm-lp-knopf { display: inline-block; padding: 10px 18px; border-radius: 999px; background: var(--wp--preset--color--links, #08A709); color: #fff; font-weight: 700; text-decoration: none; }
.fm-lp-knopf:hover, .fm-lp-knopf:focus-visible { background: var(--wp--preset--color--secondary, #0D7F03); color: #fff; }

@media (max-width: 560px) { .fm-lp-karte { flex-direction: column; } .fm-lp-bild { flex-basis: auto; max-width: none; aspect-ratio: 4 / 3; min-height: 0; } }
@media (max-width: 781px) { .fm-lp-kasten { position: static; margin-bottom: 20px; } .fm-lp-name { font-size: 18px; } }

/* Modulseite: Rueckweg auf die Landeseite der Kategorie */
.fm-lp-rueckweg { margin: 1.4em 0 0; padding: 12px 16px; border-radius: 12px; background: var(--wp--preset--color--fuenfm-tara, #F2FCE8); border: 1px solid var(--wp--preset--color--fuenfm-celadon, #C6E6B8); font-weight: 700; }
.fm-lp-rueckweg a { color: var(--wp--preset--color--secondary, #0D7F03); text-decoration: none; }
.fm-lp-rueckweg a:hover { text-decoration: underline; }
