/* ═══════════════════════════════════════════════════════════════
   Nur Schinken — Marketing Site
   Terminal aesthetic: monospace, black-on-white, sharp edges
   ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@300;400;500;600;700&display=swap');

:root {
  --fg: #1a1a1a;
  --bg: #fafafa;
  --bg-alt: #f0f0f0;
  --border: #ccc;
  --border-heavy: #1a1a1a;
  --green: #2d7d2d;
  --red: #c03030;
  --amber: #8a6d00;
  --muted: #888;
  --font: 'JetBrains Mono', 'Fira Code', 'SF Mono', 'Consolas', monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 14px; scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--fg); text-underline-offset: 3px; }
a:hover { color: var(--green); }

.container { max-width: 960px; margin: 0 auto; padding: 0 1.5rem; width: 100%; }

/* ── Nav ─────────────────────────────────────────────────── */

nav {
  border-bottom: 2px solid var(--border-heavy);
  padding: 0.75rem 0;
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 100;
}

nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

nav .brand {
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  color: var(--fg);
}

nav .links {
  display: flex;
  gap: 0.25rem;
  align-items: center;
  flex-wrap: wrap;
}

nav .links a {
  text-decoration: none;
  padding: 0.25rem 0.6rem;
  color: var(--muted);
  border: 1px solid transparent;
  font-size: 0.85rem;
  transition: all 0.1s;
}

nav .links a:hover {
  color: var(--fg);
  border-color: var(--border);
  background: var(--bg-alt);
}

.lang-switch {
  display: inline-flex;
  gap: 0;
  margin-left: 0.5rem;
}

.lang-switch a {
  padding: 0.2rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--border);
  color: var(--muted);
}

.lang-switch a:first-child { border-right: none; }

.lang-switch a.active {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}

.lang-switch a:hover:not(.active) {
  background: var(--bg-alt);
  color: var(--fg);
}

/* ── Hero ────────────────────────────────────────────────── */

.hero {
  padding: 4rem 0 3rem;
  border-bottom: 1px solid var(--border);
}

.hero h1 {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

.hero h1::before { content: '> '; color: var(--muted); }

.hero-sub {
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 1.75rem;
  letter-spacing: -0.02em;
}

.hero-sub::before { content: none; }

.hero .subtitle {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
  max-width: 600px;
}

.hero .badges {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid;
}

.badge-green { color: var(--green); border-color: var(--green); }
.badge-dark { color: var(--fg); border-color: var(--border-heavy); }

/* ── Buttons ─────────────────────────────────────────────── */

.btn {
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.6rem 1.5rem;
  border: 1px solid var(--border-heavy);
  text-decoration: none;
  display: inline-block;
  transition: all 0.1s;
  cursor: pointer;
}

.btn-primary {
  background: var(--fg);
  color: var(--bg);
}

.btn-primary:hover {
  background: #333;
  color: var(--bg);
}

.btn-secondary {
  background: var(--bg);
  color: var(--fg);
  border-color: var(--border);
}

.btn-secondary:hover {
  background: var(--bg-alt);
  border-color: var(--border-heavy);
  color: var(--fg);
}

/* ── ASCII Flow Diagram ──────────────────────────────────── */

.flow-section {
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
}

.flow-section h2 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.flow-section h2::before { content: '## '; color: var(--muted); }

.ascii-box {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 1.5rem;
  overflow-x: auto;
  font-size: 0.85rem;
  line-height: 1.8;
}

.flow-desc {
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 1rem;
}

.text-green { color: var(--green); }
.text-amber { color: var(--amber); }
.text-red { color: var(--red); }
.text-muted { color: var(--muted); }

/* ── Features Grid ───────────────────────────────────────── */

.features {
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
}

.features h2 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.features h2::before { content: '## '; color: var(--muted); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.feature-card {
  border: 1px solid var(--border);
  padding: 1.25rem;
  transition: border-color 0.1s;
}

.feature-card:hover {
  border-color: var(--border-heavy);
}

.feature-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature-card h3::before { content: '$ '; color: var(--muted); }

.feature-card p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ── Classification ──────────────────────────────────────── */

.classification {
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
}

.classification h2 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.classification h2::before { content: '## '; color: var(--muted); }

.tier-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.tier {
  border: 1px solid var(--border);
  padding: 1rem 1.25rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.tier-tag {
  display: inline-block;
  padding: 0.1rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.tier-tag-clean { color: var(--green); border-color: var(--green); }
.tier-tag-suspect { color: var(--amber); border-color: var(--amber); }
.tier-tag-spam { color: var(--red); border-color: var(--red); }

.tier p {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}

/* ── Anfrage ─────────────────────────────────────────────── */

.anfrage {
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
}

.anfrage h2 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.anfrage h2::before { content: '## '; color: var(--muted); }

.anfrage-desc {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.anfrage-box {
  border: 1px solid var(--border);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.anfrage-row {
  display: flex;
  gap: 1rem;
  padding: 0.3rem 0;
  font-size: 0.9rem;
}

.anfrage-row + .anfrage-row {
  border-top: 1px solid var(--border);
  margin-top: 0.3rem;
  padding-top: 0.6rem;
}

.anfrage-label {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: var(--muted);
  min-width: 80px;
  margin-top: 0.1rem;
}

/* ── Imprint ─────────────────────────────────────────────── */

.imprint {
  padding: 3rem 0;
  flex: 1;
}

.imprint h1 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.imprint h1::before { content: '# '; color: var(--muted); }

.imprint h2 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 2rem 0 0.5rem;
}

.imprint h2::before { content: '## '; color: var(--muted); }

.imprint p, .imprint address {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 0.75rem;
  font-style: normal;
}

.imprint a { color: var(--fg); }
.imprint a:hover { color: var(--green); }

.breadcrumb {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumb a:hover { color: var(--fg); }

/* ── Footer ──────────────────────────────────────────────── */

footer {
  border-top: 2px solid var(--border-heavy);
  padding: 1.5rem 0;
  margin-top: auto;
}

footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

footer .left {
  color: var(--muted);
  font-size: 0.8rem;
}

footer .right {
  display: flex;
  gap: 1rem;
  align-items: center;
  font-size: 0.8rem;
}

footer .right a {
  color: var(--muted);
  text-decoration: none;
}

footer .right a:hover { color: var(--fg); }

/* ── Responsive ──────────────────────────────────────────── */

@media (max-width: 640px) {
  html { font-size: 13px; }
  .hero h1 { font-size: 1.6rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .tier { flex-direction: column; gap: 0.5rem; }
  .anfrage-row { flex-direction: column; gap: 0.25rem; }
  footer .container { flex-direction: column; align-items: flex-start; }
  nav .container { flex-direction: column; align-items: flex-start; }
}
