/* ═══════════════════════════════════════════════════════════════
   Satoshi Retirement — Wissen (shared styles)
   Tokens & Komponenten gespiegelt aus index.html. Nicht separat
   restylen: dieselben :root-Variablen, Nav, Footer, Buttons, Cards.
   ═══════════════════════════════════════════════════════════════ */
:root {
    --orange: #f7931a;
    --orange-light: #fdb94d;
    --orange-dark: #c77600;
    --dark: #0d1117;
    --dark2: #161b22;
    --dark3: #1c2333;
    --dark4: #252d3a;
    --text: #e6edf3;
    --text-dim: #8b949e;
    --green: #3fb950;
    --red: #f85149;
    --blue: #58a6ff;
    --purple: #bc8cff;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--dark);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: 'Space Grotesk', sans-serif; }

/* ═══════ NAV (gespiegelt: body > nav fixed) ═══════ */
body > nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(13,17,23,0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(247,147,26,0.15);
    padding: 0 2rem;
}
nav .inner {
    max-width: 1400px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem;
    height: 64px;
}
nav .logo {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 800; font-size: 1.3rem;
    text-decoration: none;
    background: linear-gradient(135deg, var(--orange), var(--orange-light));
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
nav .logo span { -webkit-text-fill-color: var(--text); }
nav ul { list-style: none; display: flex; gap: 2rem; }
nav a {
    color: var(--text-dim); text-decoration: none; font-size: 0.9rem;
    font-weight: 500; transition: color 0.2s;
}
nav a:hover { color: var(--orange); }
nav a.active { color: var(--orange); }
.mobile-menu { display: none; background: none; border: none; color: var(--text); font-size: 1.5rem; cursor: pointer; }

/* ═══════ ARTIKEL-LAYOUT ═══════ */
.article-wrap {
    max-width: 820px;
    margin: 0 auto;
    padding: 8rem 1.5rem 5rem;
}
.article-wrap.wide { max-width: 1080px; }

.section-label {
    display: inline-block; font-size: 0.75rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 3px;
    color: var(--orange); margin-bottom: 1rem;
}
.crumbs { font-size: 0.8rem; color: var(--text-dim); margin-bottom: 1.4rem; }
.crumbs a { color: var(--text-dim); text-decoration: none; }
.crumbs a:hover { color: var(--orange); }
.crumbs .sep { color: var(--dark4); margin: 0 0.4rem; }

.article-wrap h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800; line-height: 1.1; margin-bottom: 1.2rem;
}
.article-wrap h1 .highlight {
    background: linear-gradient(135deg, var(--orange), var(--orange-light));
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.lede {
    font-size: 1.2rem; color: var(--text-dim);
    line-height: 1.7; margin-bottom: 2.5rem;
    padding-bottom: 2rem; border-bottom: 1px solid var(--dark4);
}
.article-wrap h2 {
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    font-weight: 800; margin: 3rem 0 1rem;
}
.article-wrap h3 {
    font-size: 1.25rem; font-weight: 700; margin: 2rem 0 0.7rem;
    color: var(--orange-light);
}
.article-wrap p { color: var(--text); margin-bottom: 1.1rem; }
.article-wrap p.muted { color: var(--text-dim); }
.article-wrap ul, .article-wrap ol {
    margin: 0 0 1.4rem 1.3rem; color: var(--text);
}
.article-wrap li { margin-bottom: 0.55rem; }
.article-wrap li::marker { color: var(--orange); }
.article-wrap a.inline {
    color: var(--blue); text-decoration: none;
    border-bottom: 1px solid rgba(88,166,255,0.35);
}
.article-wrap a.inline:hover { color: var(--orange); border-color: var(--orange); }
.article-wrap strong { color: #fff; }

/* ═══════ VITAL-CARD (gespiegelt) ═══════ */
.card-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.4rem; margin: 1.8rem 0 2rem;
}
.vital-card {
    background: linear-gradient(180deg, var(--dark2), var(--dark));
    border: 1px solid var(--dark4);
    border-radius: 16px; padding: 1.4rem 1.3rem 1.2rem;
    position: relative; overflow: hidden;
    transition: all 0.3s;
    text-decoration: none; color: inherit; display: block;
}
.vital-card::before {
    content: ''; position: absolute; top: 0; left: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--orange), var(--orange-light));
    opacity: 0.7;
}
.vital-card:hover {
    border-color: rgba(247,147,26,0.4);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(247,147,26,0.08);
}
.vital-icon { font-size: 1.6rem; margin-bottom: 0.7rem; opacity: 0.95; }
.vital-label {
    font-size: 0.7rem; text-transform: uppercase;
    letter-spacing: 1.8px; color: var(--text-dim);
    font-weight: 600; margin-bottom: 0.5rem;
}
.vital-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.35rem; font-weight: 800;
    color: var(--text); line-height: 1.15;
    margin: 0 0 0.5rem;
}
.vital-card p { color: var(--text-dim); font-size: 0.95rem; margin: 0; }
.vital-card .more { display: inline-block; margin-top: 0.9rem; color: var(--orange); font-weight: 700; font-size: 0.9rem; }

/* ═══════ WORKED-EXAMPLE BOX ═══════ */
.example {
    background: linear-gradient(180deg, var(--dark3), var(--dark2));
    border: 1px solid var(--dark4);
    border-left: 3px solid var(--orange);
    border-radius: 12px; padding: 1.4rem 1.5rem; margin: 1.8rem 0;
}
.example .tag {
    font-size: 0.7rem; text-transform: uppercase; letter-spacing: 2px;
    color: var(--orange); font-weight: 700; display: block; margin-bottom: 0.6rem;
}
.example table { width: 100%; border-collapse: collapse; margin: 0.6rem 0; font-size: 0.95rem; }
.example td { padding: 0.4rem 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.example td:last-child { text-align: right; font-family: 'Space Grotesk', sans-serif; font-weight: 700; }
.example .result { color: var(--green); }
.example .result-red { color: var(--red); }

/* ═══════ CALLOUT ═══════ */
.callout {
    background: rgba(88,166,255,0.06);
    border: 1px solid rgba(88,166,255,0.18);
    border-radius: 12px; padding: 1.2rem 1.4rem; margin: 1.6rem 0;
    color: var(--text-dim); font-size: 0.95rem;
}
.callout strong { color: var(--blue); }

/* ═══════ BUTTONS (gespiegelt) ═══════ */
.cta-row { display: flex; flex-wrap: wrap; gap: 1rem; margin: 2.5rem 0 1rem; }
.btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    color: #fff; padding: 1rem 2.2rem; border-radius: 12px;
    text-decoration: none; font-weight: 700; font-size: 1rem;
    border: none; cursor: pointer; transition: all 0.3s;
    box-shadow: 0 4px 24px rgba(247,147,26,0.3);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(247,147,26,0.4); }
.btn-outline {
    background: transparent; border: 2px solid var(--orange);
    color: var(--orange); box-shadow: none;
}
.btn-outline:hover { background: rgba(247,147,26,0.1); }

/* ═══════ ARTIKEL-NAV (weiter/zurück) ═══════ */
.article-nav {
    display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 3rem;
    padding-top: 2rem; border-top: 1px solid var(--dark4);
}
.article-nav a {
    flex: 1 1 240px; text-decoration: none; color: var(--text);
    background: var(--dark2); border: 1px solid var(--dark4);
    border-radius: 12px; padding: 1rem 1.2rem; transition: all 0.25s;
}
.article-nav a:hover { border-color: rgba(247,147,26,0.4); transform: translateY(-2px); }
.article-nav .dir { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 2px; color: var(--text-dim); }
.article-nav .ttl { font-weight: 700; color: var(--orange); margin-top: 0.25rem; }

/* ═══════ DISCLAIMER (gespiegelt) ═══════ */
.disclaimer {
    margin-top: 2rem; padding: 1.5rem;
    background: rgba(248,81,73,0.05);
    border: 1px solid rgba(248,81,73,0.15);
    border-radius: 12px;
}
.disclaimer p { color: var(--text-dim); font-size: 0.85rem; line-height: 1.8; margin: 0; }
.disclaimer strong { color: var(--red); }

/* ═══════ FOOTER (gespiegelt) ═══════ */
footer {
    text-align: center; padding: 3rem 2rem;
    border-top: 1px solid var(--dark4);
    color: var(--text-dim); font-size: 0.85rem;
}
footer .logo-foot {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 800; font-size: 1.2rem; color: var(--orange);
    margin-bottom: 0.5rem;
}
footer .legal {
    margin-top: 1.5rem; font-size: 0.8rem;
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: 0.4rem 0.8rem;
}
footer .legal a { color: var(--text-dim); text-decoration: none; transition: color 0.2s; }
footer .legal a:hover { color: var(--orange); }
footer .legal .sep { color: var(--dark4); user-select: none; }

/* ═══════ SCROLLBAR (gespiegelt) ═══════ */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--dark4); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--orange); }

/* ═══════ RESPONSIVE (gespiegelt: Breakpoint 900px) ═══════ */
@media (max-width: 900px) {
    nav ul { display: none; }
    .mobile-menu { display: block; }
}
