:root{
  --bg:          #121417;
  --bg-soft:     #1a1d21;
  --bg-soft-2:   #212529;
  --bg-header:   rgba(18, 20, 23, .82);
  --line:        #2b3036;
  --line-soft:   #23272c;

  --green:       #4fd07a;
  --green-dark:  #35a95d;
  --green-glow:  rgba(79, 208, 122, .28);
  --green-tint:  rgba(79, 208, 122, .10);

  --text:        #edeff1;
  --text-dim:    #99a0a8;

  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 8px;
  --header-h: 66px;
  --maxw: 1080px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a{ color: inherit; text-decoration: none; }
::selection{ background: var(--green-dark); color: #0d0f11; }
:focus-visible{ outline: 2px solid var(--green); outline-offset: 3px; }
[id]{ scroll-margin-top: calc(var(--header-h) + 20px); }


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

.site-header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 clamp(16px, 4vw, 40px);
  background: var(--bg-header);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
body.has-banner .site-header{ background: transparent; backdrop-filter: none; }
body.has-banner .site-header.scrolled,
.site-header.scrolled{
  background: var(--bg-header);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--line-soft);
}

.brand{
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: .02em;
}
.brand img{
  width: 34px; height: 34px;
  transition: transform .4s var(--ease);
}
.brand:hover img{ transform: rotate(-6deg) scale(1.06); }

.nav-toggle{
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 8px;
}
.nav-toggle span{ display: block; width: 22px; height: 2px; background: var(--text); }

.nav-list{
  display: flex; align-items: center; gap: 2px;
  list-style: none; margin: 0; padding: 0;
}
.nav-list a{
  position: relative;
  display: block;
  padding: 8px 11px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-dim);
  transition: color .2s;
}
.nav-list a::after{
  content: "";
  position: absolute;
  left: 11px; right: 11px; bottom: 2px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav-list a:hover{ color: var(--text); }
.nav-list a:hover::after{ transform: scaleX(1); }
.nav-list a.active{ color: var(--text); }
.nav-list a.active::after{ transform: scaleX(1); }

@media (max-width: 940px){
  .nav-toggle{ display: flex; }
  .nav-list{
    display: none;
    position: absolute;
    top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 10px 14px 16px;
    background: #15181b;
    border-bottom: 1px solid var(--line-soft);
  }
  .nav-list.open{ display: flex; }
  .nav-list a{ padding: 12px 8px; }
  .nav-list a::after{ left: 8px; right: auto; width: 18px; }
}


/* ---------- Banner ---------- */

.banner{
  position: relative;
  width: 100%;
  min-height: clamp(420px, 72vh, 720px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  isolation: isolate;
}
.banner-stage{ position: absolute; inset: 0; z-index: -2; background: #0e1013; }
.banner-img{
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.2s var(--ease), transform 9s linear;
}
.banner-img.is-active{ opacity: 1; transform: scale(1); }

.banner-overlay{
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to bottom, rgba(18,20,23,.72) 0%, rgba(18,20,23,.30) 35%, rgba(18,20,23,.88) 100%);
}

.banner-profile{
  position: relative;
  z-index: 2;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: calc(var(--header-h) + 24px) 20px clamp(74px, 11vh, 110px);
}

.banner-icon{
  width: clamp(150px, 21vw, 240px);
  height: clamp(150px, 21vw, 240px);
  padding: 0;
  border-radius: 50%;
  box-shadow:
    0 0 0 2px rgba(79, 208, 122, .55),
    0 0 0 12px rgba(79, 208, 122, .07),
    0 22px 60px -24px rgba(0, 0, 0, .95);
  transition: transform .45s var(--ease), box-shadow .3s;
}
.banner-icon img{
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.banner-icon:hover{
  transform: scale(1.05);
  box-shadow:
    0 0 0 2px var(--green),
    0 0 0 14px rgba(79, 208, 122, .11),
    0 26px 66px -24px rgba(0, 0, 0, .95);
}

.profile-name{
  margin: 22px 0 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.01em;
}
.profile-tagline{
  margin: 8px 0 0;
  max-width: 34ch;
  color: #c6ccd2;
  font-size: clamp(.95rem, 2vw, 1.08rem);
}
.profile-handles{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 12px;
  margin: 14px 0 0;
  font-size: .92rem;
  color: var(--text-dim);
}
.profile-handles strong{ color: var(--green); font-weight: 600; }
.profile-sep{ color: var(--line); }

.profile-links{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.banner-content{
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 40px) clamp(52px, 8vh, 92px);
}
.banner-content h1{
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 6vw, 3.8rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.01em;
}
.banner-content p{
  margin: 0 0 26px;
  max-width: 46ch;
  color: #c6ccd2;
  font-size: clamp(1rem, 2vw, 1.12rem);
}

.banner-dots{
  position: absolute;
  right: clamp(20px, 5vw, 40px);
  bottom: clamp(52px, 8vh, 92px);
  display: flex;
  gap: 8px;
  z-index: 2;
}
.banner-dot{
  width: 9px; height: 9px;
  padding: 0;
  background: rgba(255,255,255,.28);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background .25s, transform .25s var(--ease);
}
.banner-dot.is-active{ background: var(--green); transform: scale(1.25); }

.banner-progress{
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: rgba(255,255,255,.08);
  z-index: 2;
}
.banner-progress span{
  display: block;
  height: 100%;
  width: 0;
  background: var(--green);
  box-shadow: 0 0 10px var(--green-glow);
}

.banner-compact{
  min-height: clamp(260px, 40vh, 400px);
}
.banner-compact .banner-content{
  padding-bottom: clamp(30px, 5vh, 54px);
}
.banner-compact .banner-content h1{
  font-size: clamp(1.9rem, 5vw, 3rem);
}
.banner-compact .banner-overlay{
  background: linear-gradient(to bottom, rgba(18,20,23,.78) 0%, rgba(18,20,23,.45) 40%, rgba(18,20,23,.94) 100%);
}
.banner-compact .section-eyebrow{ margin-bottom: 10px; }
.banner-compact .banner-dots{ bottom: clamp(30px, 5vh, 54px); }

@media (max-width: 640px){
  .banner{ min-height: 78vh; }
  .banner-dots{ bottom: 22px; }
}


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

.page{
  flex: 1 0 auto;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 40px);
}

section{ padding: clamp(48px, 8vh, 82px) 0; }
section + section{ border-top: 1px solid var(--line-soft); }

body.has-banner .page > section:first-of-type{
  padding-top: clamp(44px, 7vh, 78px);
}

.section-eyebrow{
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 8px;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green);
}
.section-eyebrow::before{
  content: "";
  width: 26px; height: 1px;
  background: var(--green);
}
.section-title{
  margin: 0 0 22px;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.4vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -.01em;
}


/* ---------- Buttons ---------- */

.btn{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 20px;
  font-family: inherit;
  font-size: .93rem;
  font-weight: 500;
  color: #0e1013;
  background: var(--green);
  border: 1px solid var(--green);
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s, border-color .2s;
}
.btn:hover{
  background: #62dc8b;
  border-color: #62dc8b;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -10px var(--green-glow);
}
.btn:active{ transform: translateY(0); }

.btn-ghost{
  color: var(--text);
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover{
  background: var(--bg-soft-2);
  border-color: var(--green);
  color: var(--text);
  box-shadow: none;
}


/* ---------- Karten ---------- */

.card-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.split-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 18px;
}

.card{
  position: relative;
  display: block;
  padding: 24px 22px;
  background: var(--bg-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s, background .3s;
}
.card::before{
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.card:hover{
  transform: translateY(-4px);
  border-color: var(--line);
  background: var(--bg-soft-2);
}
.card:hover::before{ transform: scaleX(1); }
.card-static:hover{ transform: none; }

.card h3, .card-heading{
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 500;
  color: var(--text);
}
.card p{ margin: 0; color: var(--text-dim); font-size: .94rem; }
.card .btn{ margin-top: 16px; }

.platform-list{
  list-style: none;
  margin: 12px 0 0; padding: 0;
  color: var(--text-dim);
  font-size: .94rem;
}
.platform-list li{
  display: flex; align-items: center; gap: 10px;
  padding: 7px 0;
  border-bottom: 1px solid var(--line-soft);
}
.platform-list li:last-child{ border-bottom: none; }
.platform-tag{
  display: inline-block;
  min-width: 72px;
  padding: 3px 9px;
  font-size: .78rem;
  font-weight: 500;
  text-align: center;
  color: var(--green);
  background: var(--green-tint);
  border: 1px solid rgba(79,208,122,.3);
  border-radius: 100px;
}
.platform-tag.pending{
  color: var(--text-dim);
  background: rgba(255,255,255,.04);
  border-color: var(--line);
}

.copyable{ cursor: pointer; }


/* ---------- Reveal ---------- */

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

@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal{ opacity: 1; transform: none; }
}


/* ---------- Rechtstexte ---------- */

.legal{ max-width: 780px; }
.legal h1{
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.2vw, 2rem);
  font-weight: 700;
}
.legal h2{
  margin: 28px 0 8px;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 500;
}
.legal h3{
  margin: 20px 0 6px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
}
.legal p, .legal li{ color: var(--text-dim); font-size: .94rem; }
.legal ul{ padding-left: 20px; }
.legal li{ margin-bottom: 8px; }
.legal a{ color: var(--green); word-break: break-word; }
.legal a:hover{ text-decoration: underline; }
.legal strong{ color: var(--text); font-weight: 500; }
.legal .placeholder{
  padding: 12px 14px;
  background: var(--bg-soft);
  border-left: 2px solid var(--green-dark);
  border-radius: var(--radius);
}

.legal ul.index{
  list-style: none;
  margin: 14px 0 28px;
  padding: 18px 20px;
  background: var(--bg-soft);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  columns: 2;
  column-gap: 28px;
}
.legal ul.index li{ margin-bottom: 6px; break-inside: avoid; }
.legal .index-link{ font-size: .9rem; }

.legal ul.glossary li{ margin-bottom: 14px; }

.legal .seal{
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  font-size: .82rem;
}

@media (max-width: 700px){
  .legal ul.index{ columns: 1; }
}


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

.site-footer{
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 24px 20px;
  text-align: center;
  font-size: .85rem;
  color: var(--text-dim);
  background: #15181b;
  border-top: 1px solid var(--line-soft);
}
.footer-legal{ display: flex; align-items: center; gap: 9px; }
.footer-legal a:hover{ color: var(--green); }
.footer-brand{ color: var(--text-dim); }
