/* Elbguide – privater Tourbegleiter (Testlauf), mobile-first, Farben aus style.css */
body.tb{background:var(--brand-mist);min-height:100vh}
body.tb.has-tabs{padding-bottom:calc(72px + env(safe-area-inset-bottom))}
.tb-head{position:sticky;top:0;z-index:1200;display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.55rem 1rem;background:#fff;box-shadow:0 1px 0 var(--brand-line)}
.tb-head::after{content:"";position:absolute;left:0;right:0;bottom:-4px;height:4px;background:linear-gradient(90deg,var(--brand-navy),var(--brand-bright) 55%,var(--brand-red))}
.tb-head .brand{font-size:1.2rem}
.tb-head .brand img{width:40px;height:40px;flex-basis:40px}
.tb-lang{display:flex;border:1.5px solid var(--brand-navy);border-radius:999px;overflow:hidden}
.tb-lang button{border:0;background:#fff;color:var(--brand-navy);font:700 .85rem var(--font);padding:.35rem .7rem;cursor:pointer;min-height:44px;min-width:44px}   /* Tippfläche mindestens 44×44 (Erlebnis-Prüfung Runde 3) */
.tb-lang button[aria-pressed="true"]{background:var(--brand-navy);color:#fff}
.tb-test{margin-top:4px;background:#FFF4D6;color:#5a4300;text-align:center;font-size:.78rem;font-weight:700;letter-spacing:.02em;padding:.3rem .75rem}
.tb-wrap{max-width:40rem;margin:0 auto;padding:1rem 1rem 1.5rem}
.tb-wrap h1{font-size:1.6rem;margin:.4rem 0 .5rem}
.tb-wrap h2{font-size:1.2rem;margin:1.4rem 0 .5rem}
.tb-small{font-size:.9rem;color:var(--muted)}
.tb .btn{display:inline-flex;align-items:center;justify-content:center;gap:.35rem;min-height:44px;padding:.55rem 1rem;border-radius:999px;border:2px solid var(--action-red);background:var(--action-red);color:#fff;font:700 .95rem/1.2 var(--font);text-decoration:none;cursor:pointer;text-align:center}
.tb .btn:hover{background:var(--brand-red-dark);border-color:var(--brand-red-dark);color:#fff}
.tb .btn-ghost{background:#fff;color:var(--brand-navy);border-color:var(--brand-line)}
.tb .btn-ghost:hover{background:var(--brand-blue-light);color:var(--brand-navy);border-color:var(--brand-navy)}
.tb-row{display:flex;flex-wrap:wrap;gap:.5rem;margin:.9rem 0}
.tb-access{background:#fff;border:1px solid var(--brand-line);border-left:5px solid #1a9b4b;border-radius:var(--radius);padding:.75rem .9rem;margin:1rem 0;font-size:.95rem}
.tb-access small{display:block;color:var(--muted);margin-top:.25rem;line-height:1.45}
.tb-versions{display:grid;gap:.6rem}
.tb-card{display:grid;gap:.15rem;text-align:left;background:#fff;border:2px solid var(--brand-line);border-radius:var(--radius);padding:.8rem .95rem;font:inherit;color:var(--ink);cursor:pointer}
.tb-card strong{color:var(--brand-navy);font-size:1.05rem}
.tb-card small{color:var(--muted)}
.tb-card.on{border-color:var(--brand-navy);box-shadow:0 0 0 3px var(--brand-blue-light)}
.tb-card.on strong::before{content:"✓ "}
.tb-picks{display:flex;flex-wrap:wrap;gap:.45rem;margin:.6rem 0}
.tb-pick{background:#fff;border:1.5px solid var(--brand-navy);color:var(--brand-navy);border-radius:999px;padding:.5rem .85rem;font:600 .95rem var(--font);cursor:pointer;min-height:44px}
.tb-pick small{color:var(--muted);font-weight:400}
.tb-pick.done{background:var(--brand-blue-light)}
.tb-pick .tr{display:inline-block;background:var(--brand-navy);color:#fff;border-radius:4px;font-size:.7rem;padding:0 .3rem;font-weight:800}
.tb-prog{display:flex;align-items:center;gap:.6rem;margin:.1rem 0 .8rem}
.tb-bar{flex:1;height:8px;background:var(--brand-line);border-radius:99px;overflow:hidden}
.tb-bar span{display:block;height:100%;background:linear-gradient(90deg,var(--brand-navy),var(--brand-bright))}
.tb-prog small{color:var(--muted);white-space:nowrap;font-size:.8rem}
.tb-ok{background:#E7F6EC;border-radius:var(--radius);padding:.6rem .8rem;font-weight:700}
.tb-photo{margin:0 0 .75rem;border-radius:var(--radius);overflow:hidden;background:#fff}
.tb-photo img{width:100%;max-height:300px;object-fit:cover}
.tb-photo figcaption{font-size:.68rem;color:var(--muted);padding:.3rem .6rem;line-height:1.35}
.tb-title{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}
.tb-title h1{margin:0}
.tb .badge.hl{background:var(--brand-navy);color:#fff;border-radius:999px;font-size:.72rem;font-weight:800;padding:.15rem .55rem}
.tb-teaser{font-style:italic;color:var(--brand-navy);margin:.5rem 0}
.tb-audio{background:#fff;border:1px solid var(--brand-line);border-radius:var(--radius);padding:.6rem .75rem;margin:.75rem 0}
.tb-audio-h{font-weight:700;color:var(--brand-navy);margin-bottom:.35rem}
.tb-audio-h small{font-weight:400;color:var(--muted)}
.tb-resume{background:var(--brand-blue-light);border-radius:99px;padding:0 .45rem}
.tb-audio audio{width:100%;display:block}
.tb-text p{margin:0 0 .8em}
.tb-note{font-size:.9rem;color:var(--muted)}
.tb-check{display:flex;align-items:center;gap:.5rem;font-weight:600;margin:.6rem 0;min-height:44px}
.tb-check input{width:22px;height:22px;accent-color:var(--brand-navy)}
.tb-dir{font-size:.92rem;color:var(--muted);margin:.4rem 0}
.tb-nav{display:grid;grid-template-columns:1fr 1.3fr;gap:.5rem;margin:.8rem 0}
.tb-nav .btn{width:100%}
.tb-bundle{list-style:none;padding:0;margin:0;display:grid;gap:.6rem}
.tb-bundle li{background:#fff;border-radius:var(--radius);padding:.75rem .9rem;display:grid;gap:.25rem;border:1px solid var(--brand-line)}
.tb-bundle li.hit{border-color:var(--brand-red);box-shadow:0 0 0 3px #fde3e5}
.tb-bundle li .tb-photo{margin:-.75rem -.9rem .4rem}
.tb-bundle strong{color:var(--brand-navy)}
.tb-bundle em{color:var(--brand-navy)}
.tb-bundle small{color:var(--muted)}
.tb-search{width:100%;font:inherit;padding:.65rem .9rem;border:1.5px solid var(--brand-line);border-radius:999px;margin:.3rem 0 .7rem;background:#fff}
.tb-list{list-style:none;padding:0;margin:0;display:grid;gap:.45rem}
.tb-list>li{background:#fff;border:1px solid var(--brand-line);border-radius:var(--radius);overflow:hidden}
.tb-list>li.cur{border-color:var(--brand-navy);box-shadow:0 0 0 2px var(--brand-blue-light)}
.tb-list button{display:flex;align-items:center;gap:.55rem;width:100%;text-align:left;background:none;border:0;font:600 1rem var(--font);color:var(--ink);padding:.7rem .85rem;cursor:pointer;min-height:44px}
.tb-list button small{margin-left:auto;color:var(--muted);font-weight:400}
.tb-list ul{list-style:none;margin:0;padding:0 0 .35rem 2.4rem}
.tb-list ul button{font-weight:400;font-size:.9rem;color:var(--muted);padding:.3rem .5rem;min-height:36px}
.tb-dot{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--brand-blue-light);font-size:.85rem;flex:0 0 28px}
.tb-list li.done .tb-dot{background:var(--brand-navy);color:#fff}
.tb-empty{padding:.8rem;color:var(--muted)}
.tb-way{background:#fff;border:1px solid var(--brand-line);border-radius:var(--radius);padding:.8rem .9rem;margin:.8rem 0}
.tb-tabs{position:fixed;left:0;right:0;bottom:0;z-index:1300;display:grid;grid-template-columns:repeat(5,1fr);background:#fff;border-top:1px solid var(--brand-line);padding-bottom:env(safe-area-inset-bottom);box-shadow:0 -2px 10px rgba(11,31,58,.08)}
.tb-tabs button{display:grid;justify-items:center;gap:.05rem;background:none;border:0;font:600 .72rem var(--font);color:var(--muted);padding:.45rem .1rem .5rem;min-height:60px;cursor:pointer}
.tb-tabs button span{font-size:1.15rem;line-height:1.2}
.tb-tabs button[aria-current="page"]{color:var(--brand-navy);box-shadow:inset 0 3px 0 var(--action-red)}
.tb-mapview{position:fixed;left:0;right:0;top:94px;bottom:calc(61px + env(safe-area-inset-bottom));z-index:900;background:#e9eef4}
.tb-mapview #tb-map{position:absolute;inset:0}
.tb-maptools{position:absolute;left:.6rem;right:.6rem;bottom:.6rem;z-index:1000;display:flex;flex-wrap:wrap;gap:.4rem;align-items:center}
.tb-maptools span{background:#fff;border-radius:999px;padding:.35rem .7rem;font-size:.85rem;box-shadow:0 1px 4px rgba(0,0,0,.15)}
.tb-maptools span:empty{display:none}
.tb-mstop{width:30px;height:30px;border-radius:50%;background:var(--brand-navy);color:#fff;border:3px solid #fff;display:grid;place-items:center;font-size:.8rem;box-shadow:0 1px 4px rgba(0,0,0,.35)}
.tb-mstop.done{background:#1a9b4b}
.tb-mstop.cur{background:var(--brand-red)}
.tb-mdot{width:12px;height:12px;border-radius:50%;background:#fff;border:3px solid var(--brand-bright)}
.tb-mlabel{font:700 .75rem var(--font);color:var(--brand-navy);padding:1px 6px;border-radius:6px}
.tb-popbtn{margin-top:.4rem;border:0;border-radius:99px;background:var(--action-red);color:#fff;font:700 .85rem var(--font);padding:.4rem .8rem;cursor:pointer}
.tb-toast{position:fixed;left:.75rem;right:.75rem;bottom:calc(72px + env(safe-area-inset-bottom));z-index:1400;background:var(--brand-navy);color:#fff;border-radius:var(--radius);padding:.7rem .9rem;box-shadow:0 4px 18px rgba(0,0,0,.25);display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}
.tb-toast[hidden]{display:none}
.tb-toast .btn{min-height:36px;padding:.35rem .8rem}
.tb-x{margin-left:auto;background:none;border:0;color:#fff;font-size:1.4rem;cursor:pointer;line-height:1}
.tb.tb-onmap{overflow:hidden}
@media (min-width:700px){.tb-tabs{left:50%;transform:translateX(-50%);max-width:40rem;border-radius:16px 16px 0 0;border:1px solid var(--brand-line)}.tb-photo img{max-height:380px}}
/* Kaufseite */
.kt-step{background:#fff;border:1px solid var(--brand-line);border-radius:var(--radius);padding:.9rem 1rem;margin:.8rem 0}
.kt-step h2{margin-top:0}
.kt-prod{display:flex;gap:.8rem;align-items:center}
.kt-prod img{width:72px;height:72px;border-radius:10px;object-fit:cover;flex:0 0 72px}
.kt-free{display:inline-block;background:#E7F6EC;color:#13693a;border-radius:99px;font-size:.8rem;font-weight:800;padding:.1rem .55rem}
.kt-field{display:grid;gap:.25rem;margin:.6rem 0}
.kt-field input{font:inherit;padding:.6rem .8rem;border:1.5px solid var(--brand-line);border-radius:10px}
.kt-link{display:block;word-break:break-all;background:var(--brand-blue-light);border-radius:10px;padding:.6rem .75rem;font:600 .9rem ui-monospace,Menlo,monospace;color:var(--brand-navy)}
.kt-mail{background:#fff;border:1px dashed var(--muted);border-radius:var(--radius);padding:0;overflow:hidden;font-size:.95rem}
.kt-mail dl{margin:0;padding:.6rem .9rem;background:var(--brand-mist);display:grid;grid-template-columns:auto 1fr;gap:.15rem .6rem;font-size:.85rem}
.kt-mail dt{color:var(--muted)}
.kt-mail dd{margin:0;font-weight:600}
.kt-mail .kt-body{padding:.8rem .9rem}
/* Woche 2: Code, Navigation, Mini-Player, Offline */
.tb-codeform{display:grid;gap:.5rem;margin:1rem 0}
.tb-codeform label{font-weight:700}
.tb-codeform input{font:700 1.3rem ui-monospace,Menlo,monospace;letter-spacing:.08em;text-transform:uppercase;padding:.7rem .9rem;border:2px solid var(--brand-navy);border-radius:12px;background:#fff}
.tb-err{background:#FDECEE;color:#8a000a;border-radius:var(--radius);padding:.6rem .8rem;font-weight:600}
.tb-card.locked{opacity:.55;cursor:not-allowed}
.tb-versions{grid-template-columns:1fr 1fr}
.tb-navbtn{width:100%;margin:.2rem 0 .9rem;font-size:1rem}
.tb-off{background:#fff;border:1px solid var(--brand-line);border-radius:var(--radius);padding:.75rem .9rem;margin:1rem 0}
.tb-off small{display:block;color:var(--muted)}
.tb-off .tb-okline{color:#13693a;font-weight:700}
.tb-off .tb-bar{margin:.5rem 0 .2rem}
.tb-mini{position:fixed;left:.5rem;right:.5rem;bottom:calc(66px + env(safe-area-inset-bottom));z-index:1350;background:#fff;border:1px solid var(--brand-line);border-radius:14px;padding:.35rem .5rem;box-shadow:0 4px 16px rgba(11,31,58,.18)}
.tb-mini[hidden]{display:none}
.tb-mini-t{display:block;font-weight:700;font-size:.82rem;color:var(--brand-navy);padding:0 .3rem}
.tb-mini audio{width:100%;height:40px}
.tb-navcard{position:absolute;left:.6rem;right:.6rem;top:.6rem;z-index:1000;background:#fff;border-radius:14px;padding:.6rem .8rem;box-shadow:0 4px 18px rgba(0,0,0,.2)}
.tb-navcard[hidden]{display:none}
.tb-navcard p{margin:0}
.tb-navtop{display:flex;align-items:center;gap:.5rem}
.tb-navtop .tb-x{color:var(--muted)}
.tb-navleft{font-size:1.25rem;font-weight:800;color:var(--brand-navy);margin:.2rem 0 .3rem!important}
.tb-navleft small{display:block;font-size:.78rem;font-weight:400;color:var(--muted)}
.tb-navbtns{display:flex;gap:.4rem;align-items:center;flex-wrap:wrap}
.tb-navbtns a{font-size:.85rem;margin-right:auto}
.tb-navbtns .btn{min-height:38px;padding:.3rem .8rem}
.tb-navcard .btn{min-height:40px}
.tb-mstop.target{background:var(--brand-red);width:34px;height:34px;font-size:1rem;animation:tbpulse 1.6s infinite}
.tb-mstop.dim{opacity:.55;transform:scale(.8)}
.tb-mlabel.target{font-size:.85rem;color:var(--brand-red)}
@keyframes tbpulse{0%{box-shadow:0 0 0 0 rgba(244,0,16,.5)}70%{box-shadow:0 0 0 14px rgba(244,0,16,0)}100%{box-shadow:0 0 0 0 rgba(244,0,16,0)}}
.tb-me{width:28px;height:28px;display:grid;place-items:center}
.tb-me span{width:18px;height:18px;border-radius:50%;background:var(--brand-bright);border:3px solid #fff;box-shadow:0 0 0 2px rgba(0,97,236,.35),0 1px 4px rgba(0,0,0,.4);display:block;position:relative}
.tb-me.dir span{border-radius:50% 50% 50% 0;transform-origin:center}
.tb-me.dir span::after{content:"";position:absolute;left:50%;top:-11px;margin-left:-6px;border:6px solid transparent;border-bottom:9px solid var(--brand-bright)}
.tb-me.dir span{border-radius:50%}
.tb-x{background:none;border:0;font-size:1.5rem;line-height:1;cursor:pointer;margin-left:auto}
.kt-choice .tb-card{position:relative;cursor:pointer}
.kt-choice .tb-card input{position:absolute;opacity:0;pointer-events:none}
.kt-choice .tb-card:has(input:checked){border-color:var(--brand-navy);box-shadow:0 0 0 3px var(--brand-blue-light)}
.kt-choice .tb-card:has(input:checked) strong::before{content:"✓ "}
.kt-choice .kt-both{grid-column:1/-1}
.kt-code{font:800 1.6rem ui-monospace,Menlo,monospace;letter-spacing:.1em;color:var(--brand-navy);margin:.2rem 0 .6rem}
.tb-linkbtn{background:none;border:0;padding:.3rem 0 0;color:var(--brand-bright);font:inherit;font-size:.85rem;text-decoration:underline;cursor:pointer;display:block}
.kt-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
.kt-sent{background:#E8F6EE;color:#13693a;border-radius:var(--radius);padding:.6rem .8rem;font-weight:600}
.tb-maptools[hidden]{display:none!important}
.tb-sketch{position:absolute;inset:0;z-index:900;background:#FFFFFF}
.tb-sketch[hidden]{display:none}
.tb-sketch svg{display:block}
.tb-sketchnote{position:absolute;left:.6rem;bottom:.4rem;color:var(--muted);font-size:.72rem;background:rgba(255,255,255,.85);padding:.1rem .4rem;border-radius:6px}
.tb-sketchline{margin:.35rem 0 0!important;color:var(--muted);font-size:.85rem}
.tb-sketchline .tb-linkbtn{display:inline;padding:0}
#tb-resend input[type=email]{font:500 1rem var(--font-body,system-ui),sans-serif;letter-spacing:0;text-transform:none}
/* Geräteliste zum Selbst-Abmelden */
.tb-devs{list-style:none;margin:.5rem 0;padding:0}
.tb-devs li{display:flex;align-items:center;justify-content:space-between;gap:.75rem;background:#fff;border:1px solid var(--brand-line);border-radius:var(--radius);padding:.6rem .8rem;margin:0 0 .5rem}
.tb-devs li small{color:var(--muted)}
.tb-devs li .btn{flex:0 0 auto;min-height:40px;padding:.35rem .8rem;font-size:.9rem}
/* Umbau 10.11.2026: das Wichtigste auf einen Bildschirm, Karte in der Navigation frei, Tippflächen ab 44 px, Schrift ab 14 px */
body.tb{--hh:calc(52px + env(safe-area-inset-top));--tabh:calc(58px + env(safe-area-inset-bottom));--nbh:72px;min-height:100dvh}
.tb-head{box-sizing:border-box;height:var(--hh);padding:env(safe-area-inset-top) max(.75rem,env(safe-area-inset-right)) 0 max(.75rem,env(safe-area-inset-left));gap:.5rem}
.tb-head .brand{font-size:1.05rem}
.tb-head .brand img{width:32px;height:32px;flex-basis:32px}
.tb-head .tb-test{margin:0 auto 0 0;padding:.1rem .5rem;border-radius:99px;font-size:.875rem;letter-spacing:.04em;line-height:1.4}
.tb-headr{display:flex;gap:.4rem}
.tb-hbtn{min-width:44px;min-height:44px;border:1.5px solid var(--brand-line);background:#fff;border-radius:12px;font:700 1rem var(--font);color:var(--brand-navy);cursor:pointer}
.tb-wrap{padding:.6rem max(1rem,env(safe-area-inset-right)) 1rem max(1rem,env(safe-area-inset-left))}
.tb-wrap h2{font-size:1.1rem;margin:.9rem 0 .35rem}
body.tb.has-tabs{padding-bottom:var(--tabh)}
.tb-tabs{grid-template-columns:repeat(4,1fr)}
.tb-tabs button{min-height:58px;font-size:.875rem;padding:.35rem .1rem .4rem}
.tb-prog{margin:0 0 .35rem;gap:.5rem}
.tb-prog small{font-size:.875rem}
.tb-photo figcaption{font-size:.875rem}
.tb-pick .tr{font-size:.875rem}
.tb-maptools span{font-size:.9rem}
.tb-mlabel{font-size:.875rem}
.tb-sketchnote{font-size:.875rem}
.tb-linkbtn{font-size:.95rem;min-height:44px;padding:0;display:flex;align-items:center}
.tb-check input{width:24px;height:24px;flex:0 0 24px}
.kt-free{font-size:.875rem}
/* Start: „Wo stehst du gerade?“ */
.tb-hello{margin:.1rem 0 .5rem;font-weight:600;color:var(--brand-navy)}
.tb-versions{gap:.5rem;margin:0 0 .5rem}
.tb-versions .tb-card{padding:.45rem .75rem;min-height:56px;gap:0}
.tb-versions .tb-card small{font-size:.875rem}
.tb-bfrow{min-height:48px;margin:0;padding:0 .75rem;background:#fff;border:1px solid var(--brand-line);border-radius:12px;cursor:pointer}
.tb-bfnote{margin:.35rem 0 0}
#where{font-size:1.35rem;margin:.75rem 0 .5rem}
.tb-nearbtn{width:100%;min-height:48px}
#tb-near:not(:empty){background:#fff;border:1px solid var(--brand-line);border-radius:12px;padding:.4rem .7rem;margin:.5rem 0 0;display:flex;flex-wrap:wrap;align-items:center;gap:.25rem .6rem}
#tb-near p{margin:0;flex:1 1 12rem}
.tb-picks{display:grid;grid-template-columns:1fr 1fr;gap:.45rem;margin:.6rem 0 .2rem}
.tb-pick{min-height:46px;padding:.3rem .6rem;font-size:.95rem;line-height:1.15;border-radius:12px}
.tb-waylink{font-weight:600}
/* Station: Foto füllt den Rest, Player, feste Leiste „Weiter“ */
body.tb-fit .tb-wrap{box-sizing:border-box;height:calc(100dvh - var(--hh) - var(--tabh) - var(--nbh));display:flex;flex-direction:column;overflow:auto;padding-top:.45rem;padding-bottom:.4rem}
body.tb-fit .tb-wrap>*{flex:0 0 auto}
body.tb-fit .tb-wrap>.tb-photo-s{flex:1 1 0}
.tb-photo-s{position:relative;min-height:84px;max-height:260px;margin:0 0 .45rem;border-radius:14px;overflow:hidden;background:#dfe7f0}
.tb-photobtn{display:block;width:100%;height:100%;padding:0;border:0;background:none;cursor:zoom-in}
.tb-photo-s img{width:100%;height:100%;max-height:none;object-fit:cover;display:block}
.tb-credit{position:absolute;right:.35rem;bottom:.35rem;min-height:44px;padding:0 .7rem;border:0;border-radius:999px;background:rgba(11,31,58,.72);color:#fff;font:600 .875rem var(--font);cursor:pointer}
.tb-fit .tb-title h1{font-size:1.4rem;line-height:1.2}
.tb-fit .tb-teaser{margin:.2rem 0 .45rem;font-size:.95rem;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.tb-player{display:flex;align-items:center;gap:.45rem;background:#fff;border:1px solid var(--brand-line);border-radius:16px;padding:.45rem .55rem}
.tb-pbtn{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;gap:1px;width:46px;height:46px;padding:0;border-radius:50%;border:1.5px solid var(--brand-line);background:#fff;color:var(--brand-navy);font:700 1.1rem/1 var(--font);cursor:pointer}
.tb-pbtn small{font-size:.875rem;font-weight:700}
.tb-pplay{width:56px;height:56px;background:var(--action-red);border-color:var(--action-red);color:#fff;font-size:1.3rem}
.tb-pplay.on{background:var(--brand-navy);border-color:var(--brand-navy)}
.tb-ptime{flex:1;min-width:0;display:grid}
.tb-pbar{width:100%;height:28px;margin:0;accent-color:var(--action-red)}
.tb-ptime small{font-size:.875rem;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tb-chips{display:flex;flex-wrap:wrap;gap:.45rem;margin:.45rem 0 0}
.tb-chip{min-height:44px;padding:.3rem .9rem;border-radius:999px;border:1.5px solid var(--brand-line);background:#fff;color:var(--brand-navy);font:600 .95rem var(--font);cursor:pointer}
.tb-nextbar{position:fixed;left:0;right:0;bottom:var(--tabh);z-index:1290;box-sizing:border-box;height:var(--nbh);display:flex;align-items:center;gap:.5rem;padding:.4rem max(.75rem,env(safe-area-inset-right)) .4rem max(.75rem,env(safe-area-inset-left));background:rgba(244,247,251,.97);border-top:1px solid var(--brand-line)}
.tb-prevbtn{flex:0 0 48px;height:52px;border-radius:14px;border:1.5px solid var(--brand-line);background:#fff;color:var(--brand-navy);font-size:1.1rem;cursor:pointer}
.tb-nextbar .tb-navbtn{flex:1;min-width:0;width:auto;margin:0;min-height:56px;display:grid;grid-template-columns:1fr auto;justify-items:start;column-gap:.5rem;row-gap:0;text-align:left;border-radius:16px;padding:.3rem .9rem}
.tb-nb-t{grid-column:1;max-width:100%;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tb-nextbar .tb-navbtn small{grid-column:1;font-size:.875rem;font-weight:500;opacity:.95}
.tb-nb-a{grid-column:2;grid-row:1/3;align-self:center;font-size:1.1rem}
.tb-fit .tb-toast{bottom:calc(var(--tabh) + var(--nbh) + .4rem)}
/* Mini-Player auf anderen Seiten */
.tb-mini{display:flex;align-items:center;gap:.5rem;bottom:calc(var(--tabh) + .4rem);padding:.3rem .45rem;border-radius:16px}
body:not(.has-tabs) .tb-mini{bottom:calc(.5rem + env(safe-area-inset-bottom))}
.tb-mini .tb-pbtn{width:44px;height:44px}
.tb-mini-t{flex:1;min-width:0;padding:0;font-size:.95rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.has-mini .tb-toast{bottom:calc(var(--tabh) + 4.6rem)}
.has-mini .tb-maptools{bottom:4.4rem}
/* Karte (Tab) */
.tb-mapview{top:var(--hh);bottom:var(--tabh)}
/* Navigation: Vollbildkarte, schmale Leiste oben, Blatt unten (zu 72 px) */
body.tb-navmode .tb-head,body.tb-navmode .tb-tabs,body.tb-navmode .tb-mini,body.tb-navmode .tb-wrap{display:none}
.tb-mapview.nav{top:0!important;bottom:0;z-index:1500;overflow:hidden}
.tb-navcard{top:0;left:0;right:0;box-sizing:border-box;min-height:60px;display:flex;align-items:center;gap:.6rem;border-radius:0 0 16px 16px;padding:calc(.4rem + env(safe-area-inset-top)) max(.6rem,env(safe-area-inset-right)) .4rem max(.75rem,env(safe-area-inset-left))}
.tb-navcard[hidden]{display:none}
.tb-navback,.tb-navnext{flex:0 0 auto;box-sizing:border-box;min-height:44px;height:44px;padding:0 .75rem;border:0;border-radius:12px;background:var(--brand-navy);color:#fff;font:700 .95rem/1 var(--font);white-space:nowrap;cursor:pointer}
.tb-navinfo{flex:1;min-width:0}
.tb-navcard .tb-navnext{margin-left:auto}
.tb-finish{justify-content:center}
.tb-inline{margin:.4rem 0 .8rem}
.tb-navto{display:flex;align-items:baseline;gap:.3rem;min-width:0;margin:0;font-size:.95rem;white-space:nowrap}
.tb-navto b{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tb-navcard .tb-navleft{font-size:1.15rem;margin:0!important;line-height:1.25}
.tb-navcard small{display:block;font-size:.875rem;color:var(--muted);line-height:1.3}
.tb-navcard .tb-navoff{color:#B00012;font-weight:700}
.tb-navcard.off{box-shadow:inset 0 -3px 0 #00D96C,0 4px 18px rgba(0,0,0,.2)}
.tb-navcard.arrived{background:#E7F6EC}
.tb-navcard .tb-arrbtn{min-height:44px;flex:0 0 auto;padding:.3rem .8rem}
.tb-navend{display:block;width:100%;margin:.5rem 0 .15rem;min-height:44px}
.tb-sheet{position:absolute;left:0;right:0;bottom:0;z-index:1000;max-height:75%;overflow:auto;background:#fff;border-radius:18px 18px 0 0;box-shadow:0 -4px 18px rgba(0,0,0,.18);padding:0 max(.75rem,env(safe-area-inset-right)) calc(.3rem + env(safe-area-inset-bottom)) max(.75rem,env(safe-area-inset-left))}
.tb-sheet[hidden]{display:none}
.tb-handle{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:1px;width:100%;min-height:26px;padding:6px 0 0;border:0;background:none;cursor:pointer;color:var(--muted);font:700 .75rem/1 var(--font)}
.tb-handle-bar{display:block;width:44px;height:5px;border-radius:3px;background:#7a8694}
.tb-handle-lbl{min-height:.85rem}
.tb-handle-lbl:empty{display:none}
.tb-handle-lbl::before{content:"⌃ ";font-size:.85rem}
.tb-sheet[data-stage="1"] .tb-handle-lbl::before,.tb-sheet[data-stage="2"] .tb-handle-lbl::before{content:"⌄ "}
.tb-sheet0{display:flex;align-items:center;gap:.5rem;min-height:56px}
.tb-sheet0 .tb-pplay{width:48px;height:48px;font-size:1.15rem}
.tb-sheet0 .tb-pbtn:not(.tb-pplay){width:44px;height:44px}
.tb-sh-t{flex:1;min-width:0;min-height:44px;display:grid;align-content:center;text-align:left;cursor:pointer;white-space:nowrap;overflow:hidden;gap:1px;border:0;background:none;padding:0;font:inherit;color:inherit}
.tb-sh-t small{font-size:.875rem;color:var(--muted);overflow:hidden;text-overflow:ellipsis}
.tb-sh-t b{color:var(--brand-navy);overflow:hidden;text-overflow:ellipsis}
.tb-sh-back{color:var(--brand-navy);font-weight:700;font-size:.9rem;overflow:hidden;text-overflow:ellipsis}
.tb-sheet1 .tb-row{margin:.4rem 0}
.tb-sheet2 p{margin:.3rem 0 .6rem}
body.tb-navmode .leaflet-control-zoom{display:none}
.tb-mapview.nav .leaflet-bottom{bottom:96px}
.tb-mapview.nav .tb-sketchnote{bottom:100px}
/* Blätter und Fotos groß */
.tb-ov{position:fixed;inset:0;z-index:2000;display:flex;align-items:flex-end;background:rgba(0,20,50,.55)}
.tb-ov[hidden]{display:none}
.tb-ov-in{position:relative;box-sizing:border-box;width:100%;max-width:40rem;max-height:calc(100dvh - 2.5rem - env(safe-area-inset-top));margin:0 auto;overflow:auto;background:#fff;border-radius:18px 18px 0 0;padding:.6rem max(1rem,env(safe-area-inset-right)) calc(1rem + env(safe-area-inset-bottom)) max(1rem,env(safe-area-inset-left))}
.tb-ov-in h2{margin:.5rem 0 .6rem;font-size:1.3rem}
.tb-ov-x{position:sticky;top:0;float:right;width:44px;height:44px;border-radius:50%;background:#fff;color:var(--brand-navy);font-size:1.7rem}
.tb-ov-photo{align-items:center;background:rgba(0,0,0,.92)}
.tb-ov-photo .tb-ov-in{background:#000;color:#fff;border-radius:0;padding:0 0 env(safe-area-inset-bottom)}
.tb-ov-photo .tb-ov-x{position:absolute;right:.5rem;top:calc(.5rem + env(safe-area-inset-top));z-index:2;background:rgba(255,255,255,.92)}
.tb-big{margin:0}
.tb-big img{display:block;width:100%;height:auto;max-height:78dvh;object-fit:contain}
.tb-big figcaption{padding:.6rem 1rem;font-size:.9rem;line-height:1.45;color:#e5ecf3}
.tb-big a{color:#fff}
body.tb-ovopen,body.tb-menuopen{overflow:hidden}
/* Menü */
.tb-menu{position:fixed;inset:0;z-index:1900;display:flex;justify-content:flex-end;align-items:flex-start;background:rgba(0,20,50,.45)}
.tb-menu[hidden]{display:none}
.tb-menu-in{box-sizing:border-box;width:min(21rem,90vw);max-height:100dvh;overflow:auto;display:grid;gap:.45rem;background:#fff;border-radius:0 0 0 18px;padding:calc(.4rem + env(safe-area-inset-top)) max(.9rem,env(safe-area-inset-right)) 1rem .9rem}
.tb-menu-h{display:flex;align-items:center}
.tb-menu-h .tb-x{width:44px;height:44px;color:var(--brand-navy);font-size:1.7rem}
.tb-menu .tb-lang button{flex:1;min-height:44px;font-size:.95rem}
.tb-mi{box-sizing:border-box;display:flex;align-items:center;width:100%;min-height:48px;padding:0 .8rem;border:1px solid var(--brand-line);border-radius:12px;background:#fff;color:var(--brand-navy);font:600 1rem var(--font);text-align:left;text-decoration:none;cursor:pointer}
.tb-mis{display:grid;gap:.45rem;margin:.6rem 0}
/* Zugang und Geräte, Hilfe: eingeklappt */
.tb-codehead{display:flex;align-items:center;justify-content:space-between;gap:.5rem}
.tb-codehead h1{margin:.2rem 0;font-size:1.4rem}
.tb .tb-back{flex:0 0 auto;min-height:44px;padding:.3rem .8rem}
.tb-access{margin:.5rem 0}
.tb-intro{margin:.3rem 0}
.tb-codeform{margin:.6rem 0}
.tb-codeform input{min-height:48px;box-sizing:border-box}
details.tb-more{margin:.45rem 0;padding:0 .8rem;background:#fff;border:1px solid var(--brand-line);border-radius:12px}
details.tb-more>summary{display:flex;align-items:center;min-height:48px;font-weight:700;color:var(--brand-navy);cursor:pointer;list-style:none}
details.tb-more>summary::-webkit-details-marker{display:none}
details.tb-more>summary::after{content:"›";margin-left:auto;font-size:1.4rem;transition:transform .2s}
details.tb-more[open]>summary::after{transform:rotate(90deg)}
.tb-devs li{padding:.4rem .7rem;margin:0 0 .4rem}
.tb-devs li .btn{min-height:44px}
.tb-off{margin:.6rem 0;padding:.6rem .8rem}
.tb-offrow{margin:.5rem 0 0}
/* Alle Orte: Haken zum Ändern */
.tb-lrow{display:flex;align-items:center}
.tb-lrow>button:first-child{flex:1;min-width:0}
.tb-list .tb-donebtn{flex:0 0 44px;width:44px;height:44px;min-height:44px;margin-right:.45rem;padding:0;justify-content:center;border:1.5px solid var(--brand-line);border-radius:50%;color:#c5cfdb;font-weight:800}
.tb-list .tb-donebtn[aria-pressed="true"]{background:var(--brand-navy);border-color:var(--brand-navy);color:#fff}
.tb-dot{font-size:.95rem}
@media (min-width:700px){.tb-nextbar{left:50%;right:auto;width:100%;max-width:40rem;transform:translateX(-50%)}.tb-photo-s{max-height:300px}}
@media (prefers-reduced-motion:reduce){.tb-arrow{transition:none}.tb-mstop.target{animation:none}}
.tb-sh-t{border:0;background:none;padding:0;font:inherit;color:inherit}
.tb-vline{margin:-.25rem 0 .55rem}
.tb-mis{grid-template-columns:repeat(3,1fr)}
.tb-mis .tb-mi{justify-content:center;text-align:center;padding:.3rem .35rem;font-size:.9rem;line-height:1.2;min-height:56px}
.tb-devt{min-width:0}
.tb-pick{font-size:.9rem}
.tb-access{margin:.4rem 0;padding:.6rem .8rem}
.tb-devs li{margin:0 0 .3rem}
@media (max-height:620px){
 .tb-hello{font-size:.95rem;margin:0 0 .35rem;line-height:1.35}
 .tb-bfrow,.tb-nearbtn{min-height:44px}
 #where{font-size:1.2rem;margin:.5rem 0 .35rem}
 .tb-vline{margin:-.2rem 0 .4rem}
 .tb-picks{gap:.35rem;margin:.45rem 0 .1rem}
 .tb-pick{min-height:44px}
 .tb-versions .tb-card{min-height:48px;padding:.3rem .7rem}
 .tb-wrap{padding-top:.45rem}
}
.tb-head .brand{min-height:44px;display:flex;align-items:center}
.tb-toast .tb-x{min-width:44px;min-height:44px}
.tb .badge.hl{font-size:.875rem}
.tb-mlabel.target{font-size:.95rem}
.tb-access small{font-size:.875rem}
.tb-mapview.nav .leaflet-control-attribution{white-space:nowrap}
body:not(.has-tabs) .tb-toast{top:calc(var(--hh) + .5rem);bottom:auto}

.tb-geschenk{margin:.5rem 0 .7rem;padding:.65rem .8rem;background:#E7F6EC;border-radius:var(--radius)}
.tb-geschenk p{margin:0 0 .45rem;font-weight:600;font-size:.92rem;line-height:1.35}
.tb-geschenk-kicker{font-weight:800!important;font-size:.95rem!important;margin:0 0 .3rem!important}
.tb-mehr .tb-geschenk-kicker{font-weight:800}
.kt-geschenk-kicker{margin:.7rem 0 .15rem;font-weight:800;font-size:.95rem;color:var(--brand-navy, #0B1F3A)}
.tb-geschenk-btns{display:flex;flex-wrap:wrap;gap:.4rem;margin:0!important}
.tb-geschenk-btns .btn{flex:1;min-width:8rem;text-align:center;text-decoration:none;font-size:.9rem;padding:.45rem .6rem;min-height:44px;box-sizing:border-box;display:flex;align-items:center;justify-content:center}
.tb-mehr{margin:.35rem 0 0;font-size:.92rem;line-height:1.4}
.tb-mehr a{color:var(--brand-navy);font-weight:600}

.tb-sheet0[data-act]{cursor:pointer}
.tb-pbtn.on{background:var(--brand-navy);border-color:var(--brand-navy);color:#fff}
.tb-pbtn.heading{background:var(--brand-navy);border-color:var(--brand-navy);color:#fff}
.tb-compass{display:block;font-size:1.2rem;line-height:1;transform:none}

/* Meldung „Freigeschaltet“ im Fluss der Startansicht statt darüber (Erlebnis-Prüfung Runde 3) */
.tb-unlocked{margin:.1rem 0 .6rem;padding:.6rem .8rem;border-radius:var(--radius);background:#e8f5ec;color:#14532d;font-weight:700}
/* Standort für die Navigation: kurzer Hinweis mit Knopf, Wahl gilt für den Tag */
.tb-geo{margin:.2rem 0 .8rem;padding:.75rem .85rem;border:1.5px solid #c9d6ea;border-radius:var(--radius);background:#fff}
.tb-geo strong,.tb-geo h2{display:block;margin:0 0 .25rem;font-size:1rem;color:var(--brand-navy)}
.tb-geo p{margin:0 0 .6rem}
.tb-geo .tb-row{margin:0}
.tb-geo .btn{min-height:44px}
.tb-geohint{margin:.2rem 0 .8rem;padding:.6rem .8rem;border-radius:var(--radius);background:#fff7e0;color:#4a3500}
/* UX-Rundgang 17.11.: „Nicht jetzt“ beim Standort-Hinweis als ruhiger Textlink statt zweitem grünen Button */
.tb .tb-geo button.btn.btn-ghost{background:none!important;border-color:transparent!important;box-shadow:none!important;color:#0B1F3A!important;text-decoration:underline;text-underline-offset:3px;font-weight:600}
.tb .tb-geo button.btn.btn-ghost:hover,.tb .tb-geo button.btn.btn-ghost:focus-visible{background:rgba(255,255,255,.5)!important}
/* t1206u/t1207u: Startbildschirm mit festem Startpunkt und Stoppliste */
.tb-starth{font-size:1.3rem;line-height:1.25;margin:.2rem 0 .3rem}
.tb-ready{font-size:1.05rem;font-weight:600;margin:0 0 .7rem}
.tb-gobtn{width:100%;min-height:52px;font-size:1.1rem}
.tb-stopsh{font-size:1rem;margin:1.1rem 0 .3rem}
.tb-stoplist{list-style:none;margin:.3rem 0 .8rem;padding:0;counter-reset:none}
.tb-stoplist li{display:flex;align-items:center;gap:.6rem;padding:.32rem 0;border-bottom:1px solid #e3e8ef}
.tb-stoplist li:last-child{border-bottom:0}
.tb-snr{flex:0 0 1.7rem;height:1.7rem;border-radius:50%;background:var(--brand-navy);color:#fff;font-weight:700;font-size:.85rem;display:inline-flex;align-items:center;justify-content:center}
.tb-sname{line-height:1.25}
.tb-sname small{color:var(--muted);font-weight:400;margin-left:.15rem}
.tb-stoplist li.done .tb-snr{background:var(--brand-blue-light);color:var(--brand-navy)}
.tb-sdone{color:var(--brand-navy)}
.tb-kinote{margin:.35rem 0 .2rem;color:var(--brand-navy)}
.tb-endextra{background:var(--brand-blue-light);border-left:4px solid var(--brand-navy);border-radius:10px;padding:.6rem .8rem;margin:.6rem 0;color:var(--brand-navy)}
.tb-s0hint{margin:-.2rem 0 .7rem;color:var(--brand-navy)}
.tb-stoplist li.tb-s0 .tb-snr{background:#0B1F3A;color:#fff}
.tb-m0{font-weight:700;color:#fff;background:#0B1F3A}
