/* =========================================================
   52mondays — gemeinsame Basis für alle Seiten
   (Tokens, Header, Buttons, Footer, Reveal, Rechtstexte)
   ========================================================= */
:root{
  --bg:#040404; --bg-soft:#0a0a0c; --surface:#111114; --surface-2:#17171b;
  --line:#26262c; --line-soft:#1a1a1f;
  --fg:#F6F5F3; --fg-dim:#B7B6B2; --fg-mute:#7C7B79;
  --g1:#4A22E6; --g2:#7C5CFF; --g3:#C3A6FF;
  --grad:linear-gradient(100deg,var(--g1),var(--g2) 52%,var(--g3));
  --accent:#B79CFF; --accent-ink:#17082f;
  --btn:#753BBE; --btn-ink:#ffffff;
  --eyebrow:#8341D4;
  --ff-display:"Playfair Display",Georgia,serif;
  --ff-body:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --maxw:1120px; --header-h:80px; --ease:cubic-bezier(.22,1,.36,1);
}
*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
@media (prefers-reduced-motion:reduce){ html{ scroll-behavior:auto; } }
body{
  margin:0; min-height:100vh; display:flex; flex-direction:column;
  background:var(--bg); color:var(--fg); font-family:var(--ff-body);
  font-size:16px; line-height:1.6; -webkit-font-smoothing:antialiased; overflow-x:hidden;
}
main{ flex:1; position:relative; z-index:3; }
::selection{ background:var(--g2); color:#fff; }
a{ color:inherit; text-decoration:none; }
button{ font-family:inherit; }
:focus-visible{ outline:2px solid var(--accent); outline-offset:3px; border-radius:6px; }
.wrap{ width:100%; max-width:var(--maxw); margin-inline:auto; padding-inline:24px; }
.wrap-narrow{ max-width:780px; }
@media (max-width:600px){ .wrap{ padding-inline:20px; } }

.grad-text{ background:var(--grad); -webkit-background-clip:text; background-clip:text; color:transparent; }
.serif-it{ font-family:var(--ff-display); font-style:italic; font-weight:400; }

.grain{
  position:fixed; inset:0; z-index:2; pointer-events:none; opacity:.045; mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.page-glow{ position:fixed; inset:0; z-index:0; pointer-events:none;
  background:radial-gradient(58% 46% at 50% -6%, rgba(74,34,230,.28), transparent 62%),
            radial-gradient(40% 40% at 86% 8%, rgba(124,92,255,.14), transparent 60%); }

/* ---------- Header (identisch auf allen Seiten) ---------- */
.site-header{ position:fixed; top:0; left:0; right:0; z-index:100; border-bottom:1px solid transparent;
  transition:background .3s var(--ease), border-color .3s; }
.site-header.scrolled{ background:rgba(4,4,4,.72); backdrop-filter:blur(14px) saturate(140%); -webkit-backdrop-filter:blur(14px) saturate(140%); border-bottom-color:var(--line-soft); }
.nav{ display:flex; align-items:center; justify-content:space-between; gap:16px; height:var(--header-h); }
.brand{ display:inline-flex; align-items:center; }
.brand img{ height:34px; width:auto; display:block; }
@media (max-width:420px){ .brand img{ height:28px; } }
.page-offset{ padding-top:calc(var(--header-h) + 56px); }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:9px;
  height:48px; padding:0 22px; border-radius:999px; border:1px solid var(--line);
  font-size:15px; font-weight:500; color:var(--fg); background:transparent; cursor:pointer;
  transition:transform .25s var(--ease), border-color .25s, background .25s, filter .25s; white-space:nowrap;
}
.btn:hover{ border-color:#3a3a44; background:var(--surface); }
.btn svg{ width:16px; height:16px; flex:0 0 auto; stroke:currentColor; fill:none; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; transition:transform .25s var(--ease); }
.btn:hover svg{ transform:translateX(3px); }
.btn.back:hover svg{ transform:translateX(-3px); }
.btn-primary{ border:none; color:var(--btn-ink); background:var(--btn); font-weight:600; box-shadow:0 8px 32px -12px rgba(117,59,190,.75); }
.btn-primary:hover{ background:var(--btn); filter:brightness(1.12); }
.btn-lg{ height:56px; padding:0 30px; font-size:16px; }
@media (max-width:420px){ .nav .btn{ height:42px; padding:0 16px; font-size:14px; } }

/* ---------- Typo-Bausteine ---------- */
.eyebrow{ display:inline-flex; align-items:center; gap:8px; font-size:12px; font-weight:600; letter-spacing:.16em; text-transform:uppercase; color:var(--eyebrow); }
.eyebrow .dot{ width:7px; height:7px; border-radius:50%; background:var(--eyebrow); }
.microtrust{ margin:18px auto 0; color:var(--fg-mute); font-size:13.5px; display:flex; align-items:center; justify-content:center; gap:8px; flex-wrap:wrap; }
.microtrust svg{ width:15px; height:15px; stroke:var(--accent); fill:none; stroke-width:2; }

/* ---------- Footer (identisch auf allen Seiten) ---------- */
.site-footer{ position:relative; z-index:3; border-top:1px solid var(--line-soft); padding:64px 0 36px; color:var(--fg-mute); font-size:14px; }
.foot-top{ display:grid; grid-template-columns:1.6fr 1fr 1fr; gap:40px; margin-bottom:48px; }
.foot-brand .brand img{ height:28px; }
.foot-brand p{ margin:18px 0 0; color:var(--fg-dim); max-width:36ch; font-size:15px; }
.foot-col h4{ font-size:12px; letter-spacing:.14em; text-transform:uppercase; color:var(--fg-mute); margin:4px 0 16px; font-weight:500; }
.foot-col a, .foot-col span{ display:block; color:var(--fg-dim); font-size:15px; padding:5px 0; transition:color .2s var(--ease); }
.foot-col a:hover{ color:var(--fg); }
.foot-bottom{ display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; border-top:1px solid var(--line-soft); padding-top:24px; font-size:13.5px; }
.foot-bottom a{ color:var(--fg-dim); display:inline-flex; align-items:center; gap:7px; transition:color .2s; }
.foot-bottom a:hover{ color:var(--fg); }
.foot-bottom svg{ width:14px; height:14px; stroke:currentColor; fill:none; stroke-width:2; }
@media (max-width:760px){ .foot-top{ grid-template-columns:1fr 1fr; } .foot-brand{ grid-column:span 2; } }
@media (max-width:440px){ .foot-top{ grid-template-columns:1fr; } .foot-brand{ grid-column:span 1; } }

/* ---------- Rechtstexte (Impressum / Datenschutz) ---------- */
.legal{ padding-bottom:88px; }
.legal h1{ font-weight:700; letter-spacing:-.03em; line-height:1.06; font-size:clamp(32px,5vw,48px); margin:14px 0 10px; }
.legal .updated{ color:var(--fg-mute); font-size:13.5px; margin:0 0 40px; }
.legal h2{ font-weight:600; letter-spacing:-.01em; font-size:22px; margin:44px 0 12px; }
.legal h3{ font-weight:600; font-size:17px; margin:26px 0 8px; }
.legal p{ margin:0 0 16px; color:var(--fg-dim); line-height:1.72; overflow-wrap:anywhere; }
.legal a{ color:var(--accent); text-decoration:underline; text-underline-offset:2px; }
.legal .addr{ background:var(--surface); border:1px solid var(--line-soft); border-radius:18px; padding:24px 26px; margin:0 0 24px; }
.legal .addr p{ margin:0; color:var(--fg); line-height:1.7; }
.legal .addr .lbl{ color:var(--fg-mute); font-size:13px; margin-top:12px; }

/* ---------- Reveal ---------- */
.reveal{ opacity:0; transform:translateY(24px); transition:opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in{ opacity:1; transform:none; }
.reveal[data-delay="1"]{ transition-delay:.08s; }
.reveal[data-delay="2"]{ transition-delay:.16s; }
.reveal[data-delay="3"]{ transition-delay:.24s; }
@media (prefers-reduced-motion:reduce){ .reveal{ opacity:1 !important; transform:none !important; transition:none; } }
