/* Seenatlas – Wasserrettung Tirol. CI: Navy #0D2A50, Blau #0E478F / #0061AD, Akzent #A53A57, Schrift Manrope */
@font-face { font-family: 'Manrope'; font-weight: 200 800; font-display: swap; src: url('lib/Manrope-latin.woff2') format('woff2');
	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: 'Manrope'; font-weight: 200 800; font-display: swap; src: url('lib/Manrope-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+2113, U+2C60-2C7F, U+A720-A7FF; }
:root {
	--navy: #0D2A50; --navy-tief: #0A2140; --blau: #0E478F; --owr: #0061AD; --akzent: #A53A57;
	--hell: #7cc4ff;                       /* ÖWR-Blau, aufgehellt für dunklen Grund */
	--glas: rgba(10, 33, 64, .74);
	--linie: rgba(255, 255, 255, .13);
	--text: #f3f7fc;
	--leise: rgba(243, 247, 252, .64);
	--r: 20px;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; touch-action: none; overscroll-behavior: none; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--navy-tief); color: var(--text); font: 500 15px/1.45 'Manrope', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
button { font: inherit; color: inherit; }
canvas#szene { position: fixed; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; outline: none; }
.glas { background: var(--glas); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); box-shadow: inset 0 0 0 1px var(--linie), 0 24px 50px -24px rgba(0, 0, 0, .65); border-radius: var(--r); }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Laden */
.laden { position: fixed; inset: 0; z-index: 50; display: grid; place-content: center; justify-items: center; gap: 18px; background: radial-gradient(circle at 50% 40%, #16457e, var(--navy-tief) 70%); transition: opacity .8s; }
.laden.weg { opacity: 0; pointer-events: none; }
.laden__logo { width: 76px; height: 76px; }
.laden p { margin: 0; color: var(--leise); letter-spacing: .03em; }
.laden__ring { width: 34px; height: 34px; border-radius: 50%; border: 3px solid rgba(255,255,255,.15); border-top-color: var(--hell); animation: dreh 1s linear infinite; }
@keyframes dreh { to { transform: rotate(360deg); } }

/* Kopf: Marke + See */
.kopf { position: fixed; top: max(16px, env(safe-area-inset-top)); left: 16px; z-index: 10; width: 360px; padding: 14px 18px 18px; }
.marke { display: flex; align-items: center; gap: 11px; color: inherit; text-decoration: none; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--linie); }
.marke__logo { width: 40px; height: 40px; flex: none; border-radius: 50%; background: #fff; }
.marke__text { display: grid; line-height: 1.1; }
.marke__text b { font-size: 21px; font-weight: 800; letter-spacing: -.02em; }
.marke__text small { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--leise); margin-top: 3px; }
.see__name { margin: 0; font-size: 30px; font-weight: 800; letter-spacing: -.025em; line-height: 1.05; }
.see__ort { margin: 4px 0 12px; font-size: 13px; color: var(--leise); }
.see__hinweis { margin: 10px 0 0; font-size: 12px; line-height: 1.4; color: var(--leise); }
.see__hinweis summary { display: inline-flex; gap: 5px; align-items: center; cursor: pointer; list-style: none; user-select: none; }
.see__hinweis summary::-webkit-details-marker { display: none; }
.see__hinweis summary:hover { color: inherit; }
.see__hinweis svg { width: 14px; height: 14px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.see__daten { margin: 8px 0 0; padding: 10px 4px 0 0; border-top: 1px solid rgba(255, 255, 255, .14); color: inherit; max-height: 36vh; overflow-y: auto; overscroll-behavior: contain; }
.see__daten h3 { margin: 0 0 4px; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--leise); }
.see__daten ul { margin: 0; padding: 0; list-style: none; }
.see__daten li { position: relative; margin: 0 0 4px; padding-left: 12px; }
.see__daten li::before { content: ''; position: absolute; left: 2px; top: .62em; width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .5; }
.see__daten #see-gewaehr { margin-top: 10px; }
.see__daten p { margin: 0; }
.zahlen { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; margin: 0; }
.zahlen dt { font-size: 11px; font-weight: 600; color: var(--leise); letter-spacing: .03em; }
.zahlen dd { margin: 0; font-size: 19px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Tiefenanzeige */
.tiefe { position: fixed; top: max(16px, env(safe-area-inset-top)); right: 16px; z-index: 10; padding: 12px 18px; text-align: right; min-width: 150px; }
.tiefe__label { display: block; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--leise); }
.tiefe__wert { display: block; font-size: 26px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.tiefe.unter .tiefe__wert { color: var(--hell); }

.tip { position: fixed; z-index: 12; pointer-events: none; transform: translate(-50%, calc(-100% - 14px)); padding: 8px 12px; border-radius: 12px; background: rgba(10, 33, 64, .9); box-shadow: inset 0 0 0 1px var(--linie); white-space: nowrap; font-size: 13px; }
.tip b { font-size: 17px; margin-right: 6px; color: var(--hell); font-variant-numeric: tabular-nums; }
.tip::after { content: ''; position: absolute; left: 50%; bottom: -6px; width: 10px; height: 10px; margin-left: -5px; transform: rotate(45deg); background: rgba(10, 33, 64, .9); }

/* Werkzeugleiste */
.werkzeuge { position: fixed; left: 50%; bottom: max(18px, env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 10; display: flex; align-items: center; gap: 4px; padding: 6px; border-radius: 24px; }
.werkzeuge > button { display: grid; justify-items: center; gap: 4px; min-width: 74px; padding: 9px 8px 8px; border: 0; border-radius: 18px; background: transparent; color: var(--leise); font-size: 11.5px; font-weight: 700; line-height: 1; cursor: pointer; transition: background .2s, color .2s, opacity .2s; }
.werkzeuge > button:hover { background: rgba(255, 255, 255, .08); color: var(--text); }
.werkzeuge > button.aktiv { background: rgba(124, 196, 255, .17); color: var(--hell); }
.werkzeuge > button[disabled] { opacity: .3; pointer-events: none; }
.werkzeuge svg { width: 22px; height: 22px; }
.werkzeuge button[data-aktion="tour"] svg { fill: currentColor; stroke: none; }
.werkzeuge button[data-aktion="standort"].aktiv { background: rgba(165, 58, 87, .3); color: #ffb3c6; }
.modus { display: flex; padding: 3px; margin-right: 4px; border-radius: 16px; background: rgba(0, 0, 0, .28); }
.modus button { border: 0; background: transparent; color: var(--leise); font-weight: 800; font-size: 13px; padding: 12px 12px; border-radius: 13px; cursor: pointer; min-width: 44px; }
.modus button.aktiv { background: #fff; color: var(--navy); }

.regler { position: fixed; left: 50%; bottom: calc(max(18px, env(safe-area-inset-bottom)) + 84px); transform: translateX(-50%); z-index: 11; width: min(420px, calc(100% - 32px)); padding: 16px 18px; display: grid; gap: 14px; }
.regler[hidden], [hidden] { display: none !important; }
.regler label { display: grid; gap: 6px; font-size: 13px; color: var(--leise); }
.regler output { float: right; color: var(--text); font-weight: 700; font-variant-numeric: tabular-nums; }
.regler input[type="range"] { width: 100%; accent-color: var(--hell); }
.regler .schalter { display: flex; align-items: center; gap: 10px; color: var(--text); }
.regler .schalter input { width: 18px; height: 18px; accent-color: var(--hell); }

.legende { position: fixed; right: 16px; bottom: max(18px, env(safe-area-inset-bottom)); z-index: 9; display: flex; align-items: center; gap: 10px; padding: 10px 14px; font-size: 12px; font-weight: 600; color: var(--leise); }
.legende i { width: 140px; height: 8px; border-radius: 4px; background: linear-gradient(90deg, #c4f1ff, #6fd0ee 8%, #2c9ad4 22%, #1a66b4 45%, #17418a 75%, #0d2a50); }

.massstab { position: fixed; left: 16px; bottom: calc(max(18px, env(safe-area-inset-bottom)) + 26px); z-index: 9; display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; text-shadow: 0 1px 3px rgba(0,0,0,.7); }
.massstab i { display: block; height: 8px; border: 2px solid #fff; border-top: 0; box-shadow: 0 1px 2px rgba(0,0,0,.5); }
.massstab b { margin-left: 8px; padding: 3px 7px; border-radius: 8px; background: var(--glas); }

/* Beschriftungen in der Szene */
.namen { position: fixed; inset: 0; pointer-events: none; z-index: 5; overflow: hidden; }
.name { position: absolute; left: 0; top: 0; padding: 4px 10px; border-radius: 999px; background: rgba(10, 33, 64, .78); box-shadow: inset 0 0 0 1px var(--linie); font-size: 12px; font-weight: 700; white-space: nowrap; }
.name::after { content: ''; position: absolute; left: 50%; top: 100%; width: 1px; height: 14px; background: rgba(255, 255, 255, .55); }
.name.tief { background: rgba(10, 33, 64, .88); color: var(--hell); box-shadow: inset 0 0 0 1px rgba(124, 196, 255, .45); }
.ich { position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--akzent); border: 3px solid #fff; box-shadow: 0 2px 10px rgba(0,0,0,.5); }
.ich::before { content: ''; position: absolute; inset: -11px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .9); animation: puls 1.8s ease-out infinite; }
@keyframes puls { from { transform: scale(.5); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.ich-grund { position: absolute; left: 0; top: 0; padding: 4px 10px; border-radius: 999px; background: var(--akzent); color: #fff; font-size: 12px; font-weight: 800; white-space: nowrap; box-shadow: 0 4px 14px rgba(0,0,0,.4); }

/* Standort-Panel */
.standort { position: fixed; right: 16px; top: calc(max(16px, env(safe-area-inset-top)) + 92px); z-index: 11; width: 300px; padding: 16px 18px 18px; }
.standort__label { margin: 0; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #ffb3c6; }
.standort__wert { margin: 4px 0 2px; font-size: 26px; font-weight: 800; letter-spacing: -.01em; }
.standort__text { margin: 0 0 14px; font-size: 13px; color: var(--leise); }
.standort__knoepfe { display: flex; gap: 8px; flex-wrap: wrap; }
.standort.kompakt { padding-top: 12px; padding-bottom: 12px; }
.standort.kompakt .standort__text, .standort.kompakt .standort__label { display: none; }
.standort.kompakt .standort__wert { margin: 0 0 8px; font-size: 22px; cursor: pointer; }
.knopf { display: inline-flex; align-items: center; gap: 7px; padding: 10px 14px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .1); font-weight: 700; font-size: 13.5px; cursor: pointer; }
.knopf:hover { background: rgba(255, 255, 255, .18); }
.knopf--voll { background: var(--akzent); color: #fff; }
.knopf--voll:hover { background: #b9466a; }
.schliessen { position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; display: grid; place-items: center; border: 0; border-radius: 10px; background: transparent; color: var(--leise); cursor: pointer; }
.schliessen svg { width: 18px; height: 18px; }
.schliessen:hover { background: rgba(255, 255, 255, .1); color: var(--text); }

.quelle { position: fixed; left: 16px; bottom: max(18px, env(safe-area-inset-bottom)); z-index: 8; margin: 0; max-width: 300px; font-size: 10.5px; color: rgba(243, 247, 252, .6); text-shadow: 0 1px 2px #000; }

@media (max-width: 760px) {
	.kopf { left: 10px; right: 10px; width: auto; top: max(10px, env(safe-area-inset-top)); padding: 10px 14px 12px; }
	.marke { padding-bottom: 8px; margin-bottom: 8px; }
	.marke__logo { width: 30px; height: 30px; }
	.marke__text b { font-size: 17px; }
	.marke__text small { font-size: 9.5px; }
	.see__name { font-size: 22px; display: inline; }
	.see__ort { display: inline; margin: 0 0 0 8px; font-size: 12px; }
	.see__hinweis { margin: 8px 0 0; }
	.zahlen { grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 2px 8px; margin-top: 8px; }
	.zahlen dt { font-size: 9.5px; white-space: nowrap; }
	.zahlen dd { font-size: 14px; letter-spacing: -.01em; }
	.tiefe { top: auto; right: 10px; bottom: calc(max(10px, env(safe-area-inset-bottom)) + 80px); min-width: 0; padding: 8px 12px; }
	.tiefe__wert { font-size: 20px; }
	.werkzeuge { bottom: max(10px, env(safe-area-inset-bottom)); width: calc(100% - 20px); justify-content: space-between; gap: 2px; padding: 5px; }
	.werkzeuge > button { min-width: 0; flex: 1; padding: 8px 1px; font-size: 10px; }
	.modus { flex-direction: column; margin-right: 2px; }
	.modus button { padding: 6px 9px; font-size: 12px; min-width: 38px; }
	.legende { left: 10px; right: auto; bottom: calc(max(10px, env(safe-area-inset-bottom)) + 80px); padding: 7px 10px; }
	.legende i { width: 70px; }
	.massstab { left: 10px; bottom: calc(max(10px, env(safe-area-inset-bottom)) + 128px); }
	.quelle { left: 10px; right: 10px; max-width: none; bottom: calc(max(10px, env(safe-area-inset-bottom)) + 80px); font-size: 9.5px; line-height: 1.3; text-align: center; color: rgba(243, 247, 252, .85); text-shadow: 0 0 3px #000, 0 1px 2px #000; }
	.quelle__lang { display: none; }
	.quelle .quelle__kurz { display: inline; }
	.tiefe, .legende { bottom: calc(max(10px, env(safe-area-inset-bottom)) + 112px) !important; }
	.massstab { bottom: calc(max(10px, env(safe-area-inset-bottom)) + 158px) !important; }
	.standort, .regler { bottom: calc(max(10px, env(safe-area-inset-bottom)) + 112px) !important; }
	.regler { bottom: calc(max(10px, env(safe-area-inset-bottom)) + 132px); }
	.standort { left: 10px; right: 10px; width: auto; top: auto; bottom: calc(max(10px, env(safe-area-inset-bottom)) + 80px); }
}

/* Seename beim Auszoomen */
.see-titel { position: absolute; left: 0; top: 0; font-size: 30px; font-weight: 800; letter-spacing: -.02em; color: #fff; text-shadow: 0 2px 12px rgba(10, 33, 64, .9), 0 0 2px rgba(10, 33, 64, .9); white-space: nowrap; }
/* Punkte in der Karte */
.poi { position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 5px; border: 0; border-radius: 999px; background: rgba(10, 33, 64, .86); color: #fff; font: 700 12px/1.2 'Manrope', sans-serif; white-space: nowrap; box-shadow: inset 0 0 0 1px var(--linie), 0 4px 14px rgba(0,0,0,.35); cursor: pointer; pointer-events: auto; }
.poi::after { content: ''; position: absolute; left: 50%; top: 100%; width: 2px; height: 10px; margin-left: -1px; background: rgba(255,255,255,.8); }
.poi:hover { background: var(--navy); box-shadow: inset 0 0 0 1px var(--hell), 0 4px 14px rgba(0,0,0,.35); }
.poi__flagge { width: 22px; height: 16px; flex: none; }
.poi__icon { width: 18px; height: 18px; flex: none; color: var(--hell); }
.poi__logo { width: 20px; height: 20px; border-radius: 50%; background: #fff; flex: none; }
.poi--wasserrettung { background: var(--akzent); }
.poi--zone { padding-left: 10px; background: rgba(165, 58, 87, .92); }
.poi--zone::after { display: none; }
.station { position: absolute; left: 0; top: 0; padding: 3px 8px; border-radius: 8px; background: rgba(255, 210, 63, .95); color: #1a1a1a; font-size: 11px; font-weight: 600; white-space: nowrap; box-shadow: 0 2px 8px rgba(0,0,0,.35); }
.station b { font-weight: 800; }
.station::after { content: ''; position: absolute; left: 50%; top: 100%; width: 1px; height: 8px; background: rgba(255,210,63,.95); }
.station--boje { background: #ff7a1a; color: #fff; }
.tlinie { position: absolute; left: 0; top: 0; padding: 0 3px; font-size: 10.5px; font-weight: 700; color: #fff; white-space: nowrap; text-shadow: 0 0 3px rgba(10, 33, 64, 1), 0 0 6px rgba(10, 33, 64, .9); }
.tlinie--50 { font-size: 12px; font-weight: 800; }
/* Infokarte */
.poi-karte { max-height: calc(100vh - 220px); overflow: auto; touch-action: pan-y; overscroll-behavior: contain; }
.poi-karte h2 { margin: 2px 32px 10px 0; font-size: 21px; font-weight: 800; line-height: 1.15; letter-spacing: -.01em; }
.poi-karte__typ { margin: 0; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #ffb3c6; }
.poi-karte p { margin: 0 0 12px; font-size: 13.5px; line-height: 1.5; color: rgba(243, 247, 252, .86); }
.poi-karte dl { margin: 0 0 12px; display: grid; gap: 8px; }
.poi-karte dt { font-size: 11px; font-weight: 600; color: var(--leise); }
.poi-karte dd { margin: 0; font-size: 14px; }
.poi-karte__obj { display: flex; flex-wrap: wrap; gap: 6px; }
.poi-karte__obj span { padding: 4px 9px; border-radius: 999px; background: rgba(255, 210, 63, .16); color: #ffe089; font-size: 12px; font-weight: 600; }
.poi-karte__hinweis { font-size: 12px !important; color: var(--leise) !important; }
.poi-karte__quelle { margin: 12px 0 0 !important; font-size: 11.5px !important; color: var(--leise) !important; }
.poi-karte__quelle a, .poi-karte a.knopf { color: inherit; }
.poi-karte a.knopf { text-decoration: none; }
@media (max-width: 760px) { .see-titel { font-size: 24px; } .poi { font-size: 11px; } .poi-karte { max-height: 55vh; } }

.laden__titel { margin: 0; font-size: 17px; font-weight: 700; color: var(--text) !important; letter-spacing: 0 !important; }
.laden__balken { width: min(280px, 70vw); height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.laden__balken i { display: block; height: 100%; width: 0; border-radius: 3px; background: var(--hell); transition: width .3s ease; }
#laden-text { font-size: 13px; font-variant-numeric: tabular-nums; }
.poi--klein { padding: 4px; }
.poi--klein span { display: none; }
.poi--klein.poi--wasserrettung, .poi--klein.poi--service { padding: 3px; }

.quelle__kurz { display: none; }

/* Seite selbst nie vergrößern – nur die Karte zoomt; Schieberegler bleiben bedienbar */
.regler { touch-action: pan-y; }
.regler input[type=range] { touch-action: none; }

/* Seeauswahl */
.see__wahl { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; color: inherit; font: inherit; letter-spacing: inherit; cursor: pointer; text-align: left; }
.see__wahl svg { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; opacity: .75; transition: transform .2s; }
.see__wahl[aria-expanded="true"] svg { transform: rotate(180deg); }
.see__wahl:hover svg { opacity: 1; }
.seenliste { position: fixed; z-index: 11; top: max(16px, env(safe-area-inset-top)); left: 392px; width: 330px; max-height: calc(100vh - 140px); overflow: auto; padding: 14px 16px 12px; touch-action: pan-y; overscroll-behavior: contain; }
.seenliste h3 { margin: 12px 0 6px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--leise); font-weight: 700; }
.seenliste ul { list-style: none; margin: 0; padding: 0; }
.seenliste a { display: flex; align-items: baseline; gap: 8px; padding: 8px 10px; margin: 0 -10px; border-radius: 10px; color: inherit; text-decoration: none; }
.seenliste a:hover, .seenliste a:focus-visible { background: rgba(255,255,255,.08); }
.seenliste a[aria-current="true"] { background: rgba(0, 97, 173, .35); }
.seenliste a b { font-weight: 700; flex: 1; }
.seenliste a small { font-size: 12px; color: var(--leise); white-space: nowrap; }
.seenliste .marke-genau { font-size: 10px; font-weight: 700; padding: 1px 6px; border-radius: 999px; background: rgba(255, 210, 63, .2); color: #ffd23f; }
.seenliste .marke-genau--echolot { background: rgba(111, 208, 238, .2); color: #6fd0ee; }
.seenliste__fuss { margin: 10px 0 0; font-size: 11.5px; color: var(--leise); line-height: 1.4; }
.see-marke { position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 6px; border: 0; border-radius: 999px; background: rgba(0, 97, 173, .88); color: #fff; font: 700 12px/1.2 'Manrope', sans-serif; white-space: nowrap; box-shadow: 0 4px 14px rgba(0,0,0,.35); cursor: pointer; pointer-events: auto; }
.see-marke::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #6fd0ee; box-shadow: 0 0 0 2px rgba(255,255,255,.7); }
@media (max-width: 760px) {
	.see__wahl svg { width: 18px; height: 18px; }
	.seenliste { left: 10px; right: 10px; width: auto; top: auto; bottom: calc(env(safe-area-inset-bottom) + 92px); max-height: 60vh; }
	.see-marke { font-size: 11px; }
}

/* Kompass, Tauchtiefe, Seemarken (Übersicht aller Seen) */
.kompass { position: fixed; z-index: 10; top: max(16px, env(safe-area-inset-top)); right: 16px; width: 48px; height: 48px; padding: 4px; border: 0; border-radius: 50%; cursor: pointer; color: #fff; }
.kompass svg { width: 100%; height: 100%; display: block; transition: transform .05s linear; }
.tiefe { top: calc(max(16px, env(safe-area-inset-top)) + 60px); }
.tiefe[hidden] { display: none !important; }
.marke__text b { font-size: 17px; }
.see-marke { flex-direction: row; align-items: baseline; gap: 6px; padding: 5px 11px 5px 8px; }
.see-marke::before { align-self: center; }
.see-marke b { font-weight: 800; }
.see-marke small { font-size: 11px; font-weight: 600; opacity: .8; }
.seenliste__alle { margin: 6px 0 2px; }
.seenliste__alle a { color: #6fd0ee; font-weight: 700; text-decoration: none; font-size: 13px; }
#szene { cursor: grab; }
#szene:active { cursor: grabbing; }
@media (max-width: 760px) {
	.marke__text b { font-size: 14.5px; }
	.kompass { top: auto; right: 10px; bottom: calc(max(10px, env(safe-area-inset-bottom)) + 158px); width: 42px; height: 42px; }
	.see-marke small { font-size: 10px; }
}
.see-marke--punkt { padding: 5px; }
.see-marke--punkt b, .see-marke--punkt small { display: none; }
@media (max-width: 760px) {
	.legende { bottom: calc(max(10px, env(safe-area-inset-bottom)) + 132px) !important; }
	.kompass { bottom: calc(max(10px, env(safe-area-inset-bottom)) + 178px); }
	.tiefe { bottom: calc(max(10px, env(safe-area-inset-bottom)) + 132px) !important; top: auto; right: 64px; }
}
@media (max-width: 760px) { .massstab { bottom: calc(max(10px, env(safe-area-inset-bottom)) + 174px) !important; } }
.hilfe { position: fixed; z-index: 12; left: 50%; transform: translateX(-50%); bottom: calc(max(18px, env(safe-area-inset-bottom)) + 84px); margin: 0; padding: 10px 16px; border-radius: 14px; font-size: 13px; text-align: center; max-width: min(560px, calc(100vw - 32px)); pointer-events: none; }
.hilfe b { color: #6fd0ee; }
@media (max-width: 760px) { .hilfe { bottom: calc(max(10px, env(safe-area-inset-bottom)) + 220px); font-size: 12px; } }
/* Darstellung */
.darst { display: grid; gap: 6px; margin-bottom: 4px; }
.darst__titel { font-size: 12px; font-weight: 700; color: var(--leise); }
.darst__knoepfe { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; background: rgba(255,255,255,.06); padding: 3px; border-radius: 10px; }
.darst__knoepfe button { border: 0; border-radius: 8px; padding: 6px 4px; background: none; color: inherit; font: 700 12px/1.1 'Manrope', sans-serif; cursor: pointer; }
.darst__knoepfe button.aktiv { background: #fff; color: var(--navy, #0D2A50); }
.darst__legende { margin: 2px 0 0; font-size: 11px; color: var(--leise); display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; }
.darst__legende i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 3px; vertical-align: -2px; }
.regler__hinweis { display: block; font-size: 10.5px; color: var(--leise); font-weight: 500; }
.tlinie--fein { font-size: 10px; }

.seenliste .marke-genau--ohne { opacity: .65; background: rgba(255,255,255,.12); color: inherit; }

.poi-karte__regeln { margin: 10px 0 0; padding: 8px 10px; border-radius: 10px; background: rgba(255, 210, 63, .1); font-size: 12.5px; line-height: 1.4; }
.quelle a { color: inherit; text-decoration: underline; text-underline-offset: 2px; pointer-events: auto; }

/* Tauchgang: Oberfläche durchbrechen, Blasen */
.tauchfx { position: fixed; inset: 0; z-index: 6; pointer-events: none; overflow: hidden; opacity: 0; }
.tauchfx--ein, .tauchfx--aus, .tauchfx--atem { opacity: 1; }
.tauchfx__blitz { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 40%, rgba(220, 245, 255, .85), rgba(120, 200, 230, .35) 45%, rgba(10, 60, 90, 0) 75%); opacity: 0; }
.tauchfx--ein .tauchfx__blitz { animation: tfxBlitz .9s ease-out forwards; }
.tauchfx--aus .tauchfx__blitz { animation: tfxBlitz .7s ease-out forwards; background: radial-gradient(ellipse at 50% 60%, rgba(255, 255, 255, .7), rgba(180, 225, 240, .25) 50%, rgba(255, 255, 255, 0) 80%); }
.tauchfx__flaeche { position: absolute; left: -10%; right: -10%; height: 70px; top: 48%;
	background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(220,245,255,.75) 42%, rgba(160,220,240,.55) 55%, rgba(40,120,160,0) 100%);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 70' preserveAspectRatio='none'%3E%3Cpath d='M0 30 Q 12 18 25 30 T 50 30 T 75 30 T 100 30 T 125 30 T 150 30 T 175 30 T 200 30 V 70 H 0Z' fill='%23000'/%3E%3C/svg%3E") 0 0 / 200px 100% repeat-x;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 70' preserveAspectRatio='none'%3E%3Cpath d='M0 30 Q 12 18 25 30 T 50 30 T 75 30 T 100 30 T 125 30 T 150 30 T 175 30 T 200 30 V 70 H 0Z' fill='%23000'/%3E%3C/svg%3E") 0 0 / 200px 100% repeat-x;
	opacity: 0; }
.tauchfx--ein .tauchfx__flaeche { animation: tfxHoch .75s cubic-bezier(.3, .6, .4, 1) forwards; }
.tauchfx--aus .tauchfx__flaeche { animation: tfxRunter .75s cubic-bezier(.3, .6, .4, 1) forwards; }
.tauchfx__blase { position: absolute; bottom: -20px; border-radius: 50%; border: 1.5px solid rgba(235, 250, 255, .8); background: radial-gradient(circle at 35% 35%, rgba(255,255,255,.75), rgba(255,255,255,.12) 45%, rgba(255,255,255,0) 70%); animation-name: tfxBlase; animation-timing-function: cubic-bezier(.35, .1, .6, 1); animation-fill-mode: forwards; opacity: 0; }
.tauchfx--aus .tauchfx__blase { bottom: auto; top: -20px; animation-name: tfxTropfen; border-color: rgba(255,255,255,.6); }
@keyframes tfxBlitz { 0% { opacity: 1; } 100% { opacity: 0; } }
@keyframes tfxHoch { 0% { opacity: 1; transform: translateY(0) scaleY(1); } 100% { opacity: 0; transform: translateY(-62vh) scaleY(1.8); } }
@keyframes tfxRunter { 0% { opacity: 1; transform: translateY(-55vh); } 100% { opacity: 0; transform: translateY(30vh) scaleY(1.5); } }
@keyframes tfxBlase { 0% { opacity: 0; transform: translate(0, 0); } 10% { opacity: .95; } 100% { opacity: 0; transform: translate(var(--x, 0), -105vh); } }
@keyframes tfxTropfen { 0% { opacity: .9; transform: translate(0, 0); } 100% { opacity: 0; transform: translate(var(--x, 0), 70vh); } }
@media (prefers-reduced-motion: reduce) { .tauchfx { display: none; } }

/* Tauchgang: Bedienelemente treten zurück */
.kopf, .legende, .quelle, .kompass, .namen { transition: opacity .6s ease; }
body.kino .kopf, body.kino .legende, body.kino .quelle, body.kino .kompass, body.kino .namen { opacity: 0; pointer-events: none; }

.fischname { position: fixed; left: 50%; bottom: calc(max(18px, env(safe-area-inset-bottom)) + 92px); transform: translate(-50%, 8px); z-index: 7; padding: 6px 14px; border-radius: 999px; background: rgba(6, 36, 59, .72); color: #e6f6fb; font: 600 13px/1.2 'Manrope', sans-serif; letter-spacing: .02em; opacity: 0; pointer-events: none; transition: opacity .6s ease, transform .6s ease; }
.fischname.an { opacity: 1; transform: translate(-50%, 0); }

/* Fassung ohne JavaScript (auch für Suchmaschinen lesbar) */
.ohnejs { position: relative; z-index: 50; max-width: 720px; margin: 40px auto; padding: 24px; background: #fff; color: #0A2140; border-radius: 12px; font: 15px/1.5 system-ui, sans-serif; }
.ohnejs h1 { font-size: 24px; margin: 0 0 12px; } .ohnejs h2 { font-size: 18px; margin: 20px 0 8px; } .ohnejs ul { columns: 2; padding-left: 18px; }

.see__daten a { color: #9fd6ff; text-decoration: underline; text-underline-offset: 2px; }
.see__daten a:hover { color: #fff; }
