@font-face { font-family: "Manrope"; src: url("fonts/Manrope-Variable.ttf") format("truetype"); font-weight: 200 800; }

:root {
  --orange: #e8501a;
  --text: #f2f2f0;
  --leise: #a9aaad;
  --glas: rgba(18, 19, 22, 0.72);
  --rand: rgba(255, 255, 255, 0.09);
  --karte: rgba(255, 255, 255, 0.045);
  --karte-hover: rgba(255, 255, 255, 0.09);
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; background: #050506; color: var(--text);
  font-family: "Manrope", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
#szene { position: fixed; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; cursor: grab; }
#szene:active { cursor: grabbing; }

.panel { background: var(--glas); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border: 1px solid var(--rand); border-radius: 14px; box-shadow: 0 10px 40px rgba(0,0,0,0.45); }
button { font: inherit; color: inherit; }
.icon { background: none; border: 0; font-size: 22px; line-height: 1; width: 34px; height: 34px; border-radius: 8px; cursor: pointer; color: var(--leise); }
.icon:hover { background: var(--karte-hover); color: var(--text); }

#menue { position: fixed; left: 16px; top: 16px; bottom: 16px; width: 300px; padding: 18px 14px 14px; display: flex; flex-direction: column;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), opacity .35s; z-index: 5; }
#menue.zu { transform: translateX(-340px); opacity: 0; pointer-events: none; }
#menue header { display: flex; align-items: center; justify-content: space-between; padding: 0 4px; }
.marke { height: 40px; width: auto; display: block; margin-left: -6px; }   /* logo\svg\03 (Schutzzone im SVG) */
.unter { margin: 4px 4px 14px; color: var(--leise); font-size: 13px; font-weight: 300; }
#liste { overflow-y: auto; flex: 1; padding-right: 2px; }
#liste h3 { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--leise); font-weight: 500; margin: 14px 6px 6px; }
.karte { display: block; width: 100%; text-align: left; background: var(--karte); border: 1px solid transparent; border-radius: 10px;
  padding: 10px 12px; margin-bottom: 6px; cursor: pointer; transition: background .2s, border-color .2s; }
.karte:hover { background: var(--karte-hover); }
.karte.aktiv { border-color: var(--orange); background: rgba(232, 80, 26, 0.12); }
.karte b { display: block; font-weight: 600; font-size: 14.5px; }
.karte span { display: block; color: var(--leise); font-size: 12.5px; font-weight: 300; margin-top: 2px; }
.breit { margin-top: 10px; width: 100%; padding: 11px; border-radius: 10px; border: 1px solid var(--rand); background: var(--karte);
  cursor: pointer; font-weight: 600; }
.breit:hover { background: var(--karte-hover); }
.schwebend { position: fixed; left: 16px; top: 16px; width: 46px; height: 46px; z-index: 4; display: none; }
#menue.zu ~ .schwebend { display: block; }

#info { position: fixed; right: 16px; top: 16px; width: 380px; max-height: calc(100% - 32px); overflow-y: auto; padding: 18px 20px 16px;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), opacity .35s; z-index: 5; }
#info.versteckt { transform: translateX(400px); opacity: 0; pointer-events: none; }
#info-zu { position: absolute; right: 10px; top: 10px; }
.gruppe { margin: 0; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--orange); font-weight: 600; }
#info h2 { margin: 6px 30px 10px 0; font-size: 22px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; }
#info-bild { margin: 0 0 12px; border-radius: 10px; overflow: hidden; background: #d9dadc; position: relative; }
#info-bild img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
#info-bild img[src$=".png"] { object-fit: contain; background: linear-gradient(#eceded, #cfd1d3); padding: 6px 0; }
#info-bild figcaption { position: absolute; right: 8px; bottom: 6px; font-size: 10.5px; color: #fff; background: rgba(0,0,0,.45);
  padding: 2px 7px; border-radius: 6px; }
#info-bild figcaption:empty { display: none; }
#info-vorteile { list-style: none; margin: 0 0 14px; padding: 0; }
#info-vorteile li { position: relative; padding: 5px 0 5px 24px; font-size: 13.5px; line-height: 1.4; font-weight: 500; color: var(--text); }
#info-vorteile li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 11px; height: 6px; border-left: 2px solid var(--orange);
  border-bottom: 2px solid var(--orange); transform: rotate(-45deg); }
#info-text p { margin: 0 0 10px; font-size: 13px; line-height: 1.55; font-weight: 300; color: #dcdcda; }
#info-werte { width: 100%; border-collapse: collapse; margin: 6px 0 12px; font-size: 13px; }
#info-werte td { padding: 6px 0; border-top: 1px solid var(--rand); }
#info-werte td:first-child { color: var(--leise); font-weight: 300; padding-right: 10px; }
#info-werte td:last-child { text-align: right; font-weight: 500; }
#info-fahrten { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
#info-fahrten:empty { display: none; }
#info-fahrten button { padding: 9px 13px; border-radius: 999px; border: 1px solid var(--orange); background: rgba(232,80,26,.14); cursor: pointer;
  font-size: 13px; font-weight: 600; }
#info-fahrten button:hover { background: rgba(232,80,26,.3); }
#info-fahrten button:disabled { opacity: .45; cursor: default; }
.hinweis { margin: 4px 0 0; font-size: 11.5px; color: var(--leise); font-weight: 300; }

#hilfe { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); padding: 9px 16px; font-size: 12.5px; color: var(--leise);
  font-weight: 300; white-space: nowrap; z-index: 3; transition: opacity .5s; }
#hilfe b { color: var(--text); font-weight: 600; }
#hilfe .touch { display: none; }
#hilfe.weg { opacity: 0; }

#tipp { position: fixed; z-index: 6; pointer-events: none; padding: 5px 10px; border-radius: 8px; font-size: 12.5px; font-weight: 600;
  background: rgba(18,19,22,.85); border: 1px solid var(--orange); opacity: 0; transition: opacity .15s; white-space: nowrap; }
#tipp.an { opacity: 1; }

#stick { position: fixed; width: 110px; height: 110px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.06);
  display: none; z-index: 6; pointer-events: none; }
#knopf { position: absolute; left: 35px; top: 35px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.4); }

#laden { position: fixed; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #050506; z-index: 10;
  transition: opacity .6s; }
#laden.weg { opacity: 0; pointer-events: none; }
.balken { width: 240px; height: 3px; background: rgba(255,255,255,.1); border-radius: 2px; overflow: hidden; }
#fortschritt { width: 0; height: 100%; background: var(--orange); transition: width .2s; }
#laden p { color: var(--leise); font-size: 13px; font-weight: 300; }

@media (max-width: 760px) {
  #menue { left: 8px; top: 8px; bottom: auto; max-height: 55%; width: calc(100% - 16px); }
  #menue.zu { transform: translateY(-110%); }
  #info { left: 8px; right: 8px; top: auto; bottom: 8px; width: auto; max-height: 48%; }
  #info.versteckt { transform: translateY(110%); }
  .schwebend { left: 8px; top: 8px; }
  #hilfe { white-space: normal; width: calc(100% - 16px); text-align: center; bottom: 8px; }
}
@media (pointer: coarse) { #hilfe .touch { display: inline; } }
