/* ===========================================
   nosite.ch — dark "agency" theme
   Legal / support pages (impressum, datenschutz, agb, success)
   =========================================== */

:root {
  --bg: #080b1a;
  --bg-alt: #0d1226;
  --card: #141a33;
  --card-2: #1a2140;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #eef1fa;
  --muted: #97a2c4;
  --muted-2: #6f7aa0;
  --accent: #ff7a45;
  --accent-2: #ff5d2b;
  --accent-soft: rgba(255, 122, 69, 0.14);
  --ok: #36d399;
  --radius: 14px;
  --t: 0.25s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: "Oswald", sans-serif;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: .01em;
  line-height: 1.1;
  font-weight: 700;
}

a { color: var(--accent); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--accent-2); }

p { margin-bottom: 16px; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--accent); color: #140a04; }

/* --- Container --- */
.container { max-width: 820px; margin: 0 auto; padding: 0 22px; }

/* --- Nav --- */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 16px 0;
  background: rgba(8, 11, 26, .82);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid var(--border);
}
.site-nav .container { display: flex; align-items: center; }
.site-nav .wordmark {
  font-family: "Oswald", sans-serif;
  font-size: 19px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em;
  color: var(--text); line-height: 1;
  transition: color var(--t);
}
.site-nav .wordmark:hover { color: var(--accent); }

/* --- Main / content clearing fixed nav --- */
main { padding-top: 4px; }

/* --- Legal / content section --- */
.legal-section { padding: 120px 0 60px; }
.legal-section h1 {
  font-size: clamp(30px, 5vw, 44px);
  font-weight: 700; color: var(--text);
  margin-bottom: 10px;
}
.legal-section .legal-date {
  font-size: 14px; color: var(--muted-2);
  margin-bottom: 36px;
}
.legal-section h2 {
  font-size: 22px; text-align: left; color: var(--text);
  margin: 38px 0 12px;
}
.legal-section h4 {
  font-size: 17px; font-weight: 600; color: var(--text);
  margin: 28px 0 8px;
}
.legal-section p,
.legal-section li {
  font-size: 16px; line-height: 1.7; color: var(--muted);
}
.legal-section ul { list-style: disc; padding-left: 22px; margin-bottom: 16px; }
.legal-section ul li { margin-bottom: 6px; }
.legal-section a { color: var(--accent); }
.legal-section a:hover { color: var(--accent-2); }
.legal-section strong { color: var(--text); }

/* --- Back link --- */
.back-link {
  display: inline-block; margin-top: 40px;
  font-family: "Oswald", sans-serif;
  text-transform: uppercase; letter-spacing: .05em;
  font-size: 14px; font-weight: 600;
  color: var(--text); background: var(--card);
  border: 1px solid var(--border-strong);
  padding: 12px 24px; border-radius: 50px;
  transition: color var(--t), border-color var(--t), background var(--t);
}
.back-link:hover { color: var(--accent); border-color: var(--accent); background: var(--card-2); }

/* --- Button (success.html) --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: "Oswald", sans-serif;
  text-transform: uppercase; letter-spacing: .05em;
  font-weight: 600; font-size: 15px;
  color: #140a04;
  background: linear-gradient(135deg, #ff7a45, #ff5d2b);
  padding: 15px 30px; border-radius: 50px; border: 1px solid transparent;
  min-height: 52px; line-height: 1.2; cursor: pointer;
  margin-top: 20px;
  transition: transform var(--t), box-shadow var(--t);
}
.btn:hover {
  color: #140a04;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255, 122, 69, 0.35);
}
.btn:active { transform: translateY(0); }

/* --- Footer --- */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 48px 0 40px;
  margin-top: 40px;
}
.site-footer .footer-brand {
  font-family: "Oswald", sans-serif;
  text-transform: uppercase; letter-spacing: .03em;
  font-size: 22px; font-weight: 700; color: var(--text);
  margin-bottom: 10px;
}
.site-footer p { font-size: 14px; color: var(--muted-2); margin-bottom: 4px; }
.site-footer a { color: var(--muted); transition: color var(--t); }
.site-footer a:hover { color: var(--accent); }

/* --- Reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
