:root {
  --bg: #faf7f0;
  --bg-elevated: #f4efe5;
  --bg-card: #fffdf8;
  --ink: #2a2521;
  --ink-muted: #6b6259;
  --ink-dim: #9a9087;
  --accent: #ff992f;
  --accent-bright: #ff992f;
  --accent-deep: #f57e00;
  --line: rgba(255, 153, 47, 0.18);
  --line-strong: rgba(255, 153, 47, 0.32);
  color-scheme: light only;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Geist', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.08 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.25;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: multiply;
}

.container { max-width: 800px; margin: 0 auto; padding: 0 32px; position: relative; z-index: 2; }

.nav { padding: 20px 0; border-bottom: 1px solid var(--line); }
.nav-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}
.logo-icon {
  height: 36px;
  width: auto;
  display: block;
}
.logo-text {
  font-family: 'Geist', system-ui, sans-serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
}
.logo-club { color: var(--accent); }
.logo .dot { color: var(--accent); display: inline-block; }

.back-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--ink-muted); text-decoration: none; font-size: 13px;
  transition: color 0.2s ease;
}
.back-link:hover { color: var(--ink); }
.back-link .arrow { transition: transform 0.3s ease; }
.back-link:hover .arrow { transform: translateX(-3px); }

.page-header { padding: 80px 0 48px; }

.section-label {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 24px; font-weight: 600;
}
.section-label::before {
  content: ''; width: 24px; height: 1px; background: var(--accent);
}

.page-title {
  font-family: 'Space Mono', monospace;
  font-size: clamp(36px, 5.5vw, 64px); line-height: 1.1;
  letter-spacing: -0.02em; margin-bottom: 20px; font-weight: 700;
  color: var(--ink);
}
.page-title .italic { color: var(--accent); font-style: italic; }

.page-intro {
  font-size: 17px; color: var(--ink-muted);
  max-width: 640px; line-height: 1.6;
}

.toc {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: 16px; padding: 28px 32px; margin: 32px 0 60px;
}
.toc-title {
  font-family: 'Space Mono', monospace; font-size: 14px;
  font-weight: 700; color: var(--accent); margin-bottom: 16px;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.toc ol {
  list-style: none; padding: 0; counter-reset: toc-counter;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px;
}
.toc ol li {
  counter-increment: toc-counter; position: relative; padding-left: 28px;
}
.toc ol li::before {
  content: counter(toc-counter, decimal-leading-zero);
  position: absolute; left: 0; top: 6px;
  font-family: 'Space Mono', monospace; font-weight: 700;
  color: var(--accent); font-size: 12px;
}
.toc ol li a {
  color: var(--ink-muted); text-decoration: none; font-size: 14px;
  transition: color 0.2s ease; display: block; padding: 4px 0;
}
.toc ol li a:hover { color: var(--ink); }

.content { padding: 20px 0 100px; }

.content h2 {
  font-family: 'Space Mono', monospace;
  font-size: clamp(22px, 3vw, 30px); line-height: 1.25;
  letter-spacing: -0.01em; margin-top: 72px; margin-bottom: 20px;
  font-weight: 700; color: var(--ink); scroll-margin-top: 40px;
}
.content h2:first-child { margin-top: 0; }
.content h2 .num {
  font-family: 'Space Mono', monospace; font-weight: 700;
  color: var(--accent); font-size: 0.7em; margin-right: 14px;
}

.content h3 {
  font-family: 'Space Mono', monospace; font-size: 18px;
  line-height: 1.3; margin-top: 36px; margin-bottom: 14px;
  font-weight: 700; color: var(--accent);
}

.content h4 {
  font-family: 'Geist', sans-serif; font-size: 15px; font-weight: 600;
  margin-top: 24px; margin-bottom: 10px; color: var(--ink);
}

.content p {
  font-size: 15px; color: var(--ink-muted);
  line-height: 1.75; margin-bottom: 18px;
}
.content p strong { color: var(--ink); font-weight: 600; }

.content a {
  color: var(--accent); text-decoration: none;
  border-bottom: 1px solid rgba(255, 153, 47, 0.3);
  transition: all 0.2s ease; word-break: break-word;
}
.content a:hover { color: var(--accent); border-bottom-color: var(--accent); }

.content ul { list-style: none; margin: 16px 0 24px; padding: 0; }
.content ul li {
  position: relative; padding-left: 24px; margin-bottom: 12px;
  color: var(--ink-muted); line-height: 1.7; font-size: 15px;
}
.content ul li::before {
  content: ''; position: absolute; left: 0; top: 12px;
  width: 12px; height: 1px; background: var(--accent);
}

.address-block {
  background: var(--bg-card); border: 1px solid var(--line-strong);
  border-radius: 14px; padding: 24px 28px; margin: 24px 0;
  font-size: 15px; color: var(--ink); line-height: 1.8;
}

.legal-emphasis {
  font-size: 13px; letter-spacing: 0.02em;
  background: var(--bg-card); border-left: 2px solid var(--accent);
  padding: 20px 24px; margin: 24px 0; color: var(--ink-muted);
  line-height: 1.7; border-radius: 0 8px 8px 0;
}

.footer {
  border-top: 1px solid var(--line); padding: 32px 0;
  background: var(--bg); position: relative; z-index: 2;
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px; color: var(--ink-dim); font-size: 13px;
  max-width: 1280px; margin: 0 auto; padding: 0 32px;
}
.footer-links { display: flex; gap: 24px; }
.footer-links a {
  color: var(--ink-muted); text-decoration: none; transition: color 0.2s ease;
}
.footer-links a:hover { color: var(--ink); }

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .nav-inner { padding: 0 20px; }
  .footer-inner { padding: 0 20px; flex-direction: column; align-items: flex-start; }
  .page-header { padding: 60px 0 40px; }
  .toc { padding: 24px; }
  .toc ol { grid-template-columns: 1fr; }
}

::selection { background: var(--accent); color: #000; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--bg-card); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--line-strong); }

/* Erzwingt helles Design auch wenn ein Viewer (z.B. iOS) Dark Mode aufzwingt */
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #faf7f0 !important;
    --bg-elevated: #f4efe5 !important;
    --bg-card: #fffdf8 !important;
    --ink: #2a2521 !important;
    --ink-muted: #6b6259 !important;
    --ink-dim: #9a9087 !important;
  }
  html, body { background: #faf7f0 !important; color: #2a2521 !important; }
}
