/* Marrubi — Blueprint Design System, angewendet auf Rechtstexte / Support
   Werte per Playwright-Extraktion aus src/index.html übernommen (2026-07-23). */

:root {
  --bg: #12314f;
  --bg: oklch(0.28 0.08 240);
  --text: #eef2f5;
  --text: oklch(0.95 0.02 210);
  --accent: #e8783c;
  --accent: oklch(0.7 0.19 45);
  --line-bright: #92c2d6;
  --line-bright: oklch(0.75 0.1 200);
  --line-soft: #9fc7e0;
  --line-soft: oklch(0.8 0.08 210);
  --grid-line: #345d82;
  --grid-line: oklch(0.45 0.09 210 / 0.3);
  --muted: #7f93a8;
  --muted: oklch(0.6 0.06 220);

  --font-display: 'Space Grotesk', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
  --font-body: 'Inter', sans-serif;
}

:root[data-theme="light"] {
  --bg: #eef2f5;
  --bg: oklch(0.95 0.02 210);
  --text: #12314f;
  --text: oklch(0.28 0.08 240);
  --line-bright: #345d82;
  --line-bright: oklch(0.4 0.08 220);
  --line-soft: #5c7d99;
  --line-soft: oklch(0.55 0.06 220);
  --grid-line: #a9d8e8;
  --grid-line: oklch(0.65 0.08 210 / 0.3);
  --muted: #5c7d99;
  --muted: oklch(0.55 0.06 220);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--bg);
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 26px 26px;
  background-position: -1px -1px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  position: relative;
}

body::before { content: none; }

.corner {
  position: fixed;
  width: 22px;
  height: 22px;
  border: 2px solid var(--line-bright);
  pointer-events: none;
  z-index: 5;
}
.corner.tl { top: clamp(20px, 4vw, 32px); left: clamp(20px, 4vw, 32px); border-right: none; border-bottom: none; }
.corner.tr { top: clamp(20px, 4vw, 32px); right: clamp(20px, 4vw, 32px); border-left: none; border-bottom: none; }
.corner.bl { bottom: clamp(20px, 4vw, 32px); left: clamp(20px, 4vw, 32px); border-right: none; border-top: none; }
.corner.br { bottom: clamp(20px, 4vw, 32px); right: clamp(20px, 4vw, 32px); border-left: none; border-top: none; }

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 96px 24px 64px;
  position: relative;
  z-index: 1;
}

header.page-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.wordmark .dot { color: var(--accent); }

.lang-switch {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--line-soft);
  text-decoration: none;
  border: 1px solid var(--line-soft);
  padding: 6px 12px;
  border-radius: 999px;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.lang-switch:hover { color: var(--accent); border-color: var(--accent); }

.eyebrow {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  color: var(--line-soft);
  margin: 0 0 10px;
}

h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
  text-wrap: balance;
}

.stand {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0 0 48px;
}

section.block {
  margin-bottom: 40px;
  padding-top: 8px;
  border-top: 1px solid color-mix(in oklch, var(--line-soft) 30%, transparent);
}

h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 14px;
}
h2 .num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent);
}

p, li { color: var(--text); opacity: 0.92; }
p { margin: 0 0 14px; }
ul { margin: 0 0 14px; padding-left: 1.2em; }
li { margin-bottom: 6px; }

strong { color: var(--text); opacity: 1; font-weight: 600; }

a { color: var(--line-soft); text-decoration-color: color-mix(in oklch, var(--line-soft) 40%, transparent); }
a:hover { color: var(--accent); text-decoration-color: var(--accent); }

.contact-block {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  line-height: 1.9;
  color: var(--text);
  border: 1px solid color-mix(in oklch, var(--line-soft) 40%, transparent);
  border-radius: 4px;
  padding: 18px 20px;
  margin: 4px 0 14px;
}

.faq-item { margin-bottom: 28px; }
.faq-item .q {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  margin: 0 0 8px;
}
.faq-item .q::before {
  content: "> ";
  color: var(--accent);
  font-family: var(--font-mono);
}

footer.page-foot {
  max-width: 720px;
  margin: 40px auto 0;
  padding: 24px 24px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted);
  border-top: 1px solid oklch(0.45 0.09 210 / 0.4);
  position: relative;
  z-index: 1;
}
footer.page-foot a { color: var(--line-soft); }
footer.page-foot a:hover { color: var(--accent); }

@media (max-width: 640px) {
  .wrap { padding: 72px 18px 48px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
