/*
 Theme Name:   Fichtenpfad
 Theme URI:    https://fichtenpfad.de
 Description:  Child-Theme von Kadence für fichtenpfad.de – Wandern und Naturerlebnisse in Deutschland.
 Author:       Klim Fichtner
 Template:     kadence
 Version:      0.4.1
 Requires at least: 6.0
 Requires PHP: 7.4
 License:      GNU General Public License v3 or later
 License URI:  https://www.gnu.org/licenses/gpl-3.0.html
 Text Domain:  fichtenpfad
*/

/* ===============================================================
   1. FARBPALETTE – hier zentral ändern
   Wald im Vordergrund, klarer Himmel dahinter.
   =============================================================== */
:root {
	/* Wald */
	--fp-forest-900: #1d4a2c; /* dunkles Waldgrün: Überschriften, Footer */
	--fp-forest-700: #2f6f3e; /* Waldgrün: CTAs, Links */
	--fp-forest-600: #3b8249; /* CTA-Hover (heller) */
	--fp-leaf-400: #8cc56d;   /* Hellgrün: Hügel, Akzente */
	--fp-leaf-200: #cfe8bd;   /* sehr helles Grün */
	--fp-leaf-100: #edf6e6;   /* Sektions-Hintergrund grün */

	/* Himmel */
	--fp-sky-600: #2779b8;    /* klares Himmelblau: Akzent */
	--fp-sky-400: #8fc3e6;    /* mittleres Himmelblau */
	--fp-sky-300: #b9dcf2;    /* Hellblau */
	--fp-sky-100: #eaf5fc;    /* Sektions-Hintergrund blau */

	/* Naturweiß */
	--fp-cream: #fbf7ee;      /* Cremeweiß: Standard-Hintergrund */
	--fp-white: #fffdf8;      /* Naturweiß: Karten, Header */

	/* Text */
	--fp-text: #2c3a30;
	--fp-text-muted: #5b6b5f;
	--fp-border: #dfe6d8;

	/* Illustrationen */
	--fp-ill-line: #1d4a2c;
	--fp-sun: #f3c453;
	--fp-fox: #dd7a3c;
	--fp-bark: #7b5836;
	--fp-rock: #b7b1a3;
	--fp-rock-dark: #837c6d;
	--fp-skin: #f2c8a2;
	--fp-blossom: #ef9fb6;
	--fp-trail: #e9dcc0;

	/* Typografie */
	--fp-font-serif: "Lora Variable", Georgia, "Times New Roman", serif;
	--fp-font-sans: "Source Sans 3 Variable", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--fp-measure: 66ch;       /* max. Zeilenlänge für Fließtext */
	--fp-wide: 72rem;         /* Breite für Raster/Karte */

	/* Abstände & Formen */
	--fp-section-space: clamp(3.5rem, 9vw, 7rem);
	--fp-gutter: clamp(1.25rem, 4vw, 2rem);
	--fp-radius: 1rem;
	--fp-shadow: 0 10px 30px -12px rgba(29, 74, 44, 0.28);

	/* Kadence-Palette auf unsere Farben umbiegen (gilt für die ganze Website) */
	--global-palette1: var(--fp-forest-700);
	--global-palette2: var(--fp-forest-900);
	--global-palette3: var(--fp-forest-900);
	--global-palette4: var(--fp-text);
	--global-palette5: var(--fp-text-muted);
	--global-palette6: #8a9a8e;
	--global-palette7: var(--fp-leaf-100);
	--global-palette8: var(--fp-cream);
	--global-palette9: var(--fp-white);
	--global-palette-highlight: var(--fp-forest-700);
	--global-palette-highlight-alt: var(--fp-forest-900);
	--global-palette-btn-bg: var(--fp-forest-700);
	--global-palette-btn-bg-hover: var(--fp-forest-600);
	--global-palette-btn: #fff;
	--global-palette-btn-hover: #fff;
	--global-body-font-family: var(--fp-font-sans);
	--global-heading-font-family: var(--fp-font-serif);
}

/* ===============================================================
   2. SCHRIFTEN (self-hosted, OFL-Lizenz, siehe assets/fonts/)
   =============================================================== */
@font-face {
	font-family: "Lora Variable";
	font-style: normal;
	font-display: swap;
	font-weight: 400 700;
	src: url("assets/fonts/lora-latin-wght-normal.woff2") format("woff2-variations");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Lora Variable";
	font-style: normal;
	font-display: swap;
	font-weight: 400 700;
	src: url("assets/fonts/lora-latin-ext-wght-normal.woff2") format("woff2-variations");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "Lora Variable";
	font-style: italic;
	font-display: swap;
	font-weight: 400 700;
	src: url("assets/fonts/lora-latin-wght-italic.woff2") format("woff2-variations");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Source Sans 3 Variable";
	font-style: normal;
	font-display: swap;
	font-weight: 200 900;
	src: url("assets/fonts/source-sans-3-latin-wght-normal.woff2") format("woff2-variations");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Source Sans 3 Variable";
	font-style: normal;
	font-display: swap;
	font-weight: 200 900;
	src: url("assets/fonts/source-sans-3-latin-ext-wght-normal.woff2") format("woff2-variations");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "Source Sans 3 Variable";
	font-style: italic;
	font-display: swap;
	font-weight: 200 900;
	src: url("assets/fonts/source-sans-3-latin-wght-italic.woff2") format("woff2-variations");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ===============================================================
   3. GRUNDLAGEN (ganze Website)
   =============================================================== */
body {
	font-family: var(--fp-font-sans);
	font-size: 1.0625rem;
	line-height: 1.7;
	color: var(--fp-text);
	background: var(--fp-cream);
}

h1,
h2,
h3,
h4,
h5,
h6,
.site-title {
	font-family: var(--fp-font-serif);
	color: var(--fp-forest-900);
	line-height: 1.25;
	letter-spacing: -0.005em;
}

h1 {
	font-size: clamp(2.1rem, 1.4rem + 3.2vw, 3.6rem);
	font-weight: 700;
}

h2 {
	font-size: clamp(1.7rem, 1.3rem + 1.8vw, 2.5rem);
	font-weight: 650;
}

h3 {
	font-size: clamp(1.2rem, 1.1rem + 0.5vw, 1.45rem);
	font-weight: 600;
}

h1,
h2,
h3 {
	overflow-wrap: normal;
	word-break: normal;
	hyphens: manual;
}

a {
	color: var(--fp-forest-700);
	text-underline-offset: 0.18em;
	text-decoration-thickness: 0.08em;
}

a:hover,
a:focus {
	color: var(--fp-forest-900);
}

:focus-visible {
	outline: 3px solid var(--fp-sky-600);
	outline-offset: 3px;
}

/* Header */
.site-header .site-title {
	font-weight: 700;
}

.main-navigation .primary-menu-container > ul > li.menu-item > a {
	font-family: var(--fp-font-serif);
	font-size: 1.05rem;
	font-weight: 600;
	color: var(--fp-forest-900);
}

.main-navigation .primary-menu-container > ul > li.menu-item > a:hover,
.main-navigation .primary-menu-container > ul > li.menu-item.current-menu-item > a,
.main-navigation .primary-menu-container > ul > li.menu-item.current-menu-ancestor > a {
	color: var(--fp-forest-700);
}

.mobile-navigation ul li > a {
	font-family: var(--fp-font-serif);
}

/* ===============================================================
   4. CTAs / BUTTONS – grün, Serif, mit Hover-Effekt
   =============================================================== */
.wp-block-button__link,
.wp-block-button .wp-block-button__link,
.button,
.fp-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	padding: 0.8em 1.6em;
	font-family: var(--fp-font-serif);
	font-size: 1.05rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	color: #fff;
	background: var(--fp-forest-700);
	border: 2px solid var(--fp-forest-700);
	border-radius: 999px;
	box-shadow: 0 6px 16px -8px rgba(29, 74, 44, 0.6);
	transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.wp-block-button__link::after,
.fp-btn::after {
	content: "→";
	transition: transform 0.2s ease;
}

.wp-block-button__link:hover,
.wp-block-button__link:focus-visible,
.button:hover,
.fp-btn:hover {
	color: #fff;
	background: var(--fp-forest-600);
	border-color: var(--fp-forest-600);
	transform: translateY(-2px);
	box-shadow: 0 12px 24px -10px rgba(29, 74, 44, 0.6);
}

.wp-block-button__link:hover::after,
.fp-btn:hover::after {
	transform: translateX(4px);
}

.wp-block-button.is-style-outline > .wp-block-button__link {
	color: var(--fp-forest-700);
	background: var(--fp-white);
	border-color: var(--fp-forest-700);
}

.wp-block-button.is-style-outline > .wp-block-button__link:hover {
	color: #fff;
	background: var(--fp-forest-700);
}

.wp-block-buttons {
	gap: 0.75rem 1rem;
}

@media (prefers-reduced-motion: reduce) {
	.wp-block-button__link,
	.fp-btn,
	.fp-card {
		transition: none;
	}

	.wp-block-button__link:hover,
	.fp-btn:hover,
	.fp-card:hover {
		transform: none;
	}
}

/* ===============================================================
   5. ILLUSTRATIONEN (Farben kommen aus der Palette)
   =============================================================== */
.fp-ill svg {
	display: block;
	width: 100%;
	height: auto;
}

.fp-ill .i-line { stroke: var(--fp-ill-line); }
.fp-ill .i-line-fill { fill: var(--fp-ill-line); }
.fp-ill .i-forest-900:not([fill="none"]) { fill: var(--fp-forest-900); }
.fp-ill .i-forest-700:not([fill="none"]) { fill: var(--fp-forest-700); }
.fp-ill .i-forest-700[fill="none"] { stroke: var(--fp-forest-700); }
.fp-ill .i-leaf-400:not([fill="none"]) { fill: var(--fp-leaf-400); }
.fp-ill .i-leaf-200:not([fill="none"]) { fill: var(--fp-leaf-200); }
.fp-ill .i-leaf-100:not([fill="none"]) { fill: var(--fp-leaf-100); }
.fp-ill .i-sky-600:not([fill="none"]) { fill: var(--fp-sky-600); }
.fp-ill .i-sky-600[fill="none"] { stroke: var(--fp-sky-600); }
.fp-ill .i-sky-400:not([fill="none"]) { fill: var(--fp-sky-400); }
.fp-ill .i-sky-300:not([fill="none"]) { fill: var(--fp-sky-300); }
.fp-ill .i-sky-100:not([fill="none"]) { fill: var(--fp-sky-100); }
.fp-ill .i-sun:not([fill="none"]) { fill: var(--fp-sun); }
.fp-ill .i-sun[fill="none"] { stroke: var(--fp-sun); }
.fp-ill .i-fox:not([fill="none"]) { fill: var(--fp-fox); }
.fp-ill .i-bark:not([fill="none"]) { fill: var(--fp-bark); }
.fp-ill .i-bark[fill="none"] { stroke: var(--fp-bark); }
.fp-ill .i-rock:not([fill="none"]) { fill: var(--fp-rock); }
.fp-ill .i-rock-dark[fill="none"] { stroke: var(--fp-rock-dark); }
.fp-ill .i-skin:not([fill="none"]) { fill: var(--fp-skin); }
.fp-ill .i-blossom:not([fill="none"]) { fill: var(--fp-blossom); }
.fp-ill .i-white:not([fill="none"]),
.fp-ill .i-snow,
.fp-ill .i-cloud { fill: #fff; }
.fp-ill .i-white[fill="none"] { stroke: #fff; }
.fp-ill .i-path[fill="none"] { stroke: var(--fp-trail); }

/* Trenner zwischen Sektionen: Hintergrund = obere, Hügel = untere Sektion */
.fp-divider {
	position: relative;
	margin: 0;
	line-height: 0;
}

.fp-divider svg {
	height: clamp(3rem, 8vw, 7rem);
}

.fp-bg-cream { background-color: var(--fp-cream); }
.fp-bg-green { background-color: var(--fp-leaf-100); }
.fp-bg-blue { background-color: var(--fp-sky-100); }
.fp-to-cream { color: var(--fp-cream); }
.fp-to-green { color: var(--fp-leaf-100); }
.fp-to-blue { color: var(--fp-sky-100); }

/* Baumreihe über dem Footer */
.fp-treeline {
	margin-top: var(--fp-section-space);
	line-height: 0;
	background: var(--fp-cream);
}

.home .fp-treeline {
	margin-top: 0;
}

.fp-treeline svg {
	height: clamp(4.5rem, 10vw, 9rem);
}

/* ===============================================================
   6. SEKTIONEN (Startseite & Landingpages)
   =============================================================== */

/* Kadence-Abstände entfernen, damit Sektionen bündig aneinanderstoßen */
.entry-content.single-content > .fp-section,
.entry-content.single-content > .fp-hero,
.entry-content.single-content > .fp-ill.alignfull,
.entry-content.single-content > .fp-divider {
	margin-top: 0;
	margin-bottom: 0;
}

.fp-section,
.entry-content .wp-block-group.alignfull.fp-section {
	padding: var(--fp-section-space) var(--fp-gutter);
}

.entry-content .wp-block-group.alignfull.fp-hero {
	padding-left: var(--fp-gutter);
	padding-right: var(--fp-gutter);
}

/* Fließtext nie über die volle Breite */
:is(.fp-section, .fp-section > .wp-block-group__inner-container) > * {
	max-width: var(--fp-measure);
	margin-left: auto;
	margin-right: auto;
}

:is(.fp-section, .fp-section > .wp-block-group__inner-container) > .fp-wide,
:is(.fp-section, .fp-section > .wp-block-group__inner-container) > .wp-block-columns,
:is(.fp-section, .fp-section > .wp-block-group__inner-container) > .fp-map-wrap {
	max-width: var(--fp-wide);
}

:is(.fp-section, .fp-section > .wp-block-group__inner-container) > .fp-faq-list {
	max-width: 50rem;
}

:is(.fp-section, .fp-section > .wp-block-group__inner-container) > h2 {
	margin-top: 0;
	margin-bottom: 0.75rem;
	text-align: center;
}

:is(.fp-section, .fp-section > .wp-block-group__inner-container) > h2 + .fp-intro {
	margin-bottom: clamp(2rem, 5vw, 3rem);
}

.fp-intro {
	font-size: 1.15rem;
	color: var(--fp-text-muted);
	text-align: center;
}

:is(.fp-section, .fp-section > .wp-block-group__inner-container) > h3 {
	margin-top: 2.25rem;
	margin-bottom: 0.4rem;
}

:is(.fp-section, .fp-section > .wp-block-group__inner-container) > p:last-child {
	margin-bottom: 0;
}

/* WordPress legt in klassischen Themes einen inneren Wrapper in Gruppen an.
   Er darf selbst nicht begrenzt werden; die Regeln oben greifen für beide Fälle. */
.fp-section > .wp-block-group__inner-container {
	max-width: none;
	margin: 0;
}

.fp-section--cream { background-color: var(--fp-cream); }
.fp-section--green { background-color: var(--fp-leaf-100); }
.fp-section--blue { background-color: var(--fp-sky-100); }

.fp-section .wp-block-buttons {
	justify-content: center;
}

/* Hero ---------------------------------------------------------- */
.fp-hero {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	padding: clamp(3.5rem, 9vw, 7rem) var(--fp-gutter) max(11rem, 27vw);
	text-align: center;
	background: linear-gradient(180deg, var(--fp-sky-300) 0%, var(--fp-sky-100) 55%, var(--fp-cream) 100%);
}

:is(.fp-hero, .fp-hero > .wp-block-group__inner-container) > * {
	position: relative;
	z-index: 1;
	max-width: 52rem;
	margin-left: auto;
	margin-right: auto;
}

.fp-hero h1 {
	margin: 0.4rem auto 1rem;
}

.fp-hero .fp-lead {
	font-size: clamp(1.1rem, 1rem + 0.5vw, 1.3rem);
	color: var(--fp-text);
}

.fp-hero .wp-block-buttons {
	justify-content: center;
	margin-top: 1.75rem;
}

:is(.fp-hero, .fp-hero > .wp-block-group__inner-container) > .fp-ill--hero {
	position: absolute;
	inset: auto 0 -1px 0;
	z-index: 0;
	max-width: none;
	margin: 0;
	line-height: 0;
}

:is(.fp-hero, .fp-hero > .wp-block-group__inner-container) > .fp-ill--hero svg {
	height: max(15rem, 38.9vw);
}

/* Innerer Gruppen-Wrapper: nicht begrenzen, nicht positionieren,
   damit die Illustration am unteren Rand des Hero sitzt. */
.fp-hero > .wp-block-group__inner-container {
	position: static;
	z-index: auto;
	max-width: none;
	margin: 0;
}

.fp-eyebrow {
	display: inline-block;
	padding: 0.3em 0.9em;
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--fp-forest-700);
	background: rgba(255, 253, 248, 0.75);
	border-radius: 999px;
}

/* Raster (Features, Kacheln, Jahreszeiten) --------------------- */
:is(.fp-section, .fp-section > .wp-block-group__inner-container) > .wp-block-columns.fp-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
	gap: clamp(1.25rem, 3vw, 2rem);
	margin-bottom: 0;
}

:is(.fp-section, .fp-section > .wp-block-group__inner-container) > .wp-block-columns.fp-grid--2 {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
	max-width: 58rem;
}

:is(.fp-section, .fp-section > .wp-block-group__inner-container) > .wp-block-columns.fp-grid--4 {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
}

.fp-grid > .wp-block-column {
	margin: 0;
}

/* Karten -------------------------------------------------------- */
.fp-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: clamp(1.25rem, 3vw, 1.75rem);
	text-align: center;
	background: var(--fp-white);
	border: 1px solid var(--fp-border);
	border-radius: var(--fp-radius);
	box-shadow: var(--fp-shadow);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fp-card:hover,
.fp-card:focus-within {
	transform: translateY(-3px);
	box-shadow: 0 18px 36px -16px rgba(29, 74, 44, 0.35);
}

.fp-card.wp-block-column > * {
	margin-top: 0;
}

.fp-card .fp-ill {
	width: min(11rem, 70%);
	margin: 0 auto 0.75rem;
}

.fp-card .fp-ill--icon {
	width: 4rem;
}

.fp-card h3 {
	margin-bottom: 0.5rem;
}

.fp-card h3 a {
	color: inherit;
	text-decoration: none;
}

.fp-card h3 a:hover {
	color: var(--fp-forest-700);
	text-decoration: underline;
}

.fp-card p {
	margin-bottom: 0;
	color: var(--fp-text-muted);
}

.fp-card .wp-block-buttons {
	margin-top: auto;
	padding-top: 1.25rem;
}

.fp-card--feature {
	background: transparent;
	border: 0;
	box-shadow: none;
}

.fp-card--feature:hover {
	transform: none;
	box-shadow: none;
}

/* Abschluss-CTA */
.fp-section--cta {
	text-align: center;
}

/* ===============================================================
   7. FAQ-AKKORDEON
   =============================================================== */
.fp-faq-list,
.fp-faq-list > .wp-block-group__inner-container {
	display: grid;
	gap: 0.75rem;
}

.fp-faq-list .wp-block-details {
	margin: 0;
	background: var(--fp-white);
	border: 1px solid var(--fp-border);
	border-radius: 0.75rem;
	transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.fp-faq-list .wp-block-details[open] {
	border-color: var(--fp-leaf-400);
	box-shadow: var(--fp-shadow);
}

.fp-faq-list summary {
	position: relative;
	display: block;
	padding: 1.1rem 3.5rem 1.1rem 1.25rem;
	font-family: var(--fp-font-serif);
	font-size: 1.1rem;
	font-weight: 600;
	line-height: 1.4;
	color: var(--fp-forest-900);
	cursor: pointer;
	list-style: none;
	border-radius: 0.75rem;
}

.fp-faq-list summary::-webkit-details-marker {
	display: none;
}

.fp-faq-list summary::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 1.25rem;
	width: 1.6rem;
	height: 1.6rem;
	margin-top: -0.8rem;
	background:
		linear-gradient(var(--fp-forest-700), var(--fp-forest-700)) center / 0.75rem 2px no-repeat,
		linear-gradient(var(--fp-forest-700), var(--fp-forest-700)) center / 2px 0.75rem no-repeat,
		var(--fp-leaf-100);
	border-radius: 50%;
	transition: transform 0.3s ease;
}

.fp-faq-list details[open] > summary::after {
	transform: rotate(135deg);
}

.fp-faq-list summary:hover {
	color: var(--fp-forest-700);
}

.fp-faq-list .fp-faq__answer,
.fp-faq-list details > :not(summary) {
	margin: 0;
}

.fp-faq-list .fp-faq__answer {
	overflow: hidden;
}

.fp-faq-list .fp-faq__answer > * {
	margin: 0 1.25rem 1.1rem;
	max-width: var(--fp-measure);
}

/* Ohne JS: Antworten direkt im details-Element */
.fp-faq-list details > p {
	padding: 0 1.25rem 1.1rem;
}

@media (prefers-reduced-motion: reduce) {
	.fp-faq-list summary::after {
		transition: none;
	}
}

/* ===============================================================
   8. FOOTER
   =============================================================== */
.site-footer,
.site-footer .site-footer-row-container-inner {
	color: var(--fp-cream);
	background: var(--fp-forest-900);
}

.site-footer a {
	color: var(--fp-leaf-200);
}

.site-footer a:hover {
	color: #fff;
}

.fp-footer-nav ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem 1.5rem;
	margin: 0.5rem 0 0;
	padding: 0;
	list-style: none;
}

/* ===============================================================
   9. INHALTSSEITEN (Impressum u. ä.)
   =============================================================== */
body.page:not(.home) .entry-content > * {
	max-width: var(--fp-measure);
}

/* ===============================================================
   10. FAKTENBOX (Einzelansicht Wanderroute / Naturspot)
   =============================================================== */
.fp-facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
	gap: 0.75rem 1.5rem;
	margin: 0 0 2rem;
	padding: 1.25rem 1.5rem;
	background: var(--fp-leaf-100);
	border-radius: var(--fp-radius);
}

.fp-facts__row dt {
	margin: 0;
	font-size: 0.8em;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--fp-text-muted);
}

.fp-facts__row dd {
	margin: 0.15rem 0 0;
}

/* Klickbare Terms (Pills) */
.fp-term {
	display: inline-block;
	margin: 0 0.25rem 0.35rem 0;
	padding: 0.15em 0.75em;
	font-size: 0.85em;
	line-height: 1.6;
	text-decoration: none;
	color: var(--fp-forest-900);
	background: var(--fp-white);
	border: 1px solid var(--fp-leaf-200);
	border-radius: 999px;
}

.fp-term:hover,
.fp-term:focus,
.fp-term.is-current {
	color: #fff;
	background: var(--fp-forest-700);
	border-color: var(--fp-forest-700);
}

.fp-term__count {
	opacity: 0.65;
	font-size: 0.85em;
}

.fp-loop-facts {
	margin: 0.25rem 0 0.5rem;
	font-size: 0.9em;
	color: var(--fp-text-muted);
}

.fp-terms {
	margin-top: 0.25rem;
}

.fp-term-index {
	margin-top: 1rem;
}

.fp-term-index__label {
	margin-right: 0.25rem;
	font-weight: 600;
}

/* ===============================================================
   11. KARTE (Shortcode [fichtenpfad_karte])
   =============================================================== */
.fp-map-wrap {
	margin: 0 auto;
}

.fp-map {
	width: 100%;
	min-height: 18rem;
	border: 4px solid var(--fp-white);
	border-radius: var(--fp-radius);
	box-shadow: var(--fp-shadow);
	background: var(--fp-sky-100);
	z-index: 0;
}

.fp-map-legend {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1rem;
	margin-top: 0.75rem;
	font-size: 0.9em;
}

.fp-map-legend__item::before {
	content: "";
	display: inline-block;
	width: 0.8em;
	height: 0.8em;
	margin-right: 0.35em;
	vertical-align: -0.05em;
	border: 2px solid #fff;
	border-radius: 50%;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
}

.fp-map-legend__item--wanderroute::before {
	background: var(--fp-forest-700);
}

.fp-map-legend__item--naturspot::before {
	background: var(--fp-sky-600);
}

.fp-map-notice {
	max-width: 16rem;
	padding: 0.5rem 0.75rem;
	font-size: 0.85rem;
	background: rgba(255, 255, 255, 0.92);
	border-radius: 0.35rem;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.fp-map-popup__type {
	font-size: 0.75em;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	opacity: 0.7;
}
