/* Bonn entdecken – alle Regeln sind auf .bg-app begrenzt, damit das Theme unberührt bleibt. */
.bg-app, .bg-sheet-bg, .bg-single {
	--bg-surface: #ffffff;
	--bg-fg: #1c2230;
	--bg-muted: #5e6474;
	--bg-line: #e3dee3;
	--bg-river: #2d5b7a;
	--bg-blossom: #c23e68;
	--bg-blossom-soft: #f7dce5;
	--bg-ph1: #dce6ee;
	--bg-ph2: #f3dce4;
	--bg-display: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
}
.bg-app, .bg-app *, .bg-sheet-bg, .bg-sheet-bg * { box-sizing: border-box; }
/* Versteckte Elemente immer ausblenden – auch wenn eine Regel unten display setzt */
.bg-app [hidden], .bg-sheet-bg [hidden] { display: none !important; }
.bg-app { color: var(--bg-fg); font-family: inherit; line-height: 1.5; width: 100%; max-width: var(--bg-maxw, none); margin: 0 auto; }

/* Theme-Stile für Buttons/Überschriften neutralisieren */
.bg-app button, .bg-sheet-bg button {
	-webkit-appearance: none; appearance: none; margin: 0; box-shadow: none; text-transform: none;
	letter-spacing: normal; line-height: 1.3; font-family: inherit; text-shadow: none; min-height: 0;
}
.bg-app h2, .bg-app h3, .bg-sheet-bg h2 { margin: 0; padding: 0; text-transform: none; letter-spacing: normal; color: var(--bg-fg); border: 0; }
.bg-app img, .bg-sheet-bg img { max-width: 100%; height: auto; border: 0; box-shadow: none; border-radius: 0; }

.bg-app :focus-visible, .bg-sheet-bg :focus-visible { outline: 2px solid var(--bg-blossom); outline-offset: 2px; }

.bg-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.bg-app .bg-title { font-family: var(--bg-display); font-weight: 400; font-size: clamp(1.7rem, 5vw, 2.3rem); line-height: 1.1; margin: 0; }
.bg-title em { font-style: normal; color: var(--bg-blossom); }
.bg-coords { font-size: .75rem; color: var(--bg-muted); letter-spacing: .06em; text-transform: uppercase; font-variant-numeric: tabular-nums; }

.bg-tabs { display: flex; width: fit-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; gap: 4px; background: var(--bg-blossom-soft); padding: 4px; border-radius: 999px; margin-top: 14px; }
.bg-app .bg-tab { flex: none; white-space: nowrap; border: 0; background: transparent; color: var(--bg-fg); padding: 7px 14px; border-radius: 999px; font-size: .9rem; font-weight: 600; cursor: pointer; }
.bg-app .bg-tab[aria-current="true"] { background: var(--bg-surface); color: var(--bg-blossom); }

.bg-app .bg-search { display: block; margin-top: 12px; width: 100%; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--bg-line); background: var(--bg-surface); color: var(--bg-fg); font: inherit; box-shadow: none; }
.bg-chips { display: flex; gap: 8px; overflow-x: auto; padding: 10px 0 2px; scrollbar-width: none; }
.bg-app .bg-chip { flex: none; border: 1px solid var(--bg-line); background: var(--bg-surface); color: var(--bg-fg); padding: 7px 13px; border-radius: 999px; font-size: .9rem; font-weight: 500; cursor: pointer; }
.bg-app .bg-chip[aria-pressed="true"] { background: var(--bg-river); border-color: var(--bg-river); color: #fff; }

.bg-season { margin: 14px 0 6px; padding: 16px 18px; border-radius: 16px; background: var(--bg-blossom-soft); display: grid; gap: 4px; }
.bg-season small { text-transform: uppercase; letter-spacing: .08em; font-weight: 700; font-size: .72rem; color: var(--bg-blossom); }
.bg-season b { font-family: var(--bg-display); font-weight: 400; font-size: 1.2rem; }
.bg-season p { margin: 0; }

.bg-count { color: var(--bg-muted); font-size: .85rem; margin: 14px 0 8px; }
.bg-list { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.bg-card { background: var(--bg-surface); border-radius: 16px; overflow: hidden; border: 1px solid var(--bg-line); display: flex; flex-direction: column; cursor: pointer; }
.bg-card-body { padding: 12px 14px 14px; display: grid; gap: 4px; min-width: 0; }
.bg-app .bg-card h3 { font-family: var(--bg-display); font-weight: 400; font-size: 1.2rem; line-height: 1.25; }
.bg-card p { margin: 0; color: var(--bg-muted); font-size: .92rem; }
.bg-meta { display: flex; gap: 10px; flex-wrap: wrap; font-size: .78rem; color: var(--bg-river); font-weight: 600; }

.bg-photo { position: relative; aspect-ratio: 16 / 10; max-width: 100%; background: linear-gradient(135deg, var(--bg-ph1), var(--bg-ph2)); display: grid; place-items: center; color: var(--bg-river); overflow: hidden; }
.bg-app .bg-photo img, .bg-sheet-bg .bg-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bg-photo > svg { width: 56px; height: 56px; opacity: .85; }
.bg-hint { position: absolute; left: 10px; bottom: 8px; font-size: .72rem; background: var(--bg-surface); color: var(--bg-muted); padding: 3px 8px; border-radius: 6px; }
.bg-app .bg-fav { position: absolute; top: 8px; right: 8px; width: 38px; height: 38px; padding: 0; border-radius: 50%; border: 0; background: var(--bg-surface); color: var(--bg-muted); display: grid; place-items: center; cursor: pointer; }
.bg-app .bg-fav[aria-pressed="true"] { color: var(--bg-blossom); }
.bg-fav svg { width: 20px; height: 20px; }
.bg-empty { padding: 40px 16px; text-align: center; color: var(--bg-muted); grid-column: 1 / -1; }

/* Detailansicht */
.bg-sheet-bg { position: fixed; inset: 0; z-index: 99999; background: rgba(10, 14, 20, .55); display: flex; align-items: flex-end; justify-content: center; color: var(--bg-fg); line-height: 1.5; }
.bg-sheet { background: #f7f5f7; width: 100%; max-width: 760px; max-height: 92%; overflow-y: auto; border-radius: 20px 20px 0 0; padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }
.bg-sheet .bg-photo { aspect-ratio: 16 / 9; }
.bg-sheet-inner { padding: 16px 18px; display: grid; gap: 14px; }
.bg-sheet-bg .bg-sheet h2 { font-family: var(--bg-display); font-weight: 400; font-size: 1.7rem; line-height: 1.15; }
.bg-sheet p { margin: 0; max-width: 65ch; }
.bg-text p + p { margin-top: .8em; }
.bg-facts { display: grid; gap: 8px; background: var(--bg-surface); border: 1px solid var(--bg-line); border-radius: 14px; padding: 12px 14px; font-size: .92rem; margin: 0; }
.bg-facts div { display: grid; grid-template-columns: 88px 1fr; gap: 10px; }
.bg-facts dt { color: var(--bg-muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; padding-top: 2px; font-weight: 400; }
.bg-facts dd { margin: 0; min-width: 0; }
.bg-tip { border-left: 3px solid var(--bg-blossom); padding: 4px 0 4px 12px; }
.bg-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.bg-sheet-bg .bg-btn { flex: 1; min-width: 140px; text-align: center; padding: 12px 14px; border-radius: 12px; font-size: .95rem; font-weight: 600; text-decoration: none; border: 1px solid var(--bg-river); cursor: pointer; }
.bg-sheet-bg .bg-btn-primary { background: var(--bg-river); color: #fff; }
.bg-sheet-bg .bg-btn-ghost { background: transparent; color: var(--bg-river); }
.bg-sheet-bg .bg-close { position: absolute; top: 10px; left: 10px; width: 38px; height: 38px; padding: 0; border-radius: 50%; border: 0; background: var(--bg-surface); color: var(--bg-fg); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.bg-note { font-size: .8rem; color: var(--bg-muted); }
body.bg-lock { overflow: hidden; }

@media (prefers-reduced-motion: no-preference) {
	.bg-sheet { animation: bg-up .25s ease-out; }
	@keyframes bg-up { from { transform: translateY(30px); opacity: .6; } }
}

/* ---- Version 1.1: Gastronomie & Rundgänge ---- */
.bg-sheet-top { position: relative; }
.bg-kitchen { font-style: italic; }
.bg-ad { position: absolute; top: 10px; left: 10px; background: #1c2230; color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; }
.bg-ad.bg-ad-inline { position: static; display: inline-block; }
.bg-photo-tour { background: linear-gradient(135deg, var(--bg-river), #5f8fae); color: #fff; }
.bg-duration { position: absolute; left: 12px; bottom: 10px; font-family: var(--bg-display); font-size: 1.6rem; line-height: 1; color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, .35); font-variant-numeric: tabular-nums; }
.bg-sheet-bg .bg-sub { font-family: var(--bg-display); font-weight: 400; font-size: 1.2rem; margin: 4px 0 0; color: var(--bg-fg); }

.bg-stops { list-style: none; margin: 0; padding: 0; counter-reset: bgstop; display: grid; gap: 0; }
.bg-stops li { counter-increment: bgstop; position: relative; padding: 0 0 18px 44px; }
.bg-stops li::before { content: counter(bgstop); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--bg-river); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .85rem; font-variant-numeric: tabular-nums; }
.bg-stops li::after { content: ""; position: absolute; left: 14px; top: 32px; bottom: 2px; width: 2px; background: var(--bg-line); }
.bg-stops li:last-child { padding-bottom: 0; }
.bg-stops li:last-child::after { display: none; }
.bg-stop-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; min-height: 30px; padding-top: 3px; }
.bg-stops p { margin: 2px 0 0; color: var(--bg-muted); font-size: .92rem; }
.bg-sheet-bg .bg-stop-link { border: 0; background: none; padding: 0; color: var(--bg-river); font-weight: 700; font-size: 1rem; text-align: left; cursor: pointer; text-decoration: underline; text-decoration-color: var(--bg-line); text-underline-offset: 3px; }
.bg-stop-name { font-weight: 700; }
.bg-stop-dur { flex: none; font-size: .78rem; color: var(--bg-muted); font-variant-numeric: tabular-nums; }
.bg-sheet-bg .bg-back { justify-self: start; border: 0; background: var(--bg-blossom-soft); color: var(--bg-blossom); padding: 6px 12px; border-radius: 999px; font-size: .85rem; font-weight: 600; cursor: pointer; }
.bg-facts a { color: var(--bg-river); word-break: break-all; }

/* ---- Version 1.2: Übernachten, Tanken & Laden ---- */
.bg-247 { position: absolute; left: 10px; top: 10px; background: var(--bg-river); color: #fff; font-size: .72rem; font-weight: 700; padding: 3px 8px; border-radius: 6px; font-variant-numeric: tabular-nums; }
.bg-info { margin: 14px 0 6px; padding: 16px 18px; border-radius: 16px; background: #e6eef4; display: grid; gap: 6px; }
.bg-info small { text-transform: uppercase; letter-spacing: .08em; font-weight: 700; font-size: .72rem; color: var(--bg-river); }
.bg-info p { margin: 0; }
.bg-info-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.bg-app .bg-info-links a { background: var(--bg-surface); color: var(--bg-river); border: 1px solid var(--bg-line); border-radius: 999px; padding: 6px 12px; font-size: .88rem; font-weight: 600; text-decoration: none; }
.bg-app .bg-info-links a:hover { border-color: var(--bg-river); }

/* ---- Version 1.3: Sprachschalter DE/EN ---- */
.bg-head-right { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.bg-lang { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--bg-line); border-radius: 999px; background: var(--bg-surface); }
.bg-app .bg-lang-btn { display: inline-flex; align-items: center; gap: 6px; border: 0; background: transparent; color: var(--bg-muted); padding: 5px 10px; border-radius: 999px; font-size: .8rem; font-weight: 700; letter-spacing: .04em; cursor: pointer; }
.bg-app .bg-lang-btn[aria-pressed="true"] { background: var(--bg-river); color: #fff; }
.bg-lang-btn svg { width: 18px; height: 12px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); flex: none; }

/* ---- Version 1.4: Karte ---- */
.bg-viewbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 14px 0 8px; }
.bg-viewbar .bg-count { margin: 0; }
.bg-view { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--bg-line); border-radius: 999px; background: var(--bg-surface); }
.bg-app .bg-view-btn { border: 0; background: transparent; color: var(--bg-muted); padding: 5px 14px; border-radius: 999px; font-size: .85rem; font-weight: 600; cursor: pointer; }
.bg-app .bg-view-btn[aria-pressed="true"] { background: var(--bg-river); color: #fff; }

.bg-mapwrap, .bg-tourmap-wrap { position: relative; z-index: 0; isolation: isolate; border-radius: 16px; overflow: hidden; border: 1px solid var(--bg-line); background: #e9eef2; }
.bg-map { height: min(62vh, 520px); min-height: 320px; }
.bg-tourmap { height: 300px; }
.bg-app .leaflet-container, .bg-sheet-bg .leaflet-container { font: inherit; font-size: .9rem; background: #e9eef2; }
.bg-app .leaflet-container img, .bg-sheet-bg .leaflet-container img { max-width: none !important; max-height: none !important; }
.bg-map-msg { position: absolute; left: 12px; right: 12px; top: 12px; z-index: 1000; background: var(--bg-surface); border: 1px solid var(--bg-line); border-radius: 12px; padding: 10px 14px; color: var(--bg-muted); font-size: .9rem; }
.bg-map-msg.bg-map-consent { position: static; border: 0; border-radius: 0; background: transparent; padding: 0; }

.bg-consent { display: grid; gap: 10px; justify-items: start; padding: 22px 20px; min-height: 220px; align-content: center; color: var(--bg-fg); }
.bg-consent b { font-family: var(--bg-display); font-weight: 400; font-size: 1.2rem; }
.bg-consent p { margin: 0; max-width: 52ch; color: var(--bg-muted); font-size: .92rem; }
.bg-consent-check { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--bg-muted); cursor: pointer; }
.bg-app .bg-consent .bg-btn, .bg-sheet-bg .bg-consent .bg-btn { flex: none; min-width: 0; padding: 10px 18px; border-radius: 12px; font-size: .95rem; font-weight: 600; border: 1px solid var(--bg-river); background: var(--bg-river); color: #fff; cursor: pointer; }

.bg-pin { background: none; border: 0; }
.bg-pin-dot { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .35); }
.bg-pin-dot svg { width: 17px; height: 17px; }
.bg-pin-num { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--bg-river); color: #fff; font-weight: 700; font-size: .85rem; border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .35); font-variant-numeric: tabular-nums; }
.bg-pop { display: grid; gap: 4px; min-width: 180px; max-width: 240px; color: #1c2230; }
.bg-pop b { font-size: .98rem; }
.bg-pop p { margin: 0; color: #5e6474; font-size: .85rem; line-height: 1.4; }
.bg-pop .bg-pop-btn { justify-self: start; margin-top: 4px; border: 0; background: #2d5b7a; color: #fff; padding: 6px 12px; border-radius: 8px; font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer; }

/* ---- Version 1.5: Anzeigen ---- */
.bg-adcard { border-style: dashed; }
.bg-app .bg-adlink { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.bg-app .bg-adlink:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.bg-app .bg-adphoto img { object-fit: contain; padding: 8% 10%; }
.bg-adcard .bg-ad { background: #5e6474; }
.bg-app .bg-adbtn { justify-self: start; margin-top: 6px; display: inline-block; background: var(--bg-river); color: #fff; padding: 7px 14px; border-radius: 10px; font-size: .88rem; font-weight: 600; }

/* ---- Version 1.6: Kompakte Liste, „Weitere anzeigen“, „Nach oben“ ---- */
.bg-list.bg-rows { grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 8px; }
.bg-rows .bg-card { flex-direction: row; align-items: stretch; border-radius: 12px; }
.bg-rows .bg-photo, .bg-rows .bg-adphoto { flex: none; width: 92px; aspect-ratio: auto; min-height: 92px; }
.bg-rows .bg-photo > svg { width: 32px; height: 32px; }
.bg-rows .bg-hint, .bg-rows .bg-247 { display: none; }
.bg-rows .bg-ad { top: 6px; left: 6px; font-size: .6rem; padding: 2px 5px; }
.bg-rows .bg-duration { left: 8px; bottom: 6px; font-size: 1.05rem; }
.bg-app .bg-rows .bg-fav { top: auto; bottom: 6px; right: 6px; width: 30px; height: 30px; }
.bg-rows .bg-fav svg { width: 16px; height: 16px; }
.bg-rows .bg-card-body { padding: 8px 12px; gap: 2px; align-content: center; }
.bg-app .bg-rows .bg-card h3 { font-size: 1.02rem; }
.bg-rows .bg-meta { font-size: .72rem; gap: 8px; }
.bg-rows .bg-card p { font-size: .85rem; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.bg-rows .bg-kitchen { display: none !important; }
.bg-app .bg-rows .bg-adlink { flex-direction: row; }
.bg-app .bg-rows .bg-adphoto img { padding: 10px; }
.bg-app .bg-rows .bg-adbtn { margin-top: 2px; padding: 4px 10px; font-size: .8rem; }

.bg-more-wrap { display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 18px 0 6px; }
.bg-app .bg-more { border: 1px solid var(--bg-river); background: var(--bg-surface); color: var(--bg-river); padding: 10px 22px; border-radius: 999px; font-size: .95rem; font-weight: 600; cursor: pointer; }
.bg-app .bg-more:hover { background: var(--bg-river); color: #fff; }
.bg-shown { font-size: .8rem; color: var(--bg-muted); font-variant-numeric: tabular-nums; }

.bg-app .bg-top { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 9000; border: 0; background: var(--bg-river); color: #fff; padding: 10px 16px; border-radius: 999px; font-size: .88rem; font-weight: 600; box-shadow: 0 4px 14px rgba(0, 0, 0, .22); cursor: pointer; }
@media (prefers-reduced-motion: no-preference) { .bg-app .bg-top { transition: transform .15s ease; } .bg-app .bg-top:hover { transform: translateY(-2px); } }

/* ---- Version 1.7: Werbende auf der Karte ---- */
.bg-app .bg-card p.bg-adaddr { display: flex; align-items: center; gap: 5px; color: var(--bg-fg); font-size: .85rem; }
.bg-adaddr svg { width: 14px; height: 14px; flex: none; color: var(--bg-blossom); }
.bg-pin-ad { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 3px solid #fff; outline: 2px solid #5e6474; box-shadow: 0 3px 10px rgba(0, 0, 0, .35); overflow: hidden; font-size: .6rem; font-weight: 700; color: #1c2230; }
.bg-pin-ad img { width: 86%; height: 86%; object-fit: contain; }
.bg-pop-ad { justify-self: start; background: #5e6474; color: #fff; font-size: .65rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 2px 6px; border-radius: 4px; }
.bg-pop-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 4px; }
.bg-pop a.bg-pop-btn { display: inline-block; margin: 0; background: #2d5b7a; color: #fff; padding: 6px 12px; border-radius: 8px; font-size: .85rem; font-weight: 600; text-decoration: none; }
.bg-pop a.bg-pop-link { color: #2d5b7a; font-size: .85rem; font-weight: 600; }

/* ---- Version 1.10: Live-Belegung & Fahrradstellplätze ---- */
.bg-live, .bg-pin-live, .bg-pop-live, .bg-livefact { font-weight: 700; font-variant-numeric: tabular-nums; border-radius: 6px; color: #fff; }
.bg-live { position: absolute; left: 10px; top: 10px; font-size: .78rem; padding: 3px 8px; box-shadow: 0 1px 4px rgba(0, 0, 0, .2); }
.bg-rows .bg-live { left: 6px; top: 6px; font-size: .66rem; padding: 2px 5px; }
.bg-pin-live { position: absolute; left: 22px; top: -8px; font-size: .68rem; padding: 1px 5px; white-space: nowrap; border: 1.5px solid #fff; }
.bg-pop-live { display: inline-block; font-size: .8rem; padding: 2px 7px; }
.bg-livefact { display: inline-block; padding: 1px 7px; }
.bg-lv-ok { background: #2f7d4f; }
.bg-lv-warn { background: #b7791f; }
.bg-lv-full { background: #c0392b; }
.bg-lv-closed { background: #5e6474; }
.bg-livetime { color: var(--bg-muted); font-size: .8rem; font-weight: 400; }
.bg-pop .bg-livetime { color: #5e6474; }
.bg-livedot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #2f7d4f; margin-left: 4px; vertical-align: middle; }
@media (prefers-reduced-motion: no-preference) { .bg-livedot { animation: bg-pulse 2s ease-in-out infinite; } @keyframes bg-pulse { 50% { opacity: .35; } } }
.bg-info p.bg-info-src { font-size: .78rem; color: var(--bg-muted); }
.bg-maptools { position: absolute; left: 10px; top: 10px; z-index: 1000; background: var(--bg-surface); border: 1px solid var(--bg-line); border-radius: 10px; padding: 6px 10px; box-shadow: 0 2px 8px rgba(0, 0, 0, .15); max-width: calc(100% - 70px); }
.bg-bikes-toggle { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 600; cursor: pointer; color: var(--bg-fg); }
.bg-bikes-n { color: var(--bg-muted); font-weight: 400; }
.bg-pop .bg-pop-bike { background: #3b5bdb; }
.bg-pop p.bg-pop-src { font-size: .72rem; color: #8a8f9c; }
.bg-mapwrap .leaflet-top.leaflet-left { top: 44px; }

/* ---- Version 1.11: mehrere Kartenebenen (Fahrrad, Motorrad) ---- */
.bg-maptools { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.bg-layers-title { font-size: .75rem; color: var(--bg-muted); width: 100%; }
.bg-layer-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .2); }
.bg-mapwrap .leaflet-top.leaflet-left { top: 64px; }

/* 1.12.0 – Unterseiten der Einträge und Links in der App */
.bg-app .bg-card-link { color: inherit; text-decoration: none; }
.bg-app .bg-card-link:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.bg-pagelink { margin: 14px 0 0; font-size: .88rem; }
.bg-sheet-bg .bg-pagelink a { color: var(--bg-river); font-weight: 600; text-decoration: none; }
.bg-sheet-bg .bg-pagelink a:hover { text-decoration: underline; }

.bg-single { color: var(--bg-fg); line-height: 1.6; }
.bg-single, .bg-single * { box-sizing: border-box; }
.bg-single-ad { display: inline-block; margin: 0 0 12px; padding: 2px 9px; border-radius: 999px; background: var(--bg-blossom-soft); color: var(--bg-blossom); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.bg-single-text > :first-child { margin-top: 0; }
.bg-single-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px 18px; margin: 22px 0; padding: 16px 18px; border: 1px solid var(--bg-line); border-radius: 14px; background: var(--bg-surface); }
.bg-single-facts div { min-width: 0; }
.bg-single-facts dt { margin: 0; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--bg-muted); }
.bg-single-facts dd { margin: 2px 0 0; overflow-wrap: anywhere; }
.bg-single-stops { margin: 10px 0 22px; padding-left: 1.4em; }
.bg-single-stops li { margin: 0 0 10px; }
.bg-single-stops a { color: var(--bg-river); }
.bg-single-dur { color: var(--bg-muted); font-weight: 400; font-size: .9em; }
.bg-single-tip { margin: 18px 0; padding: 14px 16px; border-radius: 12px; background: var(--bg-blossom-soft); }
.bg-single-tip::before { content: "★ "; color: var(--bg-blossom); }
.bg-single-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
.bg-single .bg-single-btn { display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--bg-line); background: var(--bg-surface); color: var(--bg-fg); font-weight: 600; font-size: .92rem; text-decoration: none; }
.bg-single .bg-single-btn:hover { border-color: var(--bg-river); }
.bg-single .bg-single-btn.is-primary { background: var(--bg-river); border-color: var(--bg-river); color: #fff; }
.bg-single-guide { margin: 24px 0 6px; }
.bg-single-guide a { color: var(--bg-blossom); font-weight: 700; text-decoration: none; }
.bg-single-guide a:hover { text-decoration: underline; }
.bg-single-note { margin: 0; font-size: .82rem; color: var(--bg-muted); }
@media (max-width: 520px) { .bg-single-actions { flex-direction: column; } .bg-single .bg-single-btn { text-align: center; } }
.bg-single-lang { margin: 0 0 14px; text-align: right; font-size: .88rem; }
.bg-single-lang a { color: var(--bg-river); font-weight: 600; text-decoration: none; }
.bg-single-lang a:hover { text-decoration: underline; }
