/* ==========================================================
   GLOBAL STYLE – edit the values in :root to restyle ALL pages
   ========================================================== */
:root {
  /* Colors */
  --bg:#0c0c10;                 /* page background */
  --fg:#f4f1ee;                 /* main text */
  --muted:#a29e9b;              /* secondary text */
  --c1:#ffb347;                 /* accent 1 (amber) */
  --c2:#ff6b6b;                 /* accent 2 (coral) */
  --c3:#9d5cff;                 /* accent 3 (violet) */
  --glass:rgba(255,255,255,.06);
  --glass-hover:rgba(255,255,255,.11);
  --line:rgba(255,255,255,.12);

  /* Background glows (set to transparent to switch off) */
  --glow1:rgba(255,179,71,.22);
  --glow2:rgba(157,92,255,.22);
  --glow3:rgba(255,107,107,.14);

  /* Shape and type */
  --radius:14px;
  --font:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --width:460px;                /* content width of the link page */
  --width-text:660px;           /* content width of text pages */

  --grad:linear-gradient(135deg,var(--c1),var(--c2) 55%,var(--c3));
}

/* ---------- Base ---------- */
* { box-sizing:border-box; }
body {
  margin:0; min-height:100vh; color:var(--fg); font-family:var(--font);
  background:
    radial-gradient(60% 40% at 15% 0%, var(--glow1), transparent 70%),
    radial-gradient(55% 40% at 95% 10%, var(--glow2), transparent 70%),
    radial-gradient(70% 45% at 50% 100%, var(--glow3), transparent 70%),
    var(--bg);
  background-attachment:fixed;
  display:flex; flex-direction:column; align-items:center; padding:56px 20px 120px;
}
main { width:100%; max-width:var(--width); text-align:center; }
a { color:var(--fg); }

/* ---------- Link page ---------- */
.avatar { width:92px; height:92px; margin:0 auto 20px; border-radius:50%; padding:3px; background:var(--grad);
          box-shadow:0 10px 40px rgba(255,107,107,.25); }
.avatar img { width:100%; height:100%; border-radius:50%; object-fit:cover; display:block; }
.avatar span { display:flex; align-items:center; justify-content:center; width:100%; height:100%;
               border-radius:50%; background:#15151a; font-size:1.7rem; font-weight:700; letter-spacing:.02em; }
h1 { font-size:1.6rem; margin:0 0 4px; letter-spacing:-.01em; }
.tag { margin:0 0 18px; font-size:.78rem; font-weight:600; letter-spacing:.18em; text-transform:uppercase;
       background:var(--grad); -webkit-background-clip:text; background-clip:text; color:transparent; }
.intro { margin:0 auto 34px; max-width:380px; color:var(--muted); line-height:1.6; font-size:.98rem; }

a.link { position:relative; display:flex; align-items:center; justify-content:space-between; gap:12px;
         padding:17px 20px; margin:0 0 14px; background:var(--glass); border:1px solid var(--line);
         color:var(--fg); text-decoration:none; border-radius:var(--radius); font-weight:600;
         backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px);
         transition:background .2s, transform .2s, border-color .2s, box-shadow .2s; }
a.link small { display:block; font-weight:400; color:var(--muted); font-size:.82rem; margin-top:2px; }
a.link .txt { text-align:left; flex:1; }
a.link .ico { width:40px; height:40px; border-radius:10px; flex:none; object-fit:cover; }
a.link .arrow { opacity:.5; transition:transform .2s, opacity .2s; }
a.link:hover, a.link:focus-visible { background:var(--glass-hover); transform:translateY(-2px);
         border-color:rgba(255,179,71,.6); box-shadow:0 10px 30px rgba(255,107,107,.18); outline:none; }
a.link:hover .arrow, a.link:focus-visible .arrow { transform:translateX(4px); opacity:1; }

/* ---------- Text pages (Impressum, Datenschutz) ---------- */
.page { max-width:var(--width-text); text-align:left; }
.back { display:inline-block; margin-bottom:20px; color:var(--muted); text-decoration:none; font-size:.9rem; }
.back:hover { color:var(--fg); }
.card { background:var(--glass); border:1px solid var(--line); border-radius:var(--radius); padding:28px 26px;
        backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px); line-height:1.65; }
.page h1 { font-size:1.6rem; margin:0 0 18px; background:var(--grad); -webkit-background-clip:text; background-clip:text; color:transparent; }
.page h2 { font-size:1.05rem; margin:26px 0 6px; }
.page p { margin:0 0 12px; color:#dedad6; }
.page code { background:rgba(255,255,255,.08); padding:1px 6px; border-radius:6px; font-size:.9em; }
.muted { color:var(--muted) !important; }

/* ---------- Footer ---------- */
footer { margin-top:44px; font-size:.8rem; color:var(--muted); text-align:center; }
footer a, footer button { color:var(--muted); background:none; border:0; font:inherit; cursor:pointer; text-decoration:underline; padding:0; }
footer a:hover, footer button:hover { color:var(--fg); }

/* ---------- Consent banner ---------- */
#consent { position:fixed; left:12px; right:12px; bottom:12px; max-width:520px; margin:0 auto;
           background:rgba(28,28,34,.92); backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px);
           border:1px solid var(--line); border-radius:16px; padding:16px; display:none;
           font-size:.85rem; line-height:1.5; box-shadow:0 12px 40px rgba(0,0,0,.55); }
#consent p { margin:0 0 12px; }
#consent .row { display:flex; gap:10px; }
#consent button { flex:1; padding:11px; border-radius:10px; border:1px solid var(--line); font:inherit; font-weight:600; cursor:pointer; }
#accept { background:var(--grad); color:#16110c; border:0; }
#decline { background:transparent; color:var(--fg); }

@media (prefers-reduced-motion:reduce) { * { transition:none !important; } }
