/* Startseite: Login links, Live-Statistik rechts */
body.landing { display: block; background: radial-gradient(ellipse at 15% 0%, #0f1a26 0%, #070a10 60%); min-height: 100vh; }

.land-wrap {
    display: grid;
    grid-template-columns: 340px minmax(0, 1fr);
    gap: 28px;
    max-width: 1240px;
    margin: 0 auto;
    padding: 28px 20px 48px;
    align-items: start;
}

/* --- Login --- */
.land-login {
    position: sticky; top: 24px;
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.6rem 1.4rem;
    box-shadow: 0 0 40px rgba(0, 255, 157, 0.05);
}
.land-note { margin-top: 1rem; font-size: 0.78rem; color: var(--text-dim); line-height: 1.45; }

/* --- Statistik --- */
.land-stats { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.stats-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.stats-head h2 { font-size: 1.5rem; font-weight: 600; letter-spacing: 0.2px; }

.live { display: inline-flex; align-items: center; gap: 8px; font-size: 0.78rem; color: var(--text-dim); font-variant-numeric: tabular-nums; }
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--warning); }
.live.on i  { background: var(--accent); box-shadow: 0 0 7px var(--accent); animation: livepulse 2.4s ease-in-out infinite; }
.live.off i { background: var(--danger); }
@keyframes livepulse { 50% { opacity: .35; } }

.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.tile {
    background: var(--bg2); border: 1px solid var(--border); border-radius: 10px;
    padding: 14px 16px;
}
.tile .num { font-size: 2rem; font-weight: 700; line-height: 1.1; color: var(--accent); font-variant-numeric: tabular-nums; }
.tile.btc .num { color: #f7931a; }
.tile .lbl { margin-top: 4px; font-size: 0.88rem; color: var(--text); }
.tile .sub { margin-top: 6px; font-size: 0.74rem; color: var(--text-dim); }
.tile .sub b { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
#chg.up { color: var(--success); }
#chg.down { color: var(--danger); }

.panel { background: var(--bg2); border: 1px solid var(--border); border-radius: 10px; padding: 16px 18px; min-width: 0; }
.panel h3 { font-size: 0.98rem; font-weight: 600; margin-bottom: 12px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

/* Chart */
.chart { position: relative; height: 140px; margin-bottom: 14px; background: #0a0e14; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.chart svg { width: 100%; height: 100%; display: block; }
#chart-line { fill: none; stroke: #f7931a; stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
#chart-area { fill: rgba(247, 147, 26, 0.12); stroke: none; }
.chart-empty { position: absolute; inset: 0; display: none; align-items: center; justify-content: center; font-size: 0.78rem; color: var(--text-dim); text-align: center; padding: 0 16px; }

/* Key-Value-Listen */
.kv { display: grid; gap: 10px 18px; }
.kv.cols4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.kv.cols2 { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 14px; }
.kv > div { min-width: 0; }
.kv dt { font-size: 0.72rem; color: var(--text-dim); }
.kv dd { font-size: 0.95rem; font-weight: 600; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.panel > .kv.cols2:first-of-type { margin-top: 0; }

/* Subnetz-Tabelle */
.subnets { width: 100%; border-collapse: collapse; font-size: 0.82rem; }
.subnets th { text-align: left; font-weight: 500; font-size: 0.72rem; color: var(--text-dim); padding: 0 6px 6px 0; }
.subnets td { padding: 7px 6px 7px 0; border-top: 1px solid var(--border); font-variant-numeric: tabular-nums; }
.subnets small { color: var(--text-dim); font-size: 0.7rem; margin-left: 4px; }
.subnets .bar { display: inline-block; width: 54px; height: 5px; background: #1a2332; border-radius: 3px; margin-right: 8px; vertical-align: middle; overflow: hidden; }
.subnets .bar i { display: block; height: 100%; background: var(--accent2); border-radius: 3px; transition: width .6s; }

/* Bestenliste */
.top { list-style: none; counter-reset: rank; display: grid; gap: 2px; }
.top li { counter-increment: rank; display: flex; justify-content: space-between; padding: 7px 4px; border-top: 1px solid var(--border); font-size: 0.88rem; }
.top li:first-child { border-top: none; }
.top li span::before { content: counter(rank) ". "; color: var(--text-dim); font-variant-numeric: tabular-nums; }
.top li b { font-weight: 600; color: var(--accent); font-variant-numeric: tabular-nums; }
.top li.empty { color: var(--text-dim); }
.top li.empty span::before { content: ""; }

/* Wert hat sich geändert: kurzes Aufleuchten */
.bump { animation: bump .7s ease-out; }
@keyframes bump { 0% { color: #fff; } 100% { } }

/* Tablet / Handy */
@media (max-width: 980px) {
    .land-wrap { grid-template-columns: 1fr; }
    .land-login { position: static; }
    .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .kv.cols4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .two { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
    .tile .num { font-size: 1.6rem; }
    .land-wrap { padding: 16px 12px 36px; }
}
@media (prefers-reduced-motion: reduce) {
    .live.on i, .bump { animation: none; }
}

/* ===== Hero, Vorschau, Funktionen, Schritte, FAQ ===== */
html { scroll-behavior: smooth; }
.hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 22px; align-items: center; padding: 8px 0 4px; }
.hero-badge { display: inline-block; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); border: 1px solid #00ff9d44; background: #00ff9d12; padding: 4px 11px; border-radius: 99px; }
.hero h2 { font-size: 2.5rem; line-height: 1.12; margin: 14px 0 12px; font-weight: 800; letter-spacing: -.5px; }
.hero h2 em { font-style: normal; background: linear-gradient(90deg, var(--accent), var(--accent2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { color: var(--text-dim); line-height: 1.6; font-size: .98rem; max-width: 560px; }
.hero p strong { color: var(--text); }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0 14px; }
.hero-cta.center { justify-content: center; margin-top: 18px; }
.hero-cta .btn { padding: 11px 20px; font-size: .95rem; }
.hero-ghost { background: transparent; border: 1px solid #2a3a52; color: var(--text); text-decoration: none; border-radius: 8px; display: inline-flex; align-items: center; }
.hero-ghost:hover { border-color: var(--accent2); color: var(--accent2); }
.hero-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.hero-pills span { font-size: .76rem; color: var(--text-dim); background: var(--bg2); border: 1px solid var(--border); padding: 4px 10px; border-radius: 99px; }
.hero-term { background: #05080d; border: 1px solid #1e3a34; border-radius: 12px; box-shadow: 0 0 50px #00ff9d14, inset 0 0 40px #00ff9d06; overflow: hidden; min-width: 0; }
.term-bar { display: flex; gap: 6px; align-items: center; padding: 9px 12px; background: #0b121a; border-bottom: 1px solid #16242a; }
.term-bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; } .term-bar i:nth-child(2) { background: #febc2e; } .term-bar i:nth-child(3) { background: #28c840; }
.term-bar span { margin-left: 8px; font-size: .72rem; color: #5f7a8c; font-family: ui-monospace, Consolas, monospace; }
#term { margin: 0; padding: 14px 16px; height: 232px; overflow: hidden; font: 12.5px/1.6 ui-monospace, "Cascadia Mono", Consolas, monospace; color: #6dffbf; white-space: pre-wrap; }

.preview { margin-top: 4px; }
.pv-screen { position: relative; height: 330px; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); background:
    radial-gradient(ellipse at 20% 10%, #0f2a3a 0%, transparent 55%), radial-gradient(ellipse at 85% 90%, #2a0f3a 0%, transparent 55%), #070b11; }
.pv-screen::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 45%, rgba(7,10,16,.85) 100%); pointer-events: none; }
.pv-icons { position: absolute; left: 14px; top: 14px; display: flex; flex-direction: column; gap: 10px; }
.pv-icons span { width: 34px; height: 34px; border-radius: 9px; background: #151d2b; border: 1px solid #243047; display: flex; align-items: center; justify-content: center; font-size: 1rem; }
.pv-win { position: absolute; background: #0d1420ee; border: 1px solid #1f6b52; border-radius: 9px; box-shadow: 0 6px 24px #0008; overflow: hidden; }
.pv-t { font-size: .72rem; color: var(--accent); padding: 6px 10px; background: #101a28; border-bottom: 1px solid #1e2a3a; }
.pv-win.w1 { left: 70px; top: 26px; width: 290px; height: 190px; }
.pv-win.w2 { left: 330px; top: 70px; width: 230px; height: 150px; border-color: #7a5420; } .pv-win.w2 .pv-t { color: #f7931a; }
.pv-win.w3 { left: 150px; top: 190px; width: 260px; height: 100px; border-color: #6b2030; } .pv-win.w3 .pv-t { color: #ff6b81; }
.pv-gauges { display: flex; gap: 8px; padding: 12px 10px 6px; justify-content: center; }
.pv-gauges b { width: 78px; height: 78px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: .9rem; border: 5px solid; line-height: 1.1; }
.pv-gauges small { font-weight: 400; font-size: .55rem; color: var(--text-dim); }
.g1 { border-color: #ff3b5c #ff3b5c #2a1a22 #ff3b5c; color: #ff6b81; } .g2 { border-color: #ffb020 #ffb020 #2a2418 #2a2418; color: #ffb020; } .g3 { border-color: #00b4ff #00b4ff #182430 #00b4ff; color: #4cc9ff; }
.pv-graph { margin: 4px 10px; height: 34px; border-radius: 5px; background: linear-gradient(180deg, #0a0f18, #0a0f18); border: 1px solid #1a2535; position: relative; }
.pv-graph::after { content: ""; position: absolute; left: 6px; right: 6px; top: 12px; height: 12px; border-top: 2px solid #ffb020; border-radius: 40% 60% 0 0; }
.pv-chart { height: 60px; margin: 8px 10px 4px; } .pv-chart svg { width: 100%; height: 100%; }
.pv-row { display: flex; justify-content: space-between; padding: 4px 12px; font-size: .78rem; color: var(--text-dim); } .pv-row b { color: #f7931a; }
.pv-log { display: flex; flex-direction: column; gap: 4px; padding: 8px 12px; font-size: .72rem; color: var(--text-dim); font-family: ui-monospace, Consolas, monospace; } .pv-log .r { color: #ff6b81; } .pv-log .g { color: var(--accent); }
.pv-task { position: absolute; left: 0; right: 0; bottom: 0; height: 30px; background: #0b111a; border-top: 1px solid #1e2a3a; display: flex; align-items: center; justify-content: space-between; padding: 0 10px; z-index: 2; }
.pv-start { background: var(--accent); color: #04140c; font-weight: 800; font-size: .72rem; padding: 3px 10px; border-radius: 5px; }
.pv-tb { font-size: .72rem; color: var(--text-dim); } .pv-tb b { color: var(--accent); } .pv-tb i { color: var(--warning); font-style: normal; }

.sec { font-size: 1.25rem; font-weight: 700; margin: 6px 0 12px; }
.feat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.fc { background: var(--bg2); border: 1px solid var(--border); border-radius: 10px; padding: 14px 15px; transition: border-color .15s, transform .15s; }
.fc:hover { border-color: #00ff9d66; transform: translateY(-2px); }
.fc h3 { font-size: .95rem; margin: 0 0 5px; font-weight: 700; }
.fc p { margin: 0; font-size: .82rem; line-height: 1.5; color: var(--text-dim); }
.fc code, .faq code { background: #0b1220; border: 1px solid #1e2a3a; padding: 0 5px; border-radius: 4px; color: var(--accent2); font-size: .85em; }
.st-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.st { background: linear-gradient(180deg, #0f1a26, var(--bg2)); border: 1px solid var(--border); border-radius: 10px; padding: 16px 16px 14px; }
.st span { display: inline-flex; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #04140c; font-weight: 800; align-items: center; justify-content: center; margin-bottom: 8px; }
.st h3 { font-size: 1rem; margin: 0 0 4px; } .st p { margin: 0; font-size: .82rem; color: var(--text-dim); line-height: 1.5; }
.faq details { background: var(--bg2); border: 1px solid var(--border); border-radius: 9px; margin-bottom: 8px; padding: 0 14px; }
.faq summary { cursor: pointer; padding: 11px 0; font-weight: 600; font-size: .92rem; list-style: none; display: flex; justify-content: space-between; }
.faq summary::after { content: "＋"; color: var(--accent); } .faq details[open] summary::after { content: "－"; }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { margin: 0 0 12px; font-size: .85rem; color: var(--text-dim); line-height: 1.55; }
.stats-head { margin-top: 10px; }

@media (max-width: 1100px) { .hero { grid-template-columns: 1fr; } .feat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .feat-grid, .st-grid { grid-template-columns: 1fr; } .hero h2 { font-size: 1.9rem; } .pv-screen { height: 260px; } .pv-win.w2 { display: none; } }

.land-nav { max-width: 1240px; margin: 0 auto; padding: 14px 20px 0; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; font-size: .88rem; }
.land-nav span { margin-right: auto; font-weight: 700; letter-spacing: .06em; color: var(--text-dim); }
.land-nav a, .land-foot a { color: var(--text-dim); text-decoration: none; } .land-nav a:hover, .land-foot a:hover { color: var(--accent); }
.land-foot { max-width: 1240px; margin: 0 auto; padding: 22px 20px 36px; border-top: 1px solid var(--border); color: #5f7a8c; font-size: .8rem; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.land-foot p { margin: 0; } .land-foot nav { display: flex; gap: 16px; }
