/* ──────────────────────────────────────────────────────────────
   TargetRadar website · shared base styles
   Used by: index.html, impressum.html, privacy.html, terms.html
   ────────────────────────────────────────────────────────────── */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --orange: #ff8c00;
  --orange-deep: #e07000;
  --bg-grad: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
  --card-bg: rgba(30, 41, 59, 0.6);
  --card-border: rgba(255, 140, 0, 0.18);
  --text-strong: #ffffff;
  --text-mid: #d4d4d4;
  --text-soft: #b0b0b0;
  --text-mute: #888;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
  background: var(--bg-grad);
  color: var(--text-strong);
  min-height: 100vh;
  line-height: 1.6;
}

.container { max-width: 1180px; margin: 0 auto; padding: 0 2rem; }

a { color: var(--orange); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── BUTTONS ───────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px; border-radius: 10px;
  font-size: 1rem; font-weight: 600; line-height: 1;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  cursor: pointer; border: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--orange), var(--orange-deep));
  color: #fff;
  box-shadow: 0 6px 20px rgba(255, 140, 0, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255, 140, 0, 0.5);
  text-decoration: none;
}
.btn-secondary {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.btn-secondary:hover {
  border-color: var(--orange);
  color: var(--orange);
  text-decoration: none;
}

/* ── TOP NAV ───────────────────────────────────────────── */
.topnav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.topnav-inner {
  max-width: 1180px; margin: 0 auto; padding: 1rem 2rem;
  display: flex; align-items: center; justify-content: space-between;
}
.topnav-logo {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 1.25rem; font-weight: 700; color: #fff;
}
.topnav-logo a { color: #fff; text-decoration: none; display: flex; align-items: center; gap: 0.6rem; }
.topnav-logo a:hover { text-decoration: none; }
/* Brand text wraps into a single span so flex-gap on the parent <a> never
   inserts a space between "Target" and "Radar". Inner spans control colour. */
.topnav-logo .brand { color: #fff; }
.topnav-logo .brand-accent,
.topnav-logo .brand-tld { color: var(--orange); }
.topnav-cta { display: flex; gap: 0.75rem; align-items: center; }
.topnav-cta .btn { padding: 9px 18px; font-size: 0.9rem; }

/* ── SECTION HELPERS ───────────────────────────────────── */
.section-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 1rem;
}
.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  font-weight: 700; line-height: 1.25; margin-bottom: 1rem;
}
.section-sub { color: var(--text-mid); font-size: 1.05rem; }

/* ── FOOTER ────────────────────────────────────────────── */
footer {
  background: rgba(0, 0, 0, 0.4);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 3rem 0 1.5rem;
  color: var(--text-mute);
}
footer .container { max-width: 1180px; }
.footer-top {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-col { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-logo {
  font-size: 1.2rem; font-weight: 700; color: #fff;
  margin-bottom: 0.4rem;
}
.footer-logo .brand { color: #fff; }
.footer-logo .brand-accent,
.footer-logo .brand-tld { color: var(--orange); }
.footer-tagline {
  font-size: 0.9rem; color: var(--text-soft);
  line-height: 1.5; max-width: 320px;
}
.footer-meta { font-size: 0.78rem; color: #666; line-height: 1.5; margin-top: 0.4rem; }
.footer-heading {
  font-size: 0.78rem; font-weight: 700;
  color: #d0d0d0;
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}
.footer-col a {
  color: #888; font-size: 0.88rem; line-height: 1.6;
}
.footer-col a:hover { color: var(--orange); text-decoration: none; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 1.5rem; flex-wrap: wrap;
  margin-top: 1.5rem;
}
.footer-disclaimer {
  font-size: 0.75rem; color: #666;
  line-height: 1.6; max-width: 720px;
}
.footer-copy { font-size: 0.78rem; color: #666; flex-shrink: 0; }
@media (max-width: 900px) {
  .footer-top { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}
@media (max-width: 540px) {
  .footer-top { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ── RESPONSIVE BASE ───────────────────────────────────── */
@media (max-width: 640px) {
  .topnav-inner { padding: 0.85rem 1.25rem; }
  .topnav-logo { font-size: 1.05rem; }
  .topnav-cta .btn-secondary { display: none; }
  .container { padding: 0 1.25rem; }
}
