@font-face { font-family:'Inter'; font-style:normal; font-weight:400; font-display:swap; src:url('/assets/fonts/inter-400.woff2') format('woff2'); }
@font-face { font-family:'Inter'; font-style:normal; font-weight:500; font-display:swap; src:url('/assets/fonts/inter-500.woff2') format('woff2'); }
@font-face { font-family:'Inter'; font-style:normal; font-weight:600; font-display:swap; src:url('/assets/fonts/inter-600.woff2') format('woff2'); }
@font-face { font-family:'Inter'; font-style:normal; font-weight:700; font-display:swap; src:url('/assets/fonts/inter-700.woff2') format('woff2'); }
@font-face { font-family:'Inter'; font-style:normal; font-weight:800; font-display:swap; src:url('/assets/fonts/inter-800.woff2') format('woff2'); }

    :root {
      --bg: #0a0a0b;
      --text: #f4f4f5;
      --muted: #a1a1aa;
      --card: rgba(255, 255, 255, .045);
      --card-border: rgba(255, 255, 255, .10);
      --card-border-hover: rgba(228, 228, 231, .40);
      --accent: #d4d4d8;
      --purple: #e4e4e7;
      --grad: linear-gradient(120deg, #fafafa, #d4d4d8 55%, #8e8e99);
      --radius: 18px;
      --discord: #5865f2;
      --discord-soft: rgba(88, 101, 242, .15);
      --instagram: #d62976;
      --instagram-soft: rgba(214, 41, 118, .12);
      --twitter: #1d9bf0;
      --twitter-soft: rgba(29, 155, 240, .12);
    }

    * { margin: 0; padding: 0; box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      font-family: 'Inter', system-ui, sans-serif;
      background: var(--bg); color: var(--text);
      line-height: 1.65; overflow-x: hidden;
      -webkit-font-smoothing: antialiased;
    }
    ::selection { background: var(--accent); color: #0a0a0b; }
    ::-webkit-scrollbar { width: 10px; }
    ::-webkit-scrollbar-thumb { background: var(--card-border); border-radius: 8px; }

    .glow { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
    .glow::before, .glow::after {
      content: ""; position: absolute; width: 60vmax; height: 60vmax;
      border-radius: 50%; filter: blur(120px); opacity: .10;
    }
    .glow::before { background: #3f3f46; top: -30vmax; left: -15vmax; animation: drift 26s ease-in-out infinite alternate; }
    .glow::after  { background: #52525b; bottom: -35vmax; right: -15vmax; animation: drift 32s ease-in-out infinite alternate-reverse; }
    @keyframes drift { to { transform: translate(6vmax, 4vmax) scale(1.15); } }

    /* ---------- Video-Hintergrund (grau, weiche/verschwommene Raender) ---------- */
    .bg-media {
      position: fixed; inset: 0; z-index: -2;
      overflow: hidden; background: #0a0a0b;
      pointer-events: none;
    }
    .bg-video {
      position: absolute; top: 50%; left: 50%;
      width: 100%; height: 100%;
      transform: translate(-50%, -50%) scale(1.08);
      object-fit: cover;
      filter: grayscale(1) blur(1.2px) brightness(1) contrast(1.05);
      opacity: .82;
      will-change: transform;
    }
    /* Abdunkelung + Vignette fuer Lesbarkeit */
    .bg-media::before {
      content: ""; position: absolute; inset: 0; z-index: 1;
      background:
        radial-gradient(ellipse 85% 75% at 50% 38%, rgba(10,10,11,.04) 0%, rgba(10,10,11,.55) 68%, rgba(10,10,11,.92) 100%),
        linear-gradient(180deg, rgba(10,10,11,.20), rgba(10,10,11,.72));
    }
    /* verschwommene Raender: geblurrte Maske ueber den Aussenkanten */
    .bg-media::after {
      content: ""; position: absolute; inset: 0; z-index: 2;
      -webkit-backdrop-filter: blur(24px);
      backdrop-filter: blur(24px);
      -webkit-mask-image: radial-gradient(ellipse 72% 72% at 50% 45%, transparent 26%, #000 82%);
      mask-image: radial-gradient(ellipse 72% 72% at 50% 45%, transparent 26%, #000 82%);
      -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
    }
    @media (prefers-reduced-motion: reduce) {
      .bg-video { display: none; }
      .bg-media { background: #0a0a0b url('/assets/img/bg-poster.jpg') center / cover no-repeat; }
      .bg-media::before { opacity: .9; }
    }

    .container { max-width: 980px; margin: 0 auto; padding: 0 24px; }

    #nav {
      position: sticky; top: 0; z-index: 20;
      background: transparent; transition: background .3s, border-color .3s;
      border-bottom: 1px solid transparent;
    }
    #nav.scrolled {
      background: color-mix(in srgb, var(--bg) 72%, transparent);
      backdrop-filter: blur(14px) saturate(1.4);
      border-bottom-color: var(--card-border);
    }
    .nav-inner {
      max-width: 980px; margin: 0 auto; padding: 14px 24px;
      display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    }
    .logo {
      font-weight: 800; text-decoration: none;
      letter-spacing: -.02em; font-size: 1.05rem;
      padding: 7px 14px; border-radius: 999px;
      transition: background .2s, color .2s, transform .2s;
    }
    .logo:hover { background: var(--card); transform: scale(1.03); }
    .cloudy { color: var(--text); }
    .x7     { color: var(--purple); }

    .nav-links { display: flex; gap: 6px; }
    .nav-links a {
      color: var(--muted); text-decoration: none; font-size: .9rem; font-weight: 500;
      padding: 7px 14px; border-radius: 999px; transition: background .2s, color .2s;
    }
    .nav-links a:hover { color: var(--text); background: var(--card); }

    section { padding: 84px 0; }
    .kicker {
      display: inline-flex; align-items: center; gap: 8px;
      color: var(--accent); font-weight: 600; font-size: .78rem;
      text-transform: uppercase; letter-spacing: .12em;
      background: var(--card); border: 1px solid var(--card-border);
      padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
    }
    h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); font-weight: 800; line-height: 1.12; letter-spacing: -.03em; }
    h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); font-weight: 750; letter-spacing: -.02em; margin-bottom: 10px; }
    .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
    .sub { color: var(--muted); margin-bottom: 34px; }
    p { color: var(--muted); }
    p + p { margin-top: 14px; }

    .btn {
      display: inline-flex; align-items: center; gap: 8px;
      padding: 12px 22px; border-radius: 14px; font-weight: 600; font-size: .95rem;
      text-decoration: none; transition: transform .18s cubic-bezier(.3,1.4,.5,1), box-shadow .18s;
      cursor: pointer; border: none; font-family: inherit;
    }
    .btn:hover { transform: translateY(-2px) scale(1.02); }
    .btn-primary { background: var(--accent); color: #0a0a0b; }
    .btn-primary:hover { box-shadow: 0 8px 32px -8px rgba(212, 212, 216, .55); }
    .btn-ghost { border: 1px solid var(--card-border); background: var(--card); color: var(--text); backdrop-filter: blur(8px); }
    .btn .arr { transition: transform .18s; }
    .btn:hover .arr { transform: translateX(3px); }

    .hero-split {
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 40px;
      align-items: center;
      padding: 96px 0 72px;
    }
    .hero-left { max-width: 600px; }
    .hero-right { justify-self: end; }
    
    .skin-card {
      position: relative;
      background: var(--card);
      border: 1px solid var(--card-border);
      border-radius: var(--radius);
      padding: 22px;
      backdrop-filter: blur(12px);
      transition: transform .3s, border-color .3s, box-shadow .3s;
      text-align: center;
    }
    .skin-card:hover {
      transform: translateY(-6px) scale(1.01);
      border-color: var(--purple);
      box-shadow: 0 0 40px -10px rgba(228, 228, 231, .25);
    }
    .skin-glow {
      position: absolute; inset: 0; z-index: -1;
      border-radius: var(--radius);
      background: radial-gradient(circle at 50% 30%, rgba(228, 228, 231, .25), transparent 60%);
      opacity: 0; transition: opacity .3s;
    }
    .skin-card:hover .skin-glow { opacity: 1; }
    .skin-card img {
      width: 220px; height: 220px;
      border-radius: 14px;
      image-rendering: pixelated;
      background: linear-gradient(135deg, rgba(228,228,231,.12), transparent);
      display: block;
    }
    .skin-name { margin-top: 14px; font-weight: 700; font-size: 1rem; }
    .skin-name .mc-name { color: var(--purple); }
    .skin-name .tag { color: var(--muted); font-size: .8rem; font-weight: 500; }

    .hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }

    .card {
      background: var(--card); border: 1px solid var(--card-border);
      border-radius: var(--radius); backdrop-filter: blur(10px);
      transition: transform .2s, border-color .2s;
      position: relative; overflow: hidden;
    }
    .card::after {
      content: ""; position: absolute; inset: 0 0 auto 0; height: 1px;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
      pointer-events: none;
    }
    .card:hover { transform: translateY(-4px); border-color: var(--card-border-hover); }

    .tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
    .tag {
      border: 1px solid var(--card-border); background: var(--card);
      padding: 8px 16px; border-radius: 999px; font-size: .84rem; color: var(--muted);
      backdrop-filter: blur(8px); transition: color .2s, border-color .2s, transform .2s;
      cursor: default;
    }
    .tag:hover { color: var(--accent); border-color: var(--card-border-hover); transform: translateY(-2px); }

    /* LINK-KARTEN */
    .links-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 14px;
    }

    .link-card {
      position: relative;
      display: flex;
      flex-direction: column;
      gap: 10px;
      text-decoration: none;
      padding: 24px;
      background: var(--card);
      border: 1px solid var(--card-border);
      border-radius: var(--radius);
      backdrop-filter: blur(10px);
      overflow: hidden;
      text-align: left;
      transition: transform .25s cubic-bezier(.3,1.4,.5,1),
                  border-color .25s,
                  box-shadow .25s;
      isolation: isolate;
      cursor: pointer;
    }
    .link-card::before {
      content: ""; position: absolute; inset: -40%;
      background: radial-gradient(circle at 50% 0%, var(--glow-color, rgba(212,212,216,.15)), transparent 60%);
      opacity: 0; transition: opacity .35s; z-index: -2; pointer-events: none;
    }
    .link-card::after {
      content: ""; position: absolute; inset: 0 0 auto 0; height: 1px;
      background: linear-gradient(90deg, transparent, var(--line-color, rgba(255,255,255,.18)), transparent);
      pointer-events: none; z-index: -1;
    }
    .link-card:hover {
      transform: translateY(-6px) scale(1.015);
      border-color: var(--border-color, var(--card-border-hover));
      box-shadow: 0 16px 40px -16px var(--shadow-color, rgba(212,212,216,.25));
    }
    .link-card:hover::before { opacity: 1; }

    .link-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }

    .link-icon {
      width: 46px; height: 46px;
      border-radius: 12px;
      display: grid; place-items: center;
      overflow: hidden;
      background: var(--icon-bg, var(--card));
      border: 1px solid var(--icon-border, var(--card-border));
      box-shadow: 0 4px 20px -8px var(--icon-shadow, transparent);
      transition: transform .25s, box-shadow .25s;
      flex-shrink: 0;
    }
    .link-icon img, .link-icon svg {
      width: 24px; height: 24px;
      object-fit: contain;
      display: block;
    }
    .link-icon img.full {
      width: 100%; height: 100%;
      object-fit: cover;
    }
    .link-card:hover .link-icon {
      transform: scale(1.08);
      box-shadow: 0 6px 24px -6px var(--icon-shadow, transparent);
    }

    .link-title { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 1.08rem; }
    .link-title .arrow { display: inline-flex; color: var(--muted); transition: transform .25s, color .25s; }
    .link-card:hover .link-title .arrow { transform: translate(4px, -2px); color: var(--accent-color, var(--accent)); }

    .link-handle { color: var(--muted); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
    .link-desc { color: var(--muted); font-size: .9rem; line-height: 1.5; margin-top: 2px; }

    .link-discord {
      --glow-color: var(--discord-soft);
      --line-color: rgba(88, 101, 242, .35);
      --border-color: rgba(88, 101, 242, .5);
      --shadow-color: rgba(88, 101, 242, .25);
      --accent-color: var(--discord);
      --icon-bg: var(--discord-soft);
      --icon-border: rgba(88, 101, 242, .25);
      --icon-shadow: rgba(88, 101, 242, .3);
    }
    .link-discord .logo-fill { fill: var(--discord); }

    .link-instagram {
      --glow-color: var(--instagram-soft);
      --line-color: rgba(214, 41, 118, .35);
      --border-color: rgba(214, 41, 118, .45);
      --shadow-color: rgba(214, 41, 118, .18);
      --accent-color: var(--instagram);
      --icon-bg: var(--instagram-soft);
      --icon-border: rgba(214, 41, 118, .25);
      --icon-shadow: rgba(214, 41, 118, .25);
    }

    .link-twitter {
      --glow-color: var(--twitter-soft);
      --line-color: rgba(29, 155, 240, .35);
      --border-color: rgba(29, 155, 240, .5);
      --shadow-color: rgba(29, 155, 240, .2);
      --accent-color: var(--twitter);
      --icon-bg: var(--twitter-soft);
      --icon-border: rgba(29, 155, 240, .25);
      --icon-shadow: rgba(29, 155, 240, .25);
    }
    .link-twitter .logo-fill { fill: var(--twitter); }

    .cta-card {
      text-align: center; padding: 56px 28px;
      background: var(--card); border: 1px solid var(--card-border);
      border-radius: 24px; backdrop-filter: blur(10px);
    }
    .cta-card .btn { margin-top: 24px; }

    footer { padding: 40px 0 52px; text-align: center; color: var(--muted); font-size: .85rem; }
    .footer-links { display: flex; gap: 18px; justify-content: center; margin-top: 10px; }
    .footer-links a { color: var(--muted); text-decoration: none; }
    .footer-links a:hover { color: var(--text); }

    .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
    .reveal.visible { opacity: 1; transform: none; }

    @media (prefers-reduced-motion: reduce) {
      * { animation: none !important; transition: none !important; }
      .reveal { opacity: 1; transform: none; }
    }

    @media (max-width: 860px) {
      .hero-split { grid-template-columns: 1fr; justify-items: center; text-align: center; }
      .hero-right { justify-self: center; order: -1; }
      .hero-left { justify-self: center; max-width: 100%; width: 100%; }
      .hero-left p { max-width: 600px; margin-left: auto; margin-right: auto; }
      .skin-card { margin: 0 auto; max-width: 260px; }
      .skin-glow { max-width: 100%; }
      .skin-card img { width: 160px; height: 160px; margin: 0 auto; display: block; }
      .hero-cta { justify-content: center; }
      .cta-card { padding: 44px 18px; }
    }

    @media (max-width: 760px) {
      .nav-links { display: none; }
      section { padding: 60px 0; }
    }
  
    /* ---------- Legal-Seiten ---------- */
    .doc-wrap { max-width: 780px; }
    .doc-updated { color: var(--muted); font-size: .92rem; margin: 1.2rem 0 2.4rem; }
    .doc-section {
      background: var(--card); border: 1px solid var(--card-border);
      border-radius: var(--radius); padding: 1.4rem 1.5rem; margin: 1rem 0;
    }
    .doc-section h2 {
      margin: 0 0 .7rem; font-size: 1.12rem; font-weight: 700;
      background: var(--grad); -webkit-background-clip: text;
      background-clip: text; color: transparent; display: inline-block;
    }
    .doc-section p, .doc-section li { color: var(--muted); line-height: 1.65; font-size: .97rem; }
    .doc-section p strong, .doc-section li strong { color: var(--text); font-weight: 600; }
    .doc-section ul { margin: .4rem 0 .2rem; padding-left: 1.2rem; }
    .doc-section li { margin: .35rem 0; }
    .doc-section a { color: var(--accent); text-decoration: none; }
    .doc-section a:hover { text-decoration: underline; }
    .doc-section .note { font-size: .88rem; opacity: .8; }
    .doc-toc { position: static; z-index: auto; display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.4rem; }
    .doc-toc a {
      padding: .42rem .85rem; border-radius: 999px; font-size: .86rem;
      background: var(--card); border: 1px solid var(--card-border);
      color: var(--muted); text-decoration: none; transition: border-color .2s, color .2s, transform .2s;
    }
    .doc-toc a:hover { border-color: var(--card-border-hover); color: var(--text); transform: translateY(-1px); }

    /* Anker-Spruenge: nicht unter sticky nav verstecken */
    main [id] { scroll-margin-top: 90px; }
