/* ───────────── WorldTrace · öffentliche Seiten ───────────── */
:root {
  --bg: #06080c; --bg2: #0a0e15; --bg3: #0f141d;
  --panel: rgba(17, 23, 33, .72); --panel-solid: #111721;
  --line: rgba(255, 255, 255, .08); --line2: rgba(255, 255, 255, .14);
  --text: #e9eef6; --muted: #8b97a9; --dim: #5d6879;
  --accent: #5ef0c3; --accent2: #7aa2ff; --warn: #ffb547; --danger: #ff5d6c; --mil: #ff8a3d; --gold: #f5c76b;
  --radius: 18px; --radius-sm: 12px;
  --font: 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
  --font-head: 'Inter Tight', 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  --tint: rgba(255,255,255,.04); --tint2: rgba(255,255,255,.08); --card: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01)); --btn-ink: #04120d; --navbg: rgba(6, 8, 12, .78);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--font-head); letter-spacing: -.02em; line-height: 1.1; margin: 0; }
p { margin: 0; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); } .small { font-size: 14px; } .mono { font-family: var(--mono); }
.grad { background: linear-gradient(100deg, var(--accent) 0%, var(--accent2) 60%, #c58bff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 22px; border-radius: 999px; font-weight: 600; border: 0; cursor: pointer;
  background: linear-gradient(135deg, var(--accent), #44d6f0); color: var(--btn-ink); box-shadow: 0 8px 30px -8px rgba(94, 240, 195, .55); transition: transform .15s, box-shadow .2s; font-size: 15px; font-family: inherit; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 36px -8px rgba(94, 240, 195, .7); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-ghost { background: var(--tint); color: var(--text); border: 1px solid var(--line2); box-shadow: none; }
.btn-ghost:hover { background: var(--tint2); box-shadow: none; }
.btn-block { width: 100%; justify-content: center; }

/* Navigation */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .25s, border-color .25s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: var(--navbg); backdrop-filter: blur(16px) saturate(1.4); border-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 800; letter-spacing: .14em; font-size: 15px; }
.nav-links { display: flex; gap: 24px; font-size: 14px; color: var(--muted); }
.nav-links a:hover, .ghost:hover { color: var(--text); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 16px; font-size: 14px; }
.ghost { color: var(--muted); }
.lang { font: 500 12px var(--mono); color: var(--muted); border: 1px solid var(--line2); border-radius: 6px; padding: 3px 7px; }
@media (max-width: 860px) { .nav-links { display: none; } .nav-right .ghost { display: none; } }

/* Hero */
.hero { position: relative; min-height: 100vh; display: grid; align-items: center; padding: 110px 0 60px; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: -20% -10% auto; height: 120%; pointer-events: none;
  background: radial-gradient(50% 45% at 70% 40%, rgba(122, 162, 255, .16), transparent 70%), radial-gradient(40% 35% at 20% 30%, rgba(94, 240, 195, .10), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; position: relative; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .14em; color: var(--accent);
  padding: 6px 12px; border: 1px solid rgba(94, 240, 195, .25); border-radius: 999px; background: rgba(94, 240, 195, .06); }
.hero h1 { font-size: clamp(42px, 6.2vw, 80px); font-weight: 800; margin: 22px 0 22px; }
.hero .sub { font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-note { margin-top: 16px; font-size: 14px; color: var(--dim); }
.globe-box { position: relative; aspect-ratio: 1; width: 100%; max-width: 620px; justify-self: center; }
.globe-box #globe { position: absolute; inset: 0; border-radius: 50%; }
.globe-box::after { content: ''; position: absolute; inset: 6%; border-radius: 50%; pointer-events: none; box-shadow: 0 0 120px 10px rgba(94, 240, 195, .10), inset 0 0 60px rgba(0,0,0,.4); }
.globe-hud { position: absolute; font: 500 11px var(--mono); color: var(--muted); background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; backdrop-filter: blur(10px); z-index: 2; }
.globe-hud b { color: var(--text); font-weight: 500; }
.hud-tl { top: 8%; left: -2%; } .hud-br { bottom: 10%; right: -2%; }
/* Schaufenster auf dem Startseiten-Globus: Infokarte zum hervorgehobenen Objekt */
.globe-spot { left: -4%; bottom: 22%; max-width: 260px; display: grid; gap: 3px; opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s; pointer-events: none; font-family: inherit; }
.globe-spot.on { opacity: 1; transform: none; }
.globe-spot .spot-k { display: flex; align-items: center; gap: 6px; font: 500 10px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.globe-spot .spot-k i { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.globe-spot strong { font-size: 14px; color: var(--text); font-weight: 600; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.globe-spot small { font: 500 11px var(--mono); color: var(--muted); }
.globe-spot em { font-style: normal; font-size: 11px; color: var(--dim); }
.globe-spot em:empty { display: none; }
.globe-spot img[hidden] { display: none; }
.globe-spot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; margin-top: 4px; background: #0b0f16; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } .globe-box { max-width: 460px; } .hud-tl { left: 0; } .hud-br { right: 0; } .globe-spot { left: 0; bottom: 20%; max-width: 210px; } }

.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; background: var(--accent); }
.dot.live { box-shadow: 0 0 0 0 rgba(94, 240, 195, .7); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(94, 240, 195, .6); } 70% { box-shadow: 0 0 0 9px rgba(94, 240, 195, 0); } 100% { box-shadow: 0 0 0 0 rgba(94, 240, 195, 0); } }

/* Live-Zähler */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 56px; }
.stat { background: var(--bg2); padding: 22px 24px; }
.stat b { display: block; font: 600 clamp(24px, 3vw, 34px) var(--font-head); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat span { font-size: 13px; color: var(--muted); }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* Quellenleiste */
.sources { padding: 40px 0; border-block: 1px solid var(--line); background: var(--bg2); }
.sources p { text-align: center; font: 500 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 18px; }
.src-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 34px; font: 600 15px var(--font-head); color: var(--muted); letter-spacing: .02em; }

/* Abschnitte */
section { padding: 110px 0; }
.sec-head { max-width: 680px; margin-bottom: 52px; }
.sec-head h2 { font-size: clamp(32px, 4.2vw, 52px); font-weight: 800; }
.sec-head p { color: var(--muted); font-size: 18px; margin-top: 16px; }
.center { text-align: center; margin-inline: auto; }

/* Bento-Raster */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; overflow: hidden; transition: border-color .2s, transform .2s; }
.card:hover { border-color: var(--line2); }
.card h3 { font-size: 21px; margin: 14px 0 8px; }
.card p { color: var(--muted); font-size: 15px; }
.card .ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(94, 240, 195, .08); border: 1px solid rgba(94, 240, 195, .2); color: var(--accent); }
.card .ico svg { width: 22px; height: 22px; }
.c-2 { grid-column: span 2; } .c-3 { grid-column: span 3; } .c-4 { grid-column: span 4; }
.card .tag { position: absolute; top: 22px; right: 22px; font: 500 11px var(--mono); color: var(--accent); }
@media (max-width: 960px) { .bento { grid-template-columns: repeat(2, 1fr); } .c-2, .c-3, .c-4 { grid-column: span 2; } }
@media (min-width: 600px) and (max-width: 960px) { .c-2 { grid-column: span 1; } }

.cam-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 20px; }
.cam-thumb { position: relative; aspect-ratio: 16/10; border-radius: 10px; overflow: hidden; background: var(--bg3); border: 1px solid var(--line); }
.cam-thumb img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9); }
.cam-thumb span { position: absolute; left: 6px; bottom: 6px; right: 6px; font: 500 10px var(--mono); background: rgba(0,0,0,.6); padding: 3px 6px; border-radius: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cam-thumb i { position: absolute; top: 6px; left: 6px; font: 600 9px var(--mono); font-style: normal; background: var(--danger); color: #fff; padding: 2px 6px; border-radius: 4px; letter-spacing: .08em; }

.mini-list { margin-top: 18px; display: grid; gap: 8px; font: 13px var(--mono); }
.mini-list div { display: flex; justify-content: space-between; gap: 10px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; background: rgba(0,0,0,.2); }
.mini-list div span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-list .mil { color: var(--mil); } .mini-list .q { color: var(--warn); }

/* Zielgruppen */
.aud { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.aud .card h3 { font-size: 18px; margin-top: 0; }
@media (max-width: 860px) { .aud { grid-template-columns: 1fr; } }

/* Preise */
.toggle { display: inline-flex; background: var(--bg3); border: 1px solid var(--line); border-radius: 999px; padding: 4px; gap: 4px; margin-top: 26px; }
.toggle button { border: 0; background: transparent; color: var(--muted); padding: 9px 18px; border-radius: 999px; font: 600 14px var(--font); cursor: pointer; }
.toggle button.on { background: var(--text); color: var(--bg); }
.toggle .save { font: 500 11px var(--mono); color: var(--accent); margin-left: 6px; }
.toggle button.on .save { color: #0a7a5c; }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.plan { display: flex; flex-direction: column; background: var(--bg2); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; position: relative; }
.plan.hot { border-color: rgba(94, 240, 195, .5); background: linear-gradient(180deg, rgba(94, 240, 195, .07), var(--bg2) 45%); box-shadow: 0 30px 80px -40px rgba(94, 240, 195, .5); }
.plan .badge { position: absolute; top: -12px; left: 24px; font: 600 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; background: var(--accent); color: var(--btn-ink); padding: 4px 10px; border-radius: 999px; }
.plan h3 { font-size: 20px; }
.plan .pdesc { color: var(--muted); font-size: 14px; margin: 6px 0 20px; min-height: 42px; }
.plan .price { font: 800 44px var(--font-head); letter-spacing: -.03em; }
.plan .price small { font: 500 14px var(--font); color: var(--muted); letter-spacing: 0; }
.plan .billed { font-size: 13px; color: var(--dim); min-height: 20px; margin-bottom: 20px; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; font-size: 14px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; color: #c9d2df; }
.plan li::before { content: ''; flex: none; width: 16px; height: 16px; margin-top: 3px; border-radius: 50%; background: rgba(94, 240, 195, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' stroke='%235ef0c3' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.plan .spacer { flex: 1; }
@media (max-width: 1060px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .plans { grid-template-columns: 1fr; } }
.daypass { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 26px; border: 1px dashed var(--line2); border-radius: var(--radius); background: rgba(255,255,255,.02); }
.daypass h3 { font-size: 18px; } .daypass p { color: var(--muted); font-size: 15px; margin-top: 4px; }

.compare { width: 100%; border-collapse: collapse; margin-top: 60px; font-size: 14px; }
.compare th, .compare td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: center; }
.compare th:first-child, .compare td:first-child { text-align: left; color: var(--muted); }
.compare thead th { font: 700 15px var(--font-head); position: sticky; top: 68px; background: var(--bg); }
.compare .y { color: var(--accent); } .compare .n { color: var(--dim); }
.table-scroll { overflow-x: auto; }

/* FAQ */
.faq { max-width: 820px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq summary { cursor: pointer; list-style: none; font: 600 18px var(--font-head); display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--accent); font: 400 24px var(--mono); line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin-top: 12px; }

/* Schluss-CTA */
.final { text-align: center; padding: 120px 0; position: relative; overflow: hidden; }
.final::before { content: ''; position: absolute; inset: 0; background: radial-gradient(40% 60% at 50% 100%, rgba(94, 240, 195, .14), transparent 70%); }
.final h2 { font-size: clamp(36px, 5vw, 64px); font-weight: 800; position: relative; }
.final p { color: var(--muted); font-size: 18px; margin: 16px 0 32px; position: relative; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 60px 0 30px; background: var(--bg2); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; }
.foot h4 { font: 600 13px var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--dim); margin-bottom: 14px; }
.foot-grid a:not(.brand) { display: block; color: var(--muted); font-size: 14px; margin-bottom: 8px; }
.foot-grid a:hover { color: var(--text); }
.foot .status { margin-top: 16px; color: var(--dim); font-family: var(--mono); font-size: 12px; display: flex; align-items: center; gap: 8px; }
.foot-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > div:first-child { grid-column: span 2; } }

/* Formulare & Konto */
.auth { min-height: 100vh; display: grid; place-items: center; padding: 100px 16px 40px; }
.auth-card { width: min(420px, 100%); background: var(--bg2); border: 1px solid var(--line); border-radius: 22px; padding: 34px; }
.auth-card h1 { font-size: 28px; margin-bottom: 22px; }
label { display: block; font-size: 13px; color: var(--muted); margin: 14px 0 6px; }
input[type=email], input[type=password], input[type=text], input[type=date], select, textarea { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line2); background: var(--bg); color: var(--text); font: 15px var(--font); outline: none; }
input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(94, 240, 195, .15); }
.alert { padding: 12px 14px; border-radius: 12px; font-size: 14px; margin-bottom: 14px; }
.alert.err { background: rgba(255, 93, 108, .1); border: 1px solid rgba(255, 93, 108, .35); color: #ffc2c8; }
.alert.ok { background: rgba(94, 240, 195, .08); border: 1px solid rgba(94, 240, 195, .3); color: #c4fbe9; }
.alert.info { background: rgba(122, 162, 255, .08); border: 1px solid rgba(122, 162, 255, .3); color: #cfdcff; }
.page { padding: 120px 0 80px; }
.page h1 { font-size: clamp(32px, 4vw, 48px); margin-bottom: 24px; }
.prose { max-width: 760px; color: #c9d2df; }
.prose h2 { font-size: 22px; margin: 34px 0 10px; color: var(--text); }
.prose p, .prose li { margin-bottom: 10px; }
.prose a { color: var(--accent); }
.kv { display: grid; grid-template-columns: 200px 1fr; gap: 10px 20px; font-size: 15px; }
.kv dt { color: var(--muted); } .kv dd { margin: 0; }
.src-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.src-table td, .src-table th { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.src-table th { color: var(--dim); font: 600 12px var(--mono); text-transform: uppercase; letter-spacing: .1em; }

/* Einblend-Animation */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .dot.live { animation: none; } html { scroll-behavior: auto; } }

.radio { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; margin: 8px 0; cursor: pointer; }
.radio input { width: auto; margin-top: 4px; accent-color: var(--accent); }
textarea { min-height: 90px; resize: vertical; }
