/* NAVTOOL · global unified theme */
:root {
  --nt-bg: #05090c;
  --nt-bg-soft: #0a141b;
  --nt-panel: rgba(10, 21, 27, 0.82);
  --nt-panel-strong: rgba(12, 27, 34, 0.96);
  --nt-text: #ecfbf9;
  --nt-muted: #7e9697;
  --nt-muted-2: #587071;
  --nt-teal: #55e5d1;
  --nt-cyan: #67dfff;
  --nt-line: rgba(85, 229, 209, 0.13);
  --nt-line-strong: rgba(85, 229, 209, 0.32);
  --nt-warn: #ffb454;
  --nt-bad: #ff7070;
  --nt-ok: #3fdc7e;
  --nt-shadow: rgba(0, 0, 0, 0.34);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 12%, rgba(85, 229, 209, 0.08), transparent 24%),
    radial-gradient(circle at 82% 18%, rgba(103, 223, 255, 0.06), transparent 26%),
    var(--nt-bg);
  color: var(--nt-text);
  font: 400 16px/1.6 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(85, 229, 209, 0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(85, 229, 209, 0.018) 1px, transparent 1px);
  background-size: 42px 42px;
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
img { max-width: 100%; display: block; }

.nt-shell {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.nt-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--nt-line);
  background: rgba(5, 9, 12, 0.82);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}
.nt-hin {
  width: min(1280px, calc(100% - 28px));
  height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 18px;
}
.nt-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nt-logo img {
  height: 26px;
  width: auto;
  display: block;
}
.nt-nav {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-left: auto;
  overflow-x: auto;
  scrollbar-width: none;
}
.nt-nav::-webkit-scrollbar { display: none; }
.nt-nav a {
  padding: 9px 11px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #9ab1b1;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.nt-nav a:hover,
.nt-nav a.on {
  color: var(--nt-teal);
  border-color: var(--nt-line);
  background: rgba(85, 229, 209, 0.05);
}
.nt-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border: 1px solid var(--nt-line-strong);
  border-radius: 999px;
  background: rgba(10, 21, 27, 0.8);
  color: var(--nt-muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.nt-status-pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--nt-ok);
  box-shadow: 0 0 12px var(--nt-ok);
}

.nt-main {
  padding: 64px 0 24px;
}

.nt-card {
  border: 1px solid var(--nt-line);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(13, 27, 34, 0.94), rgba(10, 21, 27, 0.82));
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}

.nt-section {
  padding: 26px 0 0;
}

.nt-foot {
  margin-top: 64px;
  border-top: 1px solid var(--nt-line);
  background: #030708;
  color: var(--nt-text);
}
.nt-foot-in {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.nt-foot-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nt-foot-brand img {
  height: 24px;
}
.nt-foot-copy {
  color: var(--nt-muted-2);
  font-size: 11px;
  margin-top: 8px;
}
.nt-foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
}
.nt-foot-links a {
  color: #71898a;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 0;
}
.nt-foot-links a:hover {
  color: var(--nt-teal);
}
.nt-foot-bar {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: 12px 0 calc(20px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(85, 229, 209, 0.08);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 10px;
  color: var(--nt-muted-2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nt-foot-bar a {
  color: var(--nt-muted-2);
}
.nt-foot-bar a:hover { color: var(--nt-teal); }

.nt-badge {
  display: inline-block;
  border: 1px solid var(--nt-line-strong);
  border-radius: 999px;
  background: rgba(85, 229, 209, 0.04);
  color: var(--nt-teal);
  padding: 8px 10px;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nt-kicker {
  color: var(--nt-teal);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

@media (max-width: 820px) {
  .nt-hin { gap: 10px; }
  .nt-logo img { height: 20px; }
  .nt-status-pill { display: none; }
  .nt-foot-in { flex-direction: column; align-items: flex-start; }
}

.nt-note {
  position: sticky;
  top: 76px;
  z-index: 999;
  padding: 10px 14px;
  text-align: center;
  font: 800 12px Inter, sans-serif;
  border-bottom: 1px solid rgba(255, 180, 84, 0.3);
  background: rgba(58, 44, 10, 0.94);
  color: var(--nt-warn);
}

.nt-lock {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: #05090c;
  color: var(--nt-text);
  text-align: center;
}
.nt-lock img { height: 34px; margin-bottom: 22px; }
.nt-lock h1 { font-size: clamp(26px, 5vw, 42px); letter-spacing: -0.04em; margin: 0; }
.nt-lock p { margin: 12px auto 22px; max-width: 460px; color: var(--nt-muted); line-height: 1.7; }
.nt-lock a, .nt-lock button {
  display: inline-block;
  margin: 4px;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid var(--nt-teal);
  background: transparent;
  color: var(--nt-teal);
  font: 900 11px Inter, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}
.nt-lock a.primary, .nt-lock button.primary {
  background: var(--nt-teal);
  color: #03211d;
}

.nt-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 6px;
  border-radius: 50%;
  vertical-align: middle;
  background: var(--nt-ok);
  box-shadow: 0 0 8px currentColor;
}
.nt-dot.warn { background: var(--nt-warn); color: var(--nt-warn); }
.nt-dot.bad { background: var(--nt-bad); color: var(--nt-bad); }

@media (max-width: 520px) {
  .nt-nav { gap: 0; }
  .nt-nav a { padding: 9px 8px; }
}

body.nt-m-calc .nt-status-pill { display: none; }
body.nt-m-admin .nt-footer { margin-top: 0; }

html, body { overflow-x: hidden; }

/* ===== App-Werbung in der Menüleiste ===== */
.nt-nav a.nt-promo {
  position: relative;
  margin-left: 6px;
  padding: 9px 14px 9px 30px;
  border: 1px solid var(--nt-teal);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(85, 229, 209, 0.22), rgba(85, 229, 209, 0.06));
  color: var(--nt-teal);
  box-shadow: 0 0 18px rgba(85, 229, 209, 0.18);
  transition: transform .15s, box-shadow .2s, background .2s;
}
.nt-nav a.nt-promo::before {
  content: "";
  position: absolute;
  left: 12px; top: 50%;
  width: 8px; height: 13px;
  margin-top: -6.5px;
  border: 1.6px solid currentColor;
  border-radius: 2.4px;
}
.nt-nav a.nt-promo::after {
  content: "";
  position: absolute;
  right: -2px; top: -2px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--nt-teal);
  box-shadow: 0 0 0 0 rgba(85, 229, 209, .6);
  animation: ntPulse 2.2s ease-out infinite;
}
.nt-nav a.nt-promo:hover, .nt-nav a.nt-promo.on {
  background: var(--nt-teal);
  color: #03211d;
  box-shadow: 0 0 26px rgba(85, 229, 209, .4);
  transform: translateY(-1px);
}
@keyframes ntPulse { 0% { box-shadow: 0 0 0 0 rgba(85,229,209,.55) } 70%,100% { box-shadow: 0 0 0 10px rgba(85,229,209,0) } }
@media (max-width: 520px) { .nt-nav a.nt-promo { margin-left: 2px; padding: 8px 10px 8px 26px } .nt-nav a.nt-promo::before { left: 9px } }
/* Calc/Colreg blenden die Navigation mobil aus: Werbung bleibt trotzdem sichtbar */
@media (max-width: 620px) { .nt-header .nt-nav { display: flex !important; margin-left: auto } .nt-header .nt-nav a:not(.nt-promo) { display: none } }

/* ===== App-Streifen über der Fußzeile ===== */
.nt-appstrip {
  display: flex; align-items: center; gap: 16px;
  width: min(1200px, calc(100% - 40px));
  margin: 30px auto 0; padding: 18px 22px;
  border: 1px solid var(--nt-line-strong); border-radius: 22px;
  background: radial-gradient(420px 120px at 8% 0, rgba(85,229,209,.22), transparent), linear-gradient(135deg, #0d2229, #08131a);
  box-shadow: 0 18px 50px rgba(0,0,0,.45);
  transition: border-color .2s, transform .2s;
}
.nt-appstrip:hover { border-color: var(--nt-teal); }
.nt-appstrip-ic { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid rgba(85,229,209,.4); border-radius: 14px; background: rgba(85,229,209,.08); }
.nt-appstrip-ic svg { width: 24px; height: 24px; fill: none; stroke: var(--nt-teal); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nt-appstrip-tx { display: grid; gap: 2px; min-width: 0; }
.nt-appstrip-tx b { font-size: 16px; letter-spacing: -.01em; }
.nt-appstrip-tx small { color: var(--nt-muted); font-size: 12px; }
.nt-appstrip-go { margin-left: auto; flex: none; padding: 10px 16px; border-radius: 999px; background: var(--nt-teal); color: #03211d; font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
@media (max-width: 560px) { .nt-appstrip { gap: 12px; padding: 14px; } .nt-appstrip-go { padding: 9px 12px } .nt-appstrip-tx small { display: none } }

/* ===== Cookie-Hinweis ===== */
#nt-cookie {
  position: fixed; z-index: 99990;
  left: 50%; bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  width: min(760px, calc(100% - 24px));
  display: flex; align-items: center; gap: 16px;
  padding: 16px 44px 16px 16px;
  border: 1px solid var(--nt-line-strong); border-radius: 22px;
  background: radial-gradient(360px 110px at 0 0, rgba(85,229,209,.16), transparent), rgba(8, 19, 25, .92);
  backdrop-filter: blur(22px) saturate(1.4); -webkit-backdrop-filter: blur(22px) saturate(1.4);
  box-shadow: 0 20px 60px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.06);
  color: var(--nt-text);
  transform: translate(-50%, 140%); opacity: 0;
  transition: transform .45s cubic-bezier(.2,.9,.25,1.1), opacity .3s;
}
#nt-cookie.in { transform: translate(-50%, 0); opacity: 1; }
.nt-cc-ic { flex: none; width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(85,229,209,.4); border-radius: 13px; background: rgba(85,229,209,.08); }
.nt-cc-ic svg { width: 24px; height: 24px; fill: none; stroke: var(--nt-teal); stroke-width: 1.7; }
.nt-cc-ic circle:not(:first-child) { fill: var(--nt-teal); stroke: none; }
.nt-cc-tx { flex: 1; min-width: 0; }
.nt-cc-tx b { display: block; font-size: 14px; letter-spacing: -.01em; }
.nt-cc-tx p { margin: 3px 0 0; color: var(--nt-muted); font-size: 12.5px; line-height: 1.5; }
.nt-cc-btn { display: flex; gap: 8px; flex: none; }
.nt-cc-btn button { min-height: 40px; padding: 0 16px; border-radius: 999px; cursor: pointer; font: 900 11px Inter, system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; transition: transform .12s, background .2s; }
.nt-cc-btn .yes { border: 0; background: var(--nt-teal); color: #03211d; box-shadow: 0 6px 22px rgba(85,229,209,.28); }
.nt-cc-btn .no { border: 1px solid var(--nt-line-strong); background: transparent; color: #b8d2d0; }
.nt-cc-btn button:active { transform: scale(.96); }
.nt-cc-x { position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; border: 0; border-radius: 50%; background: rgba(255,255,255,.06); color: var(--nt-muted); font-size: 13px; cursor: pointer; }
.nt-cc-x:hover { color: var(--nt-text); background: rgba(255,255,255,.12); }
@media (max-width: 620px) {
  #nt-cookie { flex-wrap: wrap; gap: 12px; padding: 16px 16px 14px; }
  .nt-cc-tx { flex-basis: calc(100% - 70px); padding-right: 22px; }
  .nt-cc-btn { width: 100%; }
  .nt-cc-btn button { flex: 1; min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) { #nt-cookie, .nt-nav a.nt-promo::after { transition: none; animation: none } }

/* Sprachumschalter */
.nt-lang { display: inline-flex; flex: none; padding: 3px; border: 1px solid var(--nt-line-strong); border-radius: 999px; background: rgba(10, 21, 27, 0.8); }
.nt-lang button { min-width: 34px; padding: 6px 9px; border: 0; border-radius: 999px; background: transparent; color: var(--nt-muted); font: 900 10px Inter, system-ui, sans-serif; letter-spacing: .1em; cursor: pointer; transition: background .2s, color .2s; }
.nt-lang button.on { background: var(--nt-teal); color: #03211d; }
@media (max-width: 520px) { .nt-lang button { min-width: 28px; padding: 6px 7px; } }

/* Fußzeilen-Logo (vom Skript erzeugte Fußzeile) */
.nt-foot-in img { height: 24px; width: auto; max-width: none; }
