/* ============================================================
   bit-fluss.com — Design-System v2
   Minimalistisch & modern (Apple-inspiriert) · Mobile-first
   Eine Akzentfarbe: Bitcoin-Orange #F7931A · System-Typografie
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --bg: #FFFFFF;
  --bg-alt: #F5F5F7;
  --ink: #1D1D1F;
  --muted: #6E6E73;
  --line: #E8E8ED;
  --orange: #F7931A;
  --orange-grad: linear-gradient(92deg, #F7931A 0%, #FFB340 100%);
  --radius: 22px;
  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --maxw: 66rem;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

/* ---------- Reset / Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(100% - 2.75rem, var(--maxw)); margin-inline: auto; }
.narrow { max-width: 44rem; margin-inline: auto; }

/* ---------- Typografie ---------- */
h1, h2, h3 { line-height: 1.06; letter-spacing: -0.022em; margin: 0 0 0.5em; font-weight: 800; }
h1 { font-size: clamp(2.6rem, 10vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 6.4vw, 3rem); }
h3 { font-size: 1.25rem; line-height: 1.3; letter-spacing: -0.01em; font-weight: 700; }
p  { margin: 0 0 1em; }

.grad {
  background: var(--orange-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
}

.lead { font-size: clamp(1.15rem, 4vw, 1.35rem); line-height: 1.5; color: var(--muted); font-weight: 400; }

.center { text-align: center; }

/* ---------- Header ---------- */
.site-head { padding: 1.2rem 0; }
.site-head .wrap { display: flex; justify-content: center; }
.site-head img { height: 52px; width: auto; }

/* ---------- Hero ---------- */
.hero { padding: 2.2rem 0 0; text-align: center; }
.hero .lead { max-width: 38rem; margin-inline: auto; }
.hero-photo {
  margin: 2.6rem auto 0;
  max-width: 56rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-photo img { width: 100%; height: auto; object-fit: cover; aspect-ratio: 16 / 10; }

/* ---------- Formular ---------- */
.signup { margin: 1.9rem auto 0; max-width: 34rem; }
.signup-fields { display: flex; flex-direction: column; gap: 0.7rem; }
.signup input[type='email'] {
  font: inherit;
  font-size: 1.05rem;
  padding: 0 1.4rem;
  min-height: 56px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-alt);
  color: var(--ink);
  width: 100%;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.signup input[type='email']:focus { background: #fff; border-color: var(--orange); outline: none; }
.signup input[type='email']::placeholder { color: var(--muted); }
.btn {
  font: inherit;
  font-weight: 700;
  font-size: 1.05rem;
  min-height: 56px;
  padding: 0 1.9rem;
  border: 0;
  border-radius: 999px;
  background: var(--orange-grad);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
  box-shadow: 0 6px 20px rgba(247, 147, 26, 0.35);
}
.btn:hover { filter: brightness(1.04); }
.btn:active { transform: scale(0.985); }
.signup-note { font-size: 0.84rem; color: var(--muted); margin-top: 0.85rem; }
.signup-note a { color: var(--muted); }
.signup-success {
  display: none;
  background: rgba(247, 147, 26, 0.1);
  border: 1px solid rgba(247, 147, 26, 0.45);
  border-radius: 16px;
  padding: 1.05rem 1.2rem;
  font-weight: 600;
}
.signup.is-done .signup-success { display: block; }
.signup.is-done .signup-fields, .signup.is-done .signup-note { display: none; }
.signup-error { display: none; color: #C33F00; font-weight: 600; font-size: 0.95rem; margin-top: 0.55rem; }
.hp-field { position: absolute; left: -6000px; top: -6000px; }

.trust {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.35rem 1.1rem;
  font-size: 0.85rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 1.1rem 0 0; padding: 0; list-style: none;
}
.trust li {
  background: var(--orange-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Sections ---------- */
section { padding: 4rem 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 42rem; margin: 0 auto 2.4rem; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.1rem; }

/* ---------- Blockchain-Blöcke ---------- */
.chain { display: flex; flex-direction: column; align-items: center; gap: 0; margin: 0; padding: 0; list-style: none; }
.block {
  background: #fff;
  border: 2px solid #E2E2E7;
  border-radius: 16px;
  padding: 1.6rem 1.5rem;
  width: min(100%, 21rem);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.block .block-meta {
  display: flex; justify-content: space-between;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em;
  color: var(--muted); text-transform: uppercase;
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  margin-bottom: 0.3rem;
}
.block .block-meta .hash { color: var(--orange); }
.block strong { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.01em; }
.chain .link {
  width: 2px; height: 1.5rem;
  background: var(--orange);
  opacity: 0.55;
  flex: none;
}
.chain-note { text-align: center; color: var(--muted); font-size: 0.95rem; margin-top: 1.6rem; }
.chain-note .plus { color: var(--orange); font-weight: 700; }

/* ---------- Nutzen (5 Punkte, conversion) ---------- */
.benefits { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.benefits li {
  background: var(--bg-alt);
  border-radius: 18px;
  padding: 1.4rem 1.5rem;
}
.section-alt .benefits li { background: #fff; box-shadow: 0 4px 16px rgba(0,0,0,0.04); }
.benefits .num {
  display: inline-block;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--orange);
  margin-bottom: 0.45rem;
  letter-spacing: 0.02em;
}
.benefits h3 { margin-bottom: 0.3em; }
.benefits p { margin: 0; color: var(--muted); }

/* ---------- Über mich ---------- */
.about-grid { display: grid; gap: 2.2rem; align-items: center; }
.about-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); max-width: 420px; margin-inline: auto; }

/* ---------- Zitat ---------- */
.quote { text-align: center; padding: 4.6rem 0; }
.quote blockquote {
  margin: 0 auto;
  max-width: 46rem;
  font-size: clamp(1.7rem, 6.4vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.022em;
  line-height: 1.15;
}
.quote figcaption { margin-top: 1.3rem; font-size: 0.95rem; color: var(--muted); }

/* ---------- Finaler CTA ---------- */
.cta-final { padding-bottom: 5rem; }
.cta-card {
  background: var(--bg-alt);
  border-radius: 28px;
  padding: 2.6rem 1.5rem;
  text-align: center;
}

/* ---------- Footer ---------- */
.site-foot { border-top: 1px solid var(--line); padding: 2.4rem 0 3rem; font-size: 0.85rem; color: var(--muted); }
.site-foot img { height: 26px; width: auto; margin-bottom: 1.1rem; }
.foot-links { display: flex; flex-wrap: wrap; gap: 0.3rem 1.5rem; padding: 0; margin: 0 0 1rem; list-style: none; }
.foot-links a { color: var(--ink); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.foot-links a:hover { text-decoration: underline; }
.foot-note { max-width: 46rem; }

/* ---------- Rechtsseiten / Prosa ---------- */
.prose { padding: 1rem 0 4rem; max-width: 44rem; }
.prose h1 { font-size: clamp(2rem, 7vw, 2.8rem); margin-top: 1.2rem; }
.prose h2 { font-size: 1.3rem; margin-top: 2.2em; }
.prose a { text-decoration-color: var(--orange); text-decoration-thickness: 2px; }
.prose .stand { color: var(--muted); font-size: 0.9rem; }
.back-home { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; text-decoration: none; color: var(--muted); }
.back-home::before { content: '← '; color: var(--orange); margin-right: 0.3rem; }

/* ---------- 404 ---------- */
.err { text-align: center; padding: 4.5rem 0; }
.err .huge { font-weight: 800; font-size: clamp(4.5rem, 24vw, 10rem); line-height: 1; letter-spacing: -0.03em; }

/* ---------- Desktop ---------- */
@media (min-width: 700px) {
  .signup-fields { flex-direction: row; }
  .signup input[type='email'] { flex: 1; }
  .btn { width: auto; flex: none; }
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .benefits li:last-child { grid-column: 1 / -1; }
  .chain { flex-direction: row; justify-content: center; align-items: stretch; }
  .block { width: auto; flex: 1; max-width: 14rem; min-height: 5.5rem; }
  .chain .link { width: 1.9rem; height: 2px; align-self: center; }
  .cta-card { padding: 3.6rem 3rem; }
}
@media (min-width: 980px) {
  section { padding: 5.2rem 0; }
  .about-grid { grid-template-columns: 0.85fr 1.15fr; gap: 3.4rem; }
  .benefits { grid-template-columns: repeat(3, 1fr); }
  .benefits li:nth-child(4) { grid-column: auto; }
  .benefits li:last-child { grid-column: auto; }
  .benefits li:nth-child(n+4) { grid-column: span 1; }
}

/* Bei 3-Spalten-Grid die letzten 2 mittig wirken lassen: einfache Lösung — 5. Karte über volle Breite auf 2-Spalten, Standard auf 3-Spalten */

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
