.am-fs {
	--fs-accent: var(--am-accent, hsl(37 84% 60%));
	--fs-on-accent: var(--am-on-accent, hsl(204 44% 9%));
	--fs-surface: var(--am-surface, hsl(203 38% 10%));
	--fs-surface-2: var(--am-surface-2, hsl(200 32% 14%));
	--fs-line: var(--am-line, hsl(195 24% 22%));
	--fs-text: var(--am-text, hsl(42 30% 92%));
	--fs-soft: var(--am-text-soft, hsl(195 14% 76%));
	--fs-muted: var(--am-text-muted, hsl(195 10% 64%));
	--fs-sea: var(--am-sea, hsl(176 26% 55%));
	--fs-radius-s: var(--am-radius-s, 8px);
	--fs-radius-m: var(--am-radius-m, 14px);
	--fs-radius-l: var(--am-radius-l, 22px);
	--fs-shadow: var(--am-shadow, 0 18px 50px -20px hsl(204 60% 3% / 0.7));
	--fs-head: var(--am-font-head, "Outfit", "Inter", system-ui, sans-serif);
	--fs-body: var(--am-font-body, "Inter", system-ui, sans-serif);
	box-sizing: border-box;
	color: var(--fs-soft);
	font-family: var(--fs-body);
	line-height: 1.6;
}
.am-fs *, .am-fs *::before, .am-fs *::after { box-sizing: inherit; }
.entry-content > .am-fs { max-width: none; }
.am-fs [hidden] { display: none !important; }

/* Kurzprofil + Saison */
.am-fs-profile { background: var(--fs-surface); border: 1px solid var(--fs-line); border-radius: var(--fs-radius-l); padding: clamp(1rem, 3vw, 1.75rem); margin: 1.75rem 0; box-shadow: var(--fs-shadow); }
.am-fs-facts { display: grid; grid-template-columns: minmax(0, 170px) minmax(0, 1fr); gap: 8px 16px; margin: 0 0 1.25rem; }
.am-fs-facts dt { font-weight: 600; color: var(--fs-text); font-size: 14px; }
.am-fs-facts dd { margin: 0; font-size: 14px; }
@media (max-width: 560px) { .am-fs-facts { grid-template-columns: minmax(0, 1fr); gap: 2px; } .am-fs-facts dd { margin-bottom: 10px; } }
.am-fs-h { font-family: var(--fs-head); font-size: 1.05rem; color: var(--fs-text); margin: 0 0 0.6rem; }
.am-fs-cells { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 3px; }
.am-fs-cell { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 48px; border-radius: 6px; font-size: 14px; line-height: 1.1; }
.am-fs-cell .m { font-size: 10px; opacity: 0.85; }
.am-fs-cell[data-level="0"] { background-color: hsl(208 18% 23%); color: var(--fs-muted); }
.am-fs-cell[data-level="1"] { background-color: hsl(195 22% 36%); color: var(--fs-text); }
.am-fs-cell[data-level="2"] { background-color: hsl(176 32% 32%); color: hsl(42 30% 97%); }
.am-fs-cell[data-level="3"] { background-color: var(--fs-accent); color: var(--fs-on-accent); font-weight: 700; }
.am-fs-cell.is-laich { background-image: repeating-linear-gradient(135deg, transparent 0 5px, hsl(4 80% 62% / 0.6) 5px 7px); }
.am-fs-cell.is-now { box-shadow: 0 0 0 2px var(--fs-text); }
.am-fs-sw { width: 22px; height: 22px; border-radius: 5px; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; }
.am-fs-sw[data-level="0"] { background: hsl(208 18% 23%); color: var(--fs-muted); }
.am-fs-sw[data-level="1"] { background: hsl(195 22% 36%); color: var(--fs-text); }
.am-fs-sw[data-level="2"] { background: hsl(176 32% 32%); color: hsl(42 30% 97%); }
.am-fs-sw[data-level="3"] { background: var(--fs-accent); color: var(--fs-on-accent); font-weight: 700; }
.am-fs-sw.is-laich { background-color: hsl(208 18% 23%); background-image: repeating-linear-gradient(135deg, transparent 0 4px, hsl(4 80% 62% / 0.6) 4px 6px); }
.am-fs-legend { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 13px; margin: 0.9rem 0 0; padding: 0; list-style: none; }
.am-fs-legend li { display: flex; align-items: center; gap: 8px; }
.am-fs-note { font-size: 13px; color: var(--fs-muted); margin: 0.9rem 0 0; line-height: 1.55; }
.am-fs-note a, .am-fs-links a { color: var(--fs-sea); }
.am-fs-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0.9rem 0 0; font-size: 14px; }

/* Übersicht */
.am-fs-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; margin: 1.5rem 0 1rem; }
.am-fs-search { flex: 1 1 240px; min-width: 0; }
.am-fs-label { display: block; font-weight: 600; font-size: 14px; color: var(--fs-text); margin-bottom: 6px; }
.am-fs-input { width: 100%; min-height: 46px; padding: 10px 14px; background: var(--fs-surface-2); color: var(--fs-text); border: 1px solid var(--fs-line); border-radius: var(--fs-radius-s); font-family: var(--fs-body); font-size: 16px; }
.am-fs-input:focus { outline: none; border-color: var(--fs-accent); box-shadow: 0 0 0 3px hsl(37 84% 60% / 0.25); }
.am-fs-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 1rem; }
.am-fs-chip { min-height: 44px; padding: 8px 16px; border: 1px solid var(--fs-line); border-radius: 999px; background: var(--fs-surface-2); color: var(--fs-soft); font-size: 14px; font-weight: 500; cursor: pointer; transition: all 0.25s ease-in-out; }
.am-fs-chip:hover, .am-fs-chip:focus-visible { border-color: var(--fs-sea); color: var(--fs-text); outline: none; }
.am-fs-chip[aria-pressed="true"] { background: hsl(176 26% 55% / 0.16); border-color: var(--fs-sea); color: var(--fs-text); font-weight: 600; box-shadow: inset 0 0 0 1px var(--fs-sea); }
.am-fs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.am-fs-card { display: flex; flex-direction: column; gap: 8px; background: var(--fs-surface); border: 1px solid var(--fs-line); border-radius: var(--fs-radius-m); padding: 16px 18px; min-width: 0; transition: all 0.3s ease-in-out; }
.am-fs-card:hover { border-color: var(--fs-sea); transform: translateY(-2px); }
.am-fs-card h3 { font-family: var(--fs-head); font-size: 1.2rem; margin: 0; color: var(--fs-text); }
.am-fs-card h3 a { color: inherit; text-decoration: none; }
.am-fs-card h3 a:hover, .am-fs-card h3 a:focus-visible { color: var(--fs-accent); text-decoration: underline; }
.am-fs-latin { font-size: 13px; font-style: italic; color: var(--fs-muted); margin: 0; }
.am-fs-teaser { margin: 0; font-size: 14px; }
.am-fs-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.am-fs-badge { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; border: 1px solid var(--fs-line); color: var(--fs-text); background: hsl(208 24% 17% / 0.5); }
.am-fs-badge[data-level="3"] { background: var(--fs-accent); color: var(--fs-on-accent); border-color: var(--fs-accent); }
.am-fs-badge[data-level="2"] { background: hsl(176 32% 32%); color: hsl(42 30% 97%); border-color: hsl(176 32% 40%); }
.am-fs-badge.is-laich { background: hsl(4 80% 60% / 0.15); color: hsl(4 85% 80%); border-color: hsl(4 80% 60% / 0.35); }
.am-fs-card .am-fs-cells { gap: 2px; margin-top: auto; }
.am-fs-card .am-fs-cell { min-height: 26px; font-size: 11px; border-radius: 4px; }
.am-fs-cta { font-family: var(--fs-head); font-weight: 600; font-size: 14px; color: var(--fs-sea); text-decoration: none; }
.am-fs-cta:hover, .am-fs-cta:focus-visible { color: var(--fs-accent); text-decoration: underline; }
.am-fs-empty { padding: 14px 16px; border: 1px dashed var(--fs-line); border-radius: var(--fs-radius-s); }
@media (prefers-reduced-motion: reduce) { .am-fs * { transition: none !important; } }

/* Illustration, Kacheln, Praxis-Hinweise */
.am-fs-hero { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 20px; align-items: center; margin: 1.75rem 0 1rem; }
@media (max-width: 820px) { .am-fs-hero { grid-template-columns: minmax(0, 1fr); gap: 14px; } }
.am-fs-figure { margin: 0; background: var(--fs-surface); border: 1px solid var(--fs-line); border-radius: var(--fs-radius-l); padding: 16px 16px 10px; box-shadow: var(--fs-shadow); }
.am-fs-figure .am-fish-svg { display: block; width: 100%; height: auto; max-width: 720px; margin: 0 auto; }
.am-fs-figure figcaption { font-size: 12px; color: var(--fs-muted); margin-top: 6px; text-align: center; }
/* Fangfoto eines Lesers im Porträttext (steht außerhalb von .am-fs, deshalb Website-Tokens) */
.wp-block-image.am-fs-foto { max-width: 640px; margin: 1.5rem 0; }
.wp-block-image.am-fs-foto img { display: block; width: 100%; height: auto; border-radius: 3px; }
.wp-block-image.am-fs-foto figcaption { margin-top: 6px; color: var(--am-text-muted); font: 400 13px/1.45 var(--am-font-body); text-align: left; }
.am-fs-mk { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.am-fs-mk li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.am-fs-mk .n { flex: none; width: 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--fs-accent); color: var(--fs-on-accent); font-weight: 700; font-size: 13px; }
.am-fs-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0 0 1.5rem; }
@media (max-width: 720px) { .am-fs-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.am-fs-tile { background: var(--fs-surface-2); border: 1px solid var(--fs-line); border-radius: var(--fs-radius-m); padding: 12px 14px; min-width: 0; }
.am-fs-tile .l { display: block; font-size: 12px; color: var(--fs-muted); }
.am-fs-tile .v { display: block; font-family: var(--fs-head); font-size: 1.35rem; font-weight: 700; color: var(--fs-text); line-height: 1.2; margin: 2px 0; overflow-wrap: anywhere; }
.am-fs-tile .s { display: block; font-size: 12px; color: var(--fs-soft); line-height: 1.4; }
.am-fs-card-img { margin: 0 0 4px; border-radius: var(--fs-radius-s, 8px); overflow: hidden; }
.am-fs-card-img .am-fish-svg, .am-fs-card-img img { display: block; width: 100%; height: auto; }
.am-fs-koeder ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; margin: 0 0 12px; padding: 0; list-style: none; }
.am-fs-koeder li a { display: grid; grid-template-rows: 84px auto; gap: 6px; min-height: 44px; padding: 10px; border: 1px solid var(--fs-line, hsl(40 16% 78%)); border-radius: 4px; background: var(--fs-surface, hsl(40 27% 91%)); color: inherit; text-decoration: none; text-align: center; font-weight: 600; font-size: 0.92rem; transition: all 0.3s ease-in-out; }
.am-fs-koeder li a:hover, .am-fs-koeder li a:focus-visible { border-color: currentColor; }
.am-fs-koeder li img { width: 100%; height: 84px; object-fit: contain; }
.am-fs-ki { margin: 8px 0 12px; font-size: 0.82rem; line-height: 1.5; color: var(--fs-muted); }
.am-fs-koeder ul + .am-fs-ki { margin-top: -4px; }
.am-fs-koeder__hinweis { padding-left: 12px; border-left: 3px solid var(--am-accent, hsl(4 70% 42%)); }
.am-fs-vergleich { margin: 1.2rem 0; }
.am-fs-vgl { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 14px; }
.am-fs-vgl figure { margin: 0; padding: 10px; border: 1px solid var(--fs-line, hsl(40 16% 78%)); border-radius: 4px; background: var(--fs-surface, hsl(40 27% 91%)); }
.am-fs-vgl img { display: block; width: 100%; height: auto; }
.am-fs-vgl figcaption { margin-top: 8px; font-size: 0.9rem; line-height: 1.45; }
.am-fs-vgl figcaption strong { display: block; font-size: 1rem; }
/* Standplätze im Bild: aus am-standplatz.css (+ Variablen aus fisch_standplatz.py), eingesetzt von build_fisch_lexikon.py */
/* Standplätze im Bild (Neufassung 2026-10-08) – eingesetzt von build_fisch_lexikon.py in am-fisch-lexikon.tpl.php.
   Bedienung ohne Skript über Radio-Felder und :has(). Bewegung beim Reinscrollen, bei Bedienung und seit 2026-10-08 auch dauerhaft
   (Wasser, Pflanzen, Flossen; Ausnahme von der Regel 07.10.), aber nur solange das Bild sichtbar ist (.am-st-sicht);
   bei reduzierter Bewegung steht alles sofort im Endzustand. */
.am-st { margin: 1.4rem 0; }
.am-st h3 { margin: 0 0 6px; }
.am-st h4 { margin: 0 0 8px; font-size: 1.1rem; }
.am-st-hinweis, .am-st-grund, .am-st-text, .am-st-tiefe { font-size: 0.95rem; }
.am-st-hinweis { margin: 0 0 14px; color: var(--am-text-soft, hsl(210 16% 27%)); }

/* Bedienung */
.am-st-r { position: absolute; opacity: 0; width: 1px; height: 1px; }
.am-st-steuer { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; }
.am-st-wahl { display: flex; flex-wrap: wrap; border: 1px solid var(--am-text, hsl(210 28% 14%)); border-radius: 3px; overflow: hidden; }
.am-st-wahl label { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 15px; cursor: pointer; font-weight: 600; font-size: 0.92rem; border-right: 1px solid var(--am-line, hsl(38 16% 66%)); background: var(--am-paper, hsl(45 40% 97%)); color: var(--am-ink, hsl(210 28% 14%)); transition: all 0.3s ease-in-out; }
.am-st-wahl label:last-of-type { border-right: 0; }
.am-st-wahl label:hover { background: hsl(42 30% 88%); }
.am-st-wahl svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.am-st-r:checked + label { background: var(--am-ink, hsl(210 28% 14%)); color: var(--am-paper, hsl(45 40% 97%)); }
.am-st-r:focus-visible + label { outline: 2px solid var(--am-accent, hsl(4 70% 42%)); outline-offset: -3px; }
@media (max-width: 520px) {
	.am-st-wahl { width: 100%; }
	.am-st-wahl label { flex: 1 1 0; justify-content: center; padding: 0 6px; font-size: 0.86rem; }
	.am-st-wahl--tag svg { display: none; }
}

/* Lage: Fangchance, Monate, Tageszeit */
.am-st-lage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px 28px; margin: 14px 0 18px; padding: 14px 0; border-top: 1px solid var(--am-line, hsl(38 16% 66%)); border-bottom: 1px solid var(--am-line, hsl(38 16% 66%)); }
@media (max-width: 640px) { .am-st-lage { grid-template-columns: 1fr; } }
.am-st-chance { display: none; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 0; }
.am-st-k { flex: 1 0 100%; font: 600 11px/1.4 var(--am-font-body, Inter, sans-serif); letter-spacing: 0.14em; text-transform: uppercase; color: var(--am-text-soft, hsl(210 16% 27%)); }
.am-st-chance b, .am-st-tagtext b { font: 600 1.45rem/1.2 var(--am-font-head, Georgia, serif); }
.am-st-seg { display: inline-flex; gap: 3px; }
.am-st-seg i { width: 22px; height: 8px; border-radius: 1px; background: hsl(38 22% 82%); }
.am-st-seg i:nth-child(1), .am-st-chance[data-stufe="1"] .am-st-seg i:nth-child(-n+2), .am-st-chance[data-stufe="2"] .am-st-seg i:nth-child(-n+3), .am-st-chance[data-stufe="3"] .am-st-seg i { background: var(--am-sea-light, hsl(96 24% 36%)); }
.am-st-laichhinweis { flex: 1 0 100%; font-size: 0.86rem; color: var(--am-ochre, hsl(36 70% 34%)); font-weight: 600; }
.am-st-monate { display: grid; grid-template-columns: repeat(12, 1fr); gap: 3px; margin: 12px 0 0; padding: 0; list-style: none; height: 58px; align-items: end; }
.am-st-monate li { display: flex; flex-direction: column; align-items: center; justify-content: end; height: 100%; position: relative; margin: 0; }
.am-st-bal { width: 100%; height: calc((var(--w) + 1) * 9px); border-radius: 1px 1px 0 0; background: hsl(38 20% 80%); transition: background 0.5s ease-in-out; }
/* Reisefische: keine Jahreszeitenwahl, alle Monate gleich kräftig */
.am-st-monate--reise .am-st-bal { background: var(--am-sea-light, hsl(96 24% 36%)); }
.am-st-monate--reise .am-st-mo { color: var(--am-ink, hsl(210 28% 14%)); }
.am-st-mo { font-size: 11px; line-height: 16px; color: var(--am-text-soft, hsl(210 16% 27%)); }
.am-st-monate li.am-st-laich::after, .am-st-lg-laich { content: ""; position: absolute; top: 2px; width: 6px; height: 6px; border-radius: 50%; background: var(--am-ochre, hsl(36 70% 34%)); }
.am-st-legende { margin: 6px 0 0; font-size: 12px; color: var(--am-text-soft, hsl(210 16% 27%)); }
.am-st-lg-laich { position: static; display: inline-block; margin-right: 6px; vertical-align: 1px; }
.am-st-tagtext p { display: none; margin: 0; font-size: 0.95rem; }
.am-st-tagtext--fest p { display: block; }
.am-st-tagtext b { display: block; }
.am-st-tagtext b::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 8px; border-radius: 50%; background: hsl(38 20% 74%); vertical-align: 3px; }
.am-st-tagtext .am-st-gut b::before { background: var(--am-sea-light, hsl(96 24% 36%)); }

/* Je Jahres-/Tageszeit sichtbar */
.am-st-text, .am-st-li, .am-st-weg { display: none; }
.am-st:has(.am-st-r--fruehjahr:checked) .am-st-nur--fruehjahr, .am-st:has(.am-st-r--sommer:checked) .am-st-nur--sommer,
.am-st:has(.am-st-r--herbst:checked) .am-st-nur--herbst, .am-st:has(.am-st-r--winter:checked) .am-st-nur--winter,
.am-st:has(.am-st-r--morgen:checked) .am-st-nur--morgen, .am-st:has(.am-st-r--tag:checked) .am-st-nur--tag,
.am-st:has(.am-st-r--abend:checked) .am-st-nur--abend, .am-st:has(.am-st-r--nacht:checked) .am-st-nur--nacht { display: block; animation: am-st-ein 0.45s var(--am-ease, ease-out); }
.am-st:has(.am-st-r--fruehjahr:checked) .am-st-chance.am-st-nur--fruehjahr, .am-st:has(.am-st-r--sommer:checked) .am-st-chance.am-st-nur--sommer,
.am-st:has(.am-st-r--herbst:checked) .am-st-chance.am-st-nur--herbst, .am-st:has(.am-st-r--winter:checked) .am-st-chance.am-st-nur--winter { display: flex; }
.am-st:has(.am-st-r--fruehjahr:checked) .am-st-li.am-st-in-fruehjahr, .am-st:has(.am-st-r--sommer:checked) .am-st-li.am-st-in-sommer,
.am-st:has(.am-st-r--herbst:checked) .am-st-li.am-st-in-herbst, .am-st:has(.am-st-r--winter:checked) .am-st-li.am-st-in-winter { display: list-item; }
.am-st:has(.am-st-r--fruehjahr:checked) .am-st-weg.am-st-in-fruehjahr, .am-st:has(.am-st-r--sommer:checked) .am-st-weg.am-st-in-sommer,
.am-st:has(.am-st-r--herbst:checked) .am-st-weg.am-st-in-herbst, .am-st:has(.am-st-r--winter:checked) .am-st-weg.am-st-in-winter { display: inline; }
.am-st:has(.am-st-r--fruehjahr:checked) .am-st-monate li[data-z="fruehjahr"] .am-st-bal, .am-st:has(.am-st-r--sommer:checked) .am-st-monate li[data-z="sommer"] .am-st-bal,
.am-st:has(.am-st-r--herbst:checked) .am-st-monate li[data-z="herbst"] .am-st-bal, .am-st:has(.am-st-r--winter:checked) .am-st-monate li[data-z="winter"] .am-st-bal { background: var(--am-ink, hsl(210 28% 14%)); }
.am-st:has(.am-st-r--fruehjahr:checked) .am-st-monate li[data-z="fruehjahr"] .am-st-mo, .am-st:has(.am-st-r--sommer:checked) .am-st-monate li[data-z="sommer"] .am-st-mo,
.am-st:has(.am-st-r--herbst:checked) .am-st-monate li[data-z="herbst"] .am-st-mo, .am-st:has(.am-st-r--winter:checked) .am-st-monate li[data-z="winter"] .am-st-mo { color: var(--am-ink, hsl(210 28% 14%)); font-weight: 700; }
@keyframes am-st-ein { from { opacity: 0; translate: 0 4px; } }

/* Gewässer */
.am-st-gew { margin: 0 0 30px; }
.am-st-fig { margin: 0; border: 1px solid var(--am-ink, hsl(210 28% 14%)); background: var(--am-paper, hsl(45 40% 97%)); }
.am-st-scroll { overflow-x: auto; max-width: 100%; }
.am-st-scroll svg { display: block; width: 100%; min-width: 640px; height: auto; }
.am-st-scroll:focus-visible { outline: 2px solid var(--am-accent, hsl(4 70% 42%)); outline-offset: 2px; }
.am-st-fig, .am-st-liste, .am-st-grund, .am-st-text { min-width: 0; }
.am-st-cap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 12px; min-height: 36px; padding: 4px 10px; font-size: 0.85rem; line-height: 1.45; color: var(--am-text-muted, hsl(210 10% 36%)); border-top: 1px solid var(--am-line, hsl(38 16% 66%)); }
.am-st-wisch { display: none; }
@media (max-width: 680px) { .am-st-wisch { display: inline; } }
.am-st-ganz { min-height: 36px; padding: 0 12px; border: 1px solid var(--am-ink, hsl(210 28% 14%)); border-radius: 3px; background: var(--am-ink, hsl(210 28% 14%)); color: var(--am-paper, hsl(45 40% 97%)); font: 600 0.85rem var(--am-font-body, Inter, sans-serif); cursor: pointer; transition: all 0.3s ease-in-out; }
.am-st-ganz:hover, .am-st-ganz:focus-visible { background: var(--am-paper, hsl(45 40% 97%)); color: var(--am-ink, hsl(210 28% 14%)); }
.am-st-erkl { margin: 10px 0 0; padding: 10px 14px; border-left: 3px solid var(--am-sea-light, hsl(96 24% 36%)); background: var(--am-paper, hsl(45 40% 97%)); animation: am-st-ein 0.45s var(--am-ease, ease-out); }
.am-st-erkl h5 { margin: 0; font: 600 1.05rem/1.3 var(--am-font-head, Georgia, serif); }
.am-st-erkl p { margin: 4px 0 0; font-size: 0.95rem; }
.am-st-liste { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; }
.am-st-liste li { margin: 0; }
.am-st-stelle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid var(--am-line, hsl(38 16% 66%)); border-radius: 22px; background: var(--am-paper, hsl(45 40% 97%)); color: var(--am-ink, hsl(210 28% 14%)); font: 500 0.9rem var(--am-font-body, Inter, sans-serif); cursor: pointer; transition: all 0.3s ease-in-out; }
.am-st-stelle::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--am-sea-light, hsl(96 24% 36%)); }
.am-st-li--nur .am-st-stelle { border-color: var(--am-accent, hsl(4 70% 42%)); }
.am-st-li--nur .am-st-stelle::before { background: var(--am-accent, hsl(4 70% 42%)); }
.am-st-stelle:hover, .am-st-stelle:focus-visible, .am-st-stelle[aria-pressed="true"] { background: var(--am-ink, hsl(210 28% 14%)); border-color: var(--am-ink, hsl(210 28% 14%)); color: var(--am-paper, hsl(45 40% 97%)); }
.am-st-stelle:focus-visible { outline: 2px solid var(--am-accent, hsl(4 70% 42%)); outline-offset: 2px; }
.am-st-grund { margin: 12px 0 0; }
.am-st-text { margin: 10px 0 0; padding-left: 12px; border-left: 3px solid var(--am-ochre, hsl(36 70% 34%)); }
.am-st-karten { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 14px; margin-top: 1rem; }
.am-st-karte { margin: 0; padding: 12px; border: 1px solid var(--fs-line, hsl(40 16% 78%)); border-radius: 4px; background: var(--fs-surface, hsl(40 27% 91%)); }
.am-st-karte svg { display: block; width: 100%; height: auto; max-height: 216px; }
.am-st-karte figcaption { margin-top: 8px; font-size: 0.9rem; line-height: 1.45; }
.am-st-karte figcaption b { display: block; }

/* ===== Bild: Farben und Wuchs aus den Jahres-/Tageszeit-Variablen ===== */
@property --st-sk-o { syntax: '<color>'; inherits: true; initial-value: transparent; }
@property --st-sk-u { syntax: '<color>'; inherits: true; initial-value: transparent; }
@property --st-wa-o { syntax: '<color>'; inherits: true; initial-value: transparent; }
@property --st-wa-u { syntax: '<color>'; inherits: true; initial-value: transparent; }
@property --st-ferne { syntax: '<color>'; inherits: true; initial-value: transparent; }
@property --st-gras { syntax: '<color>'; inherits: true; initial-value: transparent; }
@property --st-laub1 { syntax: '<color>'; inherits: true; initial-value: transparent; }
@property --st-laub2 { syntax: '<color>'; inherits: true; initial-value: transparent; }
@property --st-laub3 { syntax: '<color>'; inherits: true; initial-value: transparent; }
@property --st-schilf { syntax: '<color>'; inherits: true; initial-value: transparent; }
@property --st-kraut { syntax: '<color>'; inherits: true; initial-value: transparent; }
@property --st-rose { syntax: '<color>'; inherits: true; initial-value: transparent; }
@property --st-sonne { syntax: '<color>'; inherits: true; initial-value: transparent; }
.am-st { transition: --st-sk-o 1.4s ease-in-out, --st-sk-u 1.4s ease-in-out, --st-wa-o 1.4s ease-in-out, --st-wa-u 1.4s ease-in-out, --st-ferne 1.4s ease-in-out, --st-gras 1.4s ease-in-out, --st-laub1 1.4s ease-in-out, --st-laub2 1.4s ease-in-out, --st-laub3 1.4s ease-in-out, --st-schilf 1.4s ease-in-out, --st-kraut 1.4s ease-in-out, --st-rose 1.4s ease-in-out, --st-sonne 1.4s ease-in-out; }
.am-st:has(.am-st-r--fruehjahr:checked) { --st-sk-o: hsl(204 68% 80%); --st-sk-u: hsl(46 62% 91%); --st-wa-o: hsl(184 40% 70%); --st-wa-u: hsl(204 48% 30%); --st-ferne: hsl(104 24% 62%); --st-gras: hsl(94 44% 50%); --st-laub1: hsl(94 50% 54%); --st-laub2: hsl(84 52% 62%); --st-laub3: hsl(102 40% 44%); --st-schilf: hsl(90 44% 46%); --st-kraut: hsl(100 42% 40%); --st-rose: hsl(108 34% 38%); --st-sh: 0.5; --st-kh: 0.45; --st-rs: 0.55; --st-krone: 0.85; --st-eis: 0; --st-schnee: 0; --st-altschilf: 1; --st-kolben: 0; --st-bluete: 0; --st-baumbluete: 1; --st-wolke: 0.6; --st-dunst: 0; --st-strahl: 0.85; --st-laubwasser: 0; --st-knick: 0; --st-sturm: 0; --st-moewe: 1; }
.am-st:has(.am-st-r--sommer:checked) { --st-sk-o: hsl(205 72% 72%); --st-sk-u: hsl(48 70% 90%); --st-wa-o: hsl(168 36% 62%); --st-wa-u: hsl(200 52% 24%); --st-ferne: hsl(124 26% 46%); --st-gras: hsl(104 40% 38%); --st-laub1: hsl(124 36% 32%); --st-laub2: hsl(112 38% 40%); --st-laub3: hsl(132 34% 26%); --st-schilf: hsl(100 38% 36%); --st-kraut: hsl(118 40% 30%); --st-rose: hsl(124 40% 32%); --st-sh: 1; --st-kh: 1; --st-rs: 1; --st-krone: 1; --st-eis: 0; --st-schnee: 0; --st-altschilf: 0; --st-kolben: 1; --st-bluete: 1; --st-baumbluete: 0; --st-wolke: 0.25; --st-dunst: 0; --st-strahl: 1; --st-laubwasser: 0; --st-knick: 0; --st-sturm: 0; --st-moewe: 1; }
.am-st:has(.am-st-r--herbst:checked) { --st-sk-o: hsl(210 24% 74%); --st-sk-u: hsl(34 44% 85%); --st-wa-o: hsl(188 26% 58%); --st-wa-u: hsl(208 40% 22%); --st-ferne: hsl(30 36% 54%); --st-gras: hsl(52 34% 44%); --st-laub1: hsl(28 80% 50%); --st-laub2: hsl(42 84% 55%); --st-laub3: hsl(10 68% 44%); --st-schilf: hsl(42 50% 54%); --st-kraut: hsl(62 28% 32%); --st-rose: hsl(36 40% 36%); --st-sh: 0.95; --st-kh: 0.7; --st-rs: 0.7; --st-krone: 1; --st-eis: 0; --st-schnee: 0; --st-altschilf: 0; --st-kolben: 1; --st-bluete: 0; --st-baumbluete: 0; --st-wolke: 1; --st-dunst: 0.75; --st-strahl: 0.55; --st-laubwasser: 1; --st-knick: 0; --st-sturm: 0.6; --st-moewe: 0; }
.am-st:has(.am-st-r--winter:checked) { --st-sk-o: hsl(212 20% 70%); --st-sk-u: hsl(210 24% 88%); --st-wa-o: hsl(200 24% 54%); --st-wa-u: hsl(215 36% 18%); --st-ferne: hsl(210 12% 64%); --st-gras: hsl(205 30% 95%); --st-laub1: hsl(28 20% 34%); --st-laub2: hsl(28 20% 34%); --st-laub3: hsl(28 20% 34%); --st-schilf: hsl(34 30% 50%); --st-kraut: hsl(60 14% 34%); --st-rose: hsl(36 20% 34%); --st-sh: 0.62; --st-kh: 0.22; --st-rs: 0; --st-krone: 0; --st-eis: 1; --st-schnee: 1; --st-altschilf: 0; --st-kolben: 0.6; --st-bluete: 0; --st-baumbluete: 0; --st-wolke: 1; --st-dunst: 0.35; --st-strahl: 0.35; --st-laubwasser: 0; --st-knick: 14; --st-sturm: 1; --st-moewe: 0; }
.am-st:has(.am-st-r--morgen:checked) { --st-tz-m: 0.55; --st-tz-a: 0; --st-tz-n: 0; --st-strahl-t: 0.5; --st-sterne: 0; --st-mond: 0; --st-sonne-o: 1; --st-sonne-x: 300px; --st-sonne-y: 82px; --st-sonne: hsl(28 92% 62%); --st-dunst-t: 0.55; }
.am-st:has(.am-st-r--tag:checked) { --st-tz-m: 0; --st-tz-a: 0; --st-tz-n: 0; --st-strahl-t: 1; --st-sterne: 0; --st-mond: 0; --st-sonne-o: 1; --st-sonne-x: 830px; --st-sonne-y: 34px; --st-sonne: hsl(48 96% 64%); --st-dunst-t: 0; }
.am-st:has(.am-st-r--abend:checked) { --st-tz-m: 0; --st-tz-a: 0.62; --st-tz-n: 0; --st-strahl-t: 0.45; --st-sterne: 0; --st-mond: 0; --st-sonne-o: 1; --st-sonne-x: 940px; --st-sonne-y: 80px; --st-sonne: hsl(14 88% 56%); --st-dunst-t: 0.25; }
.am-st:has(.am-st-r--nacht:checked) { --st-tz-m: 0; --st-tz-a: 0; --st-tz-n: 0.76; --st-strahl-t: 0; --st-sterne: 1; --st-mond: 1; --st-sonne-o: 0; --st-sonne-x: 960px; --st-sonne-y: 120px; --st-sonne: hsl(14 88% 56%); --st-dunst-t: 0.2; }
.am-st-sk-o { stop-color: var(--st-sk-o); } .am-st-sk-u { stop-color: var(--st-sk-u); }
.am-st-wa-o { stop-color: var(--st-wa-o); } .am-st-wa-u { stop-color: var(--st-wa-u); }
.am-st-fl-o { stop-color: color-mix(in hsl, var(--st-wa-o) 62%, hsl(206 30% 52%)); }
.am-st-wa-mix { stop-color: color-mix(in hsl, var(--st-wa-u) 42%, var(--st-wa-o)); }
.am-st-st-sonne { stop-color: var(--st-sonne); }
.am-st-f-sonne { fill: var(--st-sonne); } .am-st-f-ferne { fill: var(--st-ferne); }
.am-st-f-laub1 { fill: var(--st-laub1); } .am-st-f-laub2 { fill: var(--st-laub2); } .am-st-f-laub3 { fill: var(--st-laub3); }
.am-st-f-kraut { fill: var(--st-kraut); } .am-st-f-rose { fill: var(--st-rose); } .am-st-f-gras { fill: var(--st-gras); }
.am-st-f-gras-dunkel { fill: color-mix(in hsl, var(--st-gras) 70%, hsl(100 40% 12%)); }
.am-st-s-schilf { stroke: var(--st-schilf); } .am-st-s-kraut { stroke: var(--st-kraut); } .am-st-s-rose { stroke: var(--st-rose); } .am-st-s-gras { stroke: var(--st-gras); }
.am-st-s-gras-dunkel { stroke: color-mix(in hsl, var(--st-gras) 78%, hsl(100 40% 12%)); }

.am-st-fig svg * { transform-box: view-box; transform-origin: 0 0; }
.am-st-halm { scale: 1 var(--st-sh); rotate: calc(var(--st-knick) * var(--r, 0) * 1deg); transition: scale 1.1s cubic-bezier(0.3, 0.7, 0.2, 1) calc(var(--i) * 24ms), rotate 1.1s ease-in-out calc(var(--i) * 24ms); }
.am-st-kraut { scale: 1 var(--st-kh); transition: scale 1.1s cubic-bezier(0.3, 0.7, 0.2, 1) calc(var(--i) * 24ms); }
.am-st-rose { scale: var(--st-rs); transition: scale 0.9s var(--am-ease, ease-out) calc(var(--i) * 60ms); }
.am-st-rose-stiel { opacity: min(1, calc(var(--st-rs) * 2)); transition: opacity 0.9s ease-in-out; }
.am-st-bluete { opacity: var(--st-bluete); scale: var(--st-bluete); transition: opacity 0.6s ease-in-out 0.5s, scale 0.6s var(--am-ease, ease-out) 0.5s; }
.am-st-kolben { opacity: var(--st-kolben); transition: opacity 0.9s ease-in-out; }
.am-st-altschilf { opacity: var(--st-altschilf); transition: opacity 0.9s ease-in-out; }
.am-st-krone { opacity: var(--st-krone); transition: opacity 1.2s ease-in-out; }
.am-st-baumbluete { opacity: var(--st-baumbluete); transition: opacity 0.9s ease-in-out 0.3s; }
.am-st-baumschatten { opacity: calc(0.07 + 0.13 * var(--st-krone)); transition: opacity 1.2s ease-in-out; }
.am-st-schnee { opacity: var(--st-schnee); transition: opacity 1.2s ease-in-out; }
.am-st-wolken { opacity: var(--st-wolke); transition: opacity 1.2s ease-in-out; }
.am-st-moewen { opacity: var(--st-moewe); transition: opacity 1.2s ease-in-out; }
.am-st-sturm { opacity: var(--st-sturm); transition: opacity 1.2s ease-in-out; }
.am-st-ruhig { opacity: calc(0.8 - 0.8 * var(--st-sturm)); transition: opacity 1.2s ease-in-out; }
.am-st-dunst { opacity: max(var(--st-dunst), var(--st-dunst-t)); transition: opacity 1.4s ease-in-out; }
.am-st-strahlen { opacity: calc(var(--st-strahl) * var(--st-strahl-t)); transition: opacity 1.4s ease-in-out; }
.am-st-laubwasser { opacity: var(--st-laubwasser); transition: opacity 1s ease-in-out 1.6s; }
.am-st-eis { opacity: var(--st-eis); scale: var(--st-eis) 1; transition: scale 1.6s cubic-bezier(0.5, 0, 0.2, 1), opacity 0.6s ease-in-out; }
.am-st-gew[data-gewaesser="fluss"] .am-st-eis { scale: 1; transition: opacity 1.4s ease-in-out; }
.am-st-sterne { opacity: var(--st-sterne); transition: opacity 1.4s ease-in-out; }
.am-st-mond { opacity: var(--st-mond); transition: opacity 1.4s ease-in-out; }
.am-st-sonne { translate: var(--st-sonne-x) var(--st-sonne-y); opacity: var(--st-sonne-o); transition: translate 1.6s cubic-bezier(0.45, 0, 0.2, 1), opacity 1s ease-in-out; }
.am-st-tz rect { mix-blend-mode: multiply; transition: opacity 1.4s ease-in-out; }
.am-st-tz-m { opacity: var(--st-tz-m); } .am-st-tz-a { opacity: var(--st-tz-a); } .am-st-tz-n { opacity: var(--st-tz-n); }
.am-st-fallen, .am-st-eis, .am-st-tz, .am-st-schilder text, .am-st-weg, .am-st-koeder { pointer-events: none; }

/* Köderlauf (nur wo die Daten ihn nennen) */
.am-st-koeder { opacity: 0; clip-path: inset(0 100% 0 0); transition: opacity 0.4s ease-in-out, clip-path 1.4s cubic-bezier(0.45, 0, 0.2, 1) 0.2s; }
.am-st-koeder .am-st-linie { fill: none; stroke: hsl(30 64% 30%); stroke-width: 2; stroke-dasharray: 6 5; opacity: 0.8; }
.am-st-koeder-schild rect { fill: hsl(45 40% 97% / 0.92); stroke: var(--am-ochre, hsl(36 70% 34%)); stroke-width: 1.2; }
.am-st-koeder-schild text { font-size: 12px; font-weight: 600; fill: hsl(30 60% 26%); }
.am-st:has(.am-st-r--fruehjahr:checked) .am-st-koeder--fruehjahr, .am-st:has(.am-st-r--sommer:checked) .am-st-koeder--sommer,
.am-st:has(.am-st-r--herbst:checked) .am-st-koeder--herbst, .am-st:has(.am-st-r--winter:checked) .am-st-koeder--winter { opacity: 1; clip-path: inset(0 0 0 0); }
.am-st-wobbler { opacity: 0; transition: opacity 0.4s ease-in-out; }
.am-st-wobbler.am-st-laeuft { opacity: 1; }

/* Schilder und Hinweis „nicht da“ */
.am-st-schild { cursor: pointer; transition: opacity 0.5s ease-in-out calc(var(--d) + 0.9s), translate 0.5s var(--am-ease, ease-out) calc(var(--d) + 0.9s); }
.am-st-schild rect { fill: hsl(45 40% 97% / 0.95); stroke: hsl(210 28% 14% / 0.3); stroke-width: 1; transition: all 0.3s ease-in-out; }
.am-st-schild text { font-size: 13.5px; font-weight: 600; fill: var(--am-ink, hsl(210 28% 14%)); transition: fill 0.3s ease-in-out; }
.am-st-punkt { fill: var(--am-sea-light, hsl(96 24% 36%)); transition: fill 0.3s ease-in-out; }
.am-st:has(.am-st-r--fruehjahr:checked) .am-st-schild.am-st-nur-fruehjahr rect, .am-st:has(.am-st-r--sommer:checked) .am-st-schild.am-st-nur-sommer rect,
.am-st:has(.am-st-r--herbst:checked) .am-st-schild.am-st-nur-herbst rect, .am-st:has(.am-st-r--winter:checked) .am-st-schild.am-st-nur-winter rect { stroke: var(--am-accent, hsl(4 70% 42%)); stroke-width: 2; }
.am-st:has(.am-st-r--fruehjahr:checked) .am-st-schild.am-st-nur-fruehjahr .am-st-punkt, .am-st:has(.am-st-r--sommer:checked) .am-st-schild.am-st-nur-sommer .am-st-punkt,
.am-st:has(.am-st-r--herbst:checked) .am-st-schild.am-st-nur-herbst .am-st-punkt, .am-st:has(.am-st-r--winter:checked) .am-st-schild.am-st-nur-winter .am-st-punkt { fill: var(--am-accent, hsl(4 70% 42%)); }
.am-st-schild:hover rect, .am-st-schild.am-st-aktiv rect { fill: var(--am-ink, hsl(210 28% 14%)); stroke: var(--am-ink, hsl(210 28% 14%)); }
.am-st-schild:hover text, .am-st-schild.am-st-aktiv text { fill: var(--am-paper, hsl(45 40% 97%)); }
.am-st-weg rect { fill: hsl(45 40% 97% / 0.95); stroke: var(--am-accent, hsl(4 70% 42%)); stroke-width: 2; }
.am-st-weg text { font-size: 14px; font-weight: 600; fill: var(--am-pose-ink, hsl(4 70% 38%)); }

/* Fische: je Jahreszeit ein- und ausschwimmen */
.am-st-fisch { cursor: pointer; }
.am-st-treffer { fill: transparent; }
.am-st-schatten { fill: hsl(215 50% 10%); opacity: 0.12; filter: blur(2px); }
.am-st-fb { transition: translate 1.9s cubic-bezier(0.16, 0.84, 0.3, 1) var(--d), opacity 0.9s ease-in-out var(--d); }
.am-st-fk { transition: opacity 0.8s ease-in-out; }
.am-st:has(.am-st-r--fruehjahr:checked) .am-st-fisch:not(.am-st-in-fruehjahr), .am-st:has(.am-st-r--sommer:checked) .am-st-fisch:not(.am-st-in-sommer),
.am-st:has(.am-st-r--herbst:checked) .am-st-fisch:not(.am-st-in-herbst), .am-st:has(.am-st-r--winter:checked) .am-st-fisch:not(.am-st-in-winter),
.am-st:has(.am-st-r--fruehjahr:checked) .am-st-schild:not(.am-st-in-fruehjahr), .am-st:has(.am-st-r--sommer:checked) .am-st-schild:not(.am-st-in-sommer),
.am-st:has(.am-st-r--herbst:checked) .am-st-schild:not(.am-st-in-herbst), .am-st:has(.am-st-r--winter:checked) .am-st-schild:not(.am-st-in-winter) { pointer-events: none; }
.am-st:has(.am-st-r--fruehjahr:checked) .am-st-fisch:not(.am-st-in-fruehjahr) .am-st-fb, .am-st:has(.am-st-r--sommer:checked) .am-st-fisch:not(.am-st-in-sommer) .am-st-fb,
.am-st:has(.am-st-r--herbst:checked) .am-st-fisch:not(.am-st-in-herbst) .am-st-fb, .am-st:has(.am-st-r--winter:checked) .am-st-fisch:not(.am-st-in-winter) .am-st-fb,
.am-st-warten .am-st-fb { translate: calc(var(--von) * 1px) 0; opacity: 0; }
.am-st:has(.am-st-r--fruehjahr:checked) .am-st-schild:not(.am-st-in-fruehjahr), .am-st:has(.am-st-r--sommer:checked) .am-st-schild:not(.am-st-in-sommer),
.am-st:has(.am-st-r--herbst:checked) .am-st-schild:not(.am-st-in-herbst), .am-st:has(.am-st-r--winter:checked) .am-st-schild:not(.am-st-in-winter),
.am-st-warten .am-st-schild { opacity: 0; translate: 0 8px; transition-delay: 0s; }
.am-st:has(.am-st-r--fruehjahr:checked) .am-st-blass-fruehjahr .am-st-fk, .am-st:has(.am-st-r--sommer:checked) .am-st-blass-sommer .am-st-fk,
.am-st:has(.am-st-r--herbst:checked) .am-st-blass-herbst .am-st-fk, .am-st:has(.am-st-r--winter:checked) .am-st-blass-winter .am-st-fk { opacity: 0.5; }
.am-st-fisch.am-st-aktiv .am-st-fk { filter: drop-shadow(0 0 5px hsl(50 100% 90%)); }
.am-st:has(.am-st-r--winter:checked) .am-st-fk { filter: saturate(0.75); }
@keyframes am-st-wedeln { from { rotate: -7deg; } to { rotate: 7deg; } }
@keyframes am-st-wedeln-z { from { rotate: -9deg; } to { rotate: 9deg; } }
@keyframes am-st-wedeln-d { from { rotate: -4deg; } to { rotate: 4deg; } }
@keyframes am-st-schwanz { from { rotate: 8deg; } to { rotate: -8deg; } }
@keyframes am-st-jagd { 0% { translate: 0 0; } 16% { translate: 30px -2px; } 30% { translate: 26px 0; } 100% { translate: 0 0; } }
@keyframes am-st-ruck { 0% { translate: 0 0; } 30% { translate: 9px 0; } 100% { translate: 0 0; } }
.am-st-los .am-st-hs { animation: am-st-wedeln 0.4s ease-in-out calc(var(--d) + 0.1s) 9 alternate; }
.am-st-los .am-st-hs2 { animation: am-st-schwanz 0.4s ease-in-out calc(var(--d) + 0.2s) 9 alternate; }
.am-st-fj.am-st-zuck { animation: am-st-ruck 0.9s var(--am-ease, ease-out); }
.am-st-fj.am-st-zuck .am-st-hs { animation: am-st-wedeln-z 0.26s ease-in-out 6 alternate; }
.am-st-fj.am-st-zuck .am-st-hs2 { animation: am-st-schwanz 0.26s ease-in-out 0.08s 6 alternate; }
.am-st-fj.am-st-jagd { animation: am-st-jagd 1.3s cubic-bezier(0.2, 0.9, 0.3, 1); }
.am-st-fj.am-st-jagd .am-st-hs { animation: am-st-wedeln-z 0.16s ease-in-out 8 alternate; }
.am-st-fj.am-st-jagd .am-st-hs2 { animation: am-st-schwanz 0.16s ease-in-out 0.05s 8 alternate; }

/* Futterfische */
.am-st-beute { transition: translate 1.8s cubic-bezier(0.16, 0.84, 0.3, 1) var(--d), opacity 1s ease-in-out var(--d); }
.am-st-warten .am-st-beute { translate: -40px 0; opacity: 0; }
@keyframes am-st-flucht { 0% { translate: 0 0; } 18% { translate: var(--fx) var(--fy); } 100% { translate: 0 0; } }
.am-st-schwarm.am-st-flucht .am-st-beute { animation: am-st-flucht 1.8s cubic-bezier(0.2, 0.9, 0.3, 1) calc(var(--d) * 0.2); }

/* Fallendes Laub, Schnee (einmal beim Wechsel der Jahreszeit) */
.am-st-fig svg .am-st-blatt, .am-st-fig svg .am-st-flocke { opacity: 0; transform-box: fill-box; transform-origin: center; }
@keyframes am-st-fallen {
	0% { translate: 0 0; rotate: 0deg; opacity: 0; }
	8% { opacity: 1; }
	50% { translate: calc(var(--dx) * 0.45px + 10px) calc(var(--dy) * 0.5px); }
	88% { opacity: 1; }
	100% { translate: calc(var(--dx) * 1px) calc(var(--dy) * 1px); rotate: calc(var(--rot) * 1deg); opacity: 0; }
}
@keyframes am-st-schnee {
	0% { translate: 0 0; opacity: 0; }
	12% { opacity: 0.95; }
	50% { translate: calc(var(--dx) * 0.5px + 6px) calc(var(--dy) * 0.5px); }
	85% { opacity: 0.95; }
	100% { translate: calc(var(--dx) * 1px) calc(var(--dy) * 1px); opacity: 0; }
}
.am-st-fallen--herbst.am-st-fall .am-st-blatt { animation: am-st-fallen var(--t) cubic-bezier(0.4, 0.1, 0.6, 1) var(--d) both; }
.am-st-fallen--winter.am-st-fall .am-st-flocke { animation: am-st-schnee var(--t) linear var(--d) 2 both; }
.am-st:not(:has(.am-st-r--herbst:checked)) .am-st-fallen--herbst, .am-st:not(:has(.am-st-r--winter:checked)) .am-st-fallen--winter { display: none; }
@keyframes am-st-treiben { from { translate: -90px 0; } }
.am-st-treib.am-st-fall { animation: am-st-treiben 3.2s cubic-bezier(0.2, 0.7, 0.3, 1); }

/* Strömung (Fluss) läuft beim ersten Sichtkontakt einmal durch */
@keyframes am-st-fliessen { to { stroke-dashoffset: calc(var(--p) * -6px); } }
.am-st-los .am-st-stroemung path { animation: am-st-fliessen 5s cubic-bezier(0.25, 0.6, 0.4, 1) calc(var(--i) * 80ms); }

/* Dauerbewegung, nur solange die Szene im Bild ist (Skript setzt .am-st-sicht beim Rein- und nimmt es beim Rausscrollen) */
@keyframes am-st-wiegen { from { rotate: calc(var(--st-knick) * var(--r, 0) * 1deg - 2deg); } to { rotate: calc(var(--st-knick) * var(--r, 0) * 1deg + 2deg); } }
@keyframes am-st-wiegen-k { from { rotate: -3deg; } to { rotate: 3deg; } }
@keyframes am-st-wandern { from { translate: -14px 0; } to { translate: 14px 0; } }
@keyframes am-st-schweben { from { translate: 0 -1.5px; } to { translate: 0 1.5px; } }
@keyframes am-st-treiben-t { from { translate: 0 0; } to { translate: 8px -14px; } }
@keyframes am-st-glitzern { from { translate: 0 0; } to { translate: 24px 0; } }
@keyframes am-st-ziehen { from { translate: -4px -2px; } to { translate: 5px 2px; } }
@keyframes am-st-wolke { from { translate: -18px 0; } to { translate: 18px 0; } }
@keyframes am-st-welle { from { translate: -8px 0; } to { translate: 8px 1px; } }
@keyframes am-st-fliessen-d { to { stroke-dashoffset: calc(var(--p) * -1px); } }
.am-st-sicht .am-st-halm { animation: am-st-wiegen 3.6s ease-in-out calc(var(--i) * -170ms) infinite alternate; }
.am-st-sicht .am-st-kraut { animation: am-st-wiegen-k 4.2s ease-in-out calc(var(--i) * -230ms) infinite alternate; }
.am-st-sicht .am-st-strahlen { animation: am-st-wandern 9s ease-in-out infinite alternate; }
.am-st-sicht .am-st-teilchen circle { animation: am-st-treiben-t 7s ease-in-out var(--d) infinite alternate; }
.am-st-sicht .am-st-kaustik { animation: am-st-glitzern 5s ease-in-out infinite alternate; }
.am-st-sicht .am-st-wolken { animation: am-st-wolke 26s ease-in-out infinite alternate; }
.am-st-sicht .am-st-moewen { animation: am-st-wolke 11s ease-in-out infinite alternate; }
.am-st-sicht .am-st-ruhig, .am-st-sicht .am-st-sturm { animation: am-st-welle 3.2s ease-in-out infinite alternate; }
.am-st-sicht .am-st-fk { animation: am-st-schweben 3.4s ease-in-out infinite alternate; }
.am-st-sicht .am-st-fj:not(.am-st-zuck):not(.am-st-jagd) .am-st-hs { animation: am-st-wedeln-d 1.3s ease-in-out infinite alternate; }
.am-st-sicht .am-st-fj:not(.am-st-zuck):not(.am-st-jagd) .am-st-hs2 { animation: am-st-schwanz 1.3s ease-in-out 0.3s infinite alternate; }
.am-st-sicht .am-st-schwarm:not(.am-st-flucht) .am-st-beute { animation: am-st-ziehen 2.6s ease-in-out var(--d) infinite alternate; }
.am-st-sicht .am-st-stroemung path { animation: am-st-fliessen-d var(--v) linear infinite; }
.am-st-sicht .am-st-fallen--herbst .am-st-blatt { animation: am-st-fallen var(--t) cubic-bezier(0.4, 0.1, 0.6, 1) calc(var(--d) * 2.5) infinite both; }
.am-st-sicht .am-st-fallen--winter .am-st-flocke { animation: am-st-schnee var(--t) linear var(--d) infinite both; }
/* Kosten (Vollprüfung 14.10.2026, A2): Laub und Schnee der nicht gewählten Jahreszeit und ausgeblendete Fische laufen nicht mit –
   SVG-Ebenen mit display: none spielen ihre Animationen in Chrome sonst weiter. Das Bild bleibt gleich. */
.am-st:not(:has(.am-st-r--herbst:checked)) .am-st-fallen--herbst .am-st-blatt, .am-st:not(:has(.am-st-r--winter:checked)) .am-st-fallen--winter .am-st-flocke,
.am-st:has(.am-st-r--fruehjahr:checked) .am-st-fisch:not(.am-st-in-fruehjahr) :is(.am-st-fk, .am-st-hs, .am-st-hs2),
.am-st:has(.am-st-r--sommer:checked) .am-st-fisch:not(.am-st-in-sommer) :is(.am-st-fk, .am-st-hs, .am-st-hs2),
.am-st:has(.am-st-r--herbst:checked) .am-st-fisch:not(.am-st-in-herbst) :is(.am-st-fk, .am-st-hs, .am-st-hs2),
.am-st:has(.am-st-r--winter:checked) .am-st-fisch:not(.am-st-in-winter) :is(.am-st-fk, .am-st-hs, .am-st-hs2) { animation: none; }

/* Wachsen beim ersten Sichtkontakt (Skript setzt .am-st-warten, dann .am-st-los) */
.am-st-warten .am-st-halm, .am-st-warten .am-st-kraut { scale: 1 0; }
.am-st-warten .am-st-rose { scale: 0; }
.am-st-warten .am-st-strahlen { opacity: 0; }

/* Schmale Bildschirme: Bild bleibt mindestens 640 Einheiten breit, Schilder werden größer, damit sie lesbar bleiben */
@media (max-width: 680px) {
	.am-st-fig svg .am-st-schild, .am-st-fig svg .am-st-weg { transform-box: fill-box; transform-origin: 50% 0; scale: 1.35; }
}

/* Reduzierte Bewegung: alles sofort im Endzustand */
@media (prefers-reduced-motion: reduce) {
	.am-st, .am-st * { animation: none !important; transition: none !important; }
}

.am-fs-warten .am-fs-cell, .am-fs-warten .am-st-karte svg[viewBox="0 0 300 62"] rect { opacity: 0; }
.am-fs-sicht .am-fs-cell { animation: am-fs-zelle 0.5s cubic-bezier(0.22, 1, 0.36, 1) both; }
.am-fs-sicht .am-st-karte svg[viewBox="0 0 300 62"] rect { transform-box: fill-box; transform-origin: 0 50%; animation: am-fs-balken 0.6s cubic-bezier(0.22, 1, 0.36, 1) both; }
.am-fs-sicht .am-fs-cell:nth-child(2), .am-fs-sicht .am-st-karte svg[viewBox="0 0 300 62"] rect:nth-of-type(2) { animation-delay: 0.04s; }
.am-fs-sicht .am-fs-cell:nth-child(3), .am-fs-sicht .am-st-karte svg[viewBox="0 0 300 62"] rect:nth-of-type(3) { animation-delay: 0.08s; }
.am-fs-sicht .am-fs-cell:nth-child(4), .am-fs-sicht .am-st-karte svg[viewBox="0 0 300 62"] rect:nth-of-type(4) { animation-delay: 0.12s; }
.am-fs-sicht .am-fs-cell:nth-child(5), .am-fs-sicht .am-st-karte svg[viewBox="0 0 300 62"] rect:nth-of-type(5) { animation-delay: 0.16s; }
.am-fs-sicht .am-fs-cell:nth-child(6), .am-fs-sicht .am-st-karte svg[viewBox="0 0 300 62"] rect:nth-of-type(6) { animation-delay: 0.2s; }
.am-fs-sicht .am-fs-cell:nth-child(7), .am-fs-sicht .am-st-karte svg[viewBox="0 0 300 62"] rect:nth-of-type(7) { animation-delay: 0.24s; }
.am-fs-sicht .am-fs-cell:nth-child(8), .am-fs-sicht .am-st-karte svg[viewBox="0 0 300 62"] rect:nth-of-type(8) { animation-delay: 0.28s; }
.am-fs-sicht .am-fs-cell:nth-child(9) { animation-delay: 0.32s; }
.am-fs-sicht .am-fs-cell:nth-child(10) { animation-delay: 0.36s; }
.am-fs-sicht .am-fs-cell:nth-child(11) { animation-delay: 0.4s; }
.am-fs-sicht .am-fs-cell:nth-child(12) { animation-delay: 0.44s; }
@keyframes am-fs-zelle { from { opacity: 0; transform: translateY(10px) scale(0.9); } }
@keyframes am-fs-balken { from { opacity: 0; transform: scaleX(0.2); } }
@media (prefers-reduced-motion: reduce) {
	.am-fs-sicht .am-fs-cell, .am-fs-sicht .am-st-karte svg[viewBox="0 0 300 62"] rect { animation: none !important; }
	.am-fs-warten .am-fs-cell, .am-fs-warten .am-st-karte svg[viewBox="0 0 300 62"] rect { opacity: 1; }
}
.am-fs-anleitung { margin: 0 0 1.2rem; padding: 12px 16px; border: 1px solid hsl(37 84% 60% / 0.45); border-radius: var(--am-radius-s, 8px); background: hsl(37 84% 60% / 0.06); }
.am-fs-anleitung a { font-weight: 600; }
.am-fs-tipp { margin: 1rem 0; padding: 12px 16px; border-left: 4px solid var(--am-accent, hsl(37 84% 60%)); background: hsl(37 84% 60% / 0.08); border-radius: 0 var(--am-radius-s, 8px) var(--am-radius-s, 8px) 0; }
	