/* ======================================================================
   style.css — Basis: Design-Tokens, Reset, Typografie, Seitenlayout
   Designsystem eng an https://21start.me angelehnt:
   dunkelgrüner Grund, cremefarbener Text, Bitcoin-Orange als Akzent,
   Serifen-Überschriften, dezente Karten mit Orange-Rahmen.
   Hinweis Datenschutz: Es werden KEINE Webfonts geladen — die Original-
   schriften (Inter, Libre Baskerville, JetBrains Mono) greifen nur, wenn
   sie lokal installiert sind; sonst gelten die System-Fallbacks.
   ====================================================================== */

:root {
  /* Farbpalette (übernommen von 21start.me) */
  --color-bg: #0a1f0a;                       /* dunkles Grün, Seitengrund */
  --color-surface: #0e2e0e;                  /* Karten / Header           */
  --color-surface-deep: rgba(10, 31, 10, 0.5);  /* eingesenkte Flächen    */
  --color-text: #fffbeb;                     /* warmes Creme              */
  --color-text-soft: rgba(255, 251, 235, 0.72);
  --color-heading: #fffcbb;                  /* Überschriften (h2 ff.)    */
  --color-border: rgba(255, 255, 255, 0.1);
  --color-border-accent: rgba(247, 147, 26, 0.1);  /* Kartenrahmen        */
  --color-accent: #f7931a;                   /* Bitcoin-Orange            */
  --color-accent-hover: #ffaa3d;
  --color-accent-soft: rgba(247, 147, 26, 0.1);
  --color-bronze: #cd7f32;                   /* Tags / Badges             */
  --color-success: #10b981;
  --color-success-soft: rgba(16, 185, 129, 0.12);
  --color-danger: #ef4444;
  --color-danger-soft: rgba(239, 68, 68, 0.12);
  --color-cream: #fffbeb;                    /* helle Grafik-Panels       */

  /* Typografie (wie 21start.me, ohne externe Dienste) */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI',
    Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-serif: 'Libre Baskerville', Baskerville, 'Palatino Linotype',
    Palatino, Georgia, serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo,
    Consolas, monospace;

  /* Form & Abstände (21start.me: kleine Radien, weiche dunkle Schatten) */
  --radius: 8px;
  --radius-small: 4px;
  --shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  --content-width: 1080px;
  --text-width: 46rem;
}

/* ------------------------------- Reset ------------------------------- */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

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

/* Scrollbar wie beim Vorbild */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--color-bg); }
::-webkit-scrollbar-thumb { background: var(--color-accent); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--color-accent-hover); }

/* --------------------------- Typografie ------------------------------ */
/* 21start.me: h1/h3–h6 in Serifen, h2 in Inter fett                     */

h1, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  line-height: 1.2;
  margin: 0 0 1rem;
  color: var(--color-heading);
  font-weight: 700;
}

h1 {
  font-size: clamp(2rem, 5vw, 2.9rem);
  color: #ffffff;
}

h2 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(1.35rem, 3vw, 1.7rem);
  line-height: 1.35;
  margin: 0 0 0.6em;
  color: var(--color-heading);
}

h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; }

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.3s ease;
}
a:hover { color: var(--color-accent-hover); }

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* ------------------------------ Layout ------------------------------- */

.container {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

main {
  padding: 2.5rem 0 4rem;
}

/* ------------------------------ Header ------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(10, 31, 10, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 4rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-text);
  letter-spacing: 0.02em;
}
.logo:hover { color: var(--color-accent); }

.logo__mark {
  width: 2.1rem;
  height: 2.1rem;
  object-fit: contain;
}

/* ------------------------------ Footer ------------------------------- */

.page-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 2.5rem 1rem;
  text-align: center;
}

.footer-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-columns {
    grid-template-columns: repeat(3, 1fr);
  }
}

.section-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  opacity: 0.6;
}

.footer-disclaimer {
  font-size: 0.82rem;
  color: rgba(255, 251, 235, 0.35);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
}

.footer-link {
  font-size: 0.8rem;
  color: rgba(255, 251, 235, 0.3);
}

/* ------------------------ Landingpage (Hero) ------------------------- */

.hero {
  text-align: center;
  padding: 4.5rem 0 3rem;
}

/* Badge im Stil der 21start-Tags: Mono, Versalien, nur Textfarbe */
.hero__badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1.5rem;
}

.hero__subtitle {
  max-width: 38rem;
  margin: 0 auto 2.5rem;
  color: var(--color-text-soft);
  font-size: 1.15rem;
}

.hero h1 .accent { color: var(--color-accent); }

/* Start-Formular (Benutzername) */
.start-card {
  max-width: 26rem;
  margin: 0 auto;
  background: var(--color-surface);
  border: 1px solid var(--color-border-accent);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: left;
}

/* Feature-Karten unter dem Hero */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.feature {
  background: var(--color-surface);
  border: 1px solid var(--color-border-accent);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.feature__icon { font-size: 1.6rem; }
.feature h3 { margin: 0.75rem 0 0.5rem; font-size: 1.05rem; color: var(--color-accent); }
.feature p { margin: 0; color: var(--color-text-soft); font-size: 0.95rem; }

/* --------------------------- Responsivität --------------------------- */

@media (max-width: 640px) {
  main { padding: 1.5rem 0 3rem; }
  .hero { padding: 2.5rem 0 2rem; }
  .start-card { padding: 1.5rem; }
  .logo { font-size: 1rem; white-space: nowrap; }
  .site-header .btn { padding: 0.45rem 0.8rem; font-size: 0.85rem; white-space: nowrap; }
}

/* --------------------- Reduzierte Bewegung (a11y) --------------------- */

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