/* styles.css */
:root{
  --bg:#050608;
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.62);

  --mx: 50vw;
  --my: 35vh;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color:var(--text);
  background:var(--bg);
  overflow-x:hidden;
}

a{ color: inherit; text-decoration: none; }

/* ================= BG ================= */

.bg{
  position:fixed;
  inset:0;
  z-index:-1;
  background:var(--bg);
}

.dotgrid{
  position:absolute;
  inset:0;
  background: radial-gradient(circle, rgba(255,255,255,.22) 1px, transparent 1.5px);
  background-size:18px 18px;
  opacity:.9;
}

.spotlight{
  position:absolute;
  inset:0;
  pointer-events:none;
  background: radial-gradient(420px 420px at var(--mx) var(--my),
    rgba(255,255,255,.14),
    rgba(255,255,255,.05) 35%,
    rgba(0,0,0,0) 65%);
  mix-blend-mode:screen;
  filter:blur(2px);
}

.vignette{
  position:absolute;
  inset:-20%;
  pointer-events:none;
  background: radial-gradient(circle at 50% 55%,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,.50) 55%,
    rgba(0,0,0,.88) 80%);
}

.grain{
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:.20;
  mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
}

/* ================= NAVBAR ================= */

.topbar{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  padding: 18px 16px;
  background: rgba(10,12,16,.55);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.topbarInner{
  max-width:1100px;
  margin:0 auto;
  display:flex;
  justify-content:center;
}

.nav{
  width:min(980px,100%);
  padding:10px;
  border-radius:24px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(10,12,16,.55);
  backdrop-filter:blur(14px);
  display:flex;
  justify-content:center;
  box-shadow: 0 18px 60px rgba(0,0,0,.45);
}

.navLink{
  color:var(--muted);
  font-weight:1000;
  font-size:14px;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid transparent;
}

.navLink:hover{
  color:var(--text);
  border-color:rgba(255,255,255,.12);
  background:rgba(255,255,255,.04);
}

.navLink.active{
  color:var(--text);
  background:rgba(255,255,255,.06);
  border-color:rgba(255,255,255,.18);
}

/* ================= LAYOUT ================= */

.wrap{
  max-width:1100px;
  margin:0 auto;
  padding:140px 18px 90px; /* war 90px oben */
  min-height:calc(100vh - 86px);
}


/* ================= HERO ================= */

.hero{
  display:flex;
  justify-content:center;
  text-align:center;
  margin-bottom: 30px;
}

.heroTitle{
  margin:0;
  line-height:1.35;
  padding:0;
  font-weight:1000;
  letter-spacing:-1.2px;
  font-size:clamp(46px,6vw,90px);
}

/* Gradient Text + text-clipped shine */
.gradText{
  display:inline-block;

  background:
    linear-gradient(180deg,
      rgba(255,255,255,0.95) 0%,
      rgba(255,255,255,0.72) 45%,
      rgba(255,255,255,0.92) 100%),

    linear-gradient(110deg,
      transparent 45%,
      rgba(255,255,255,.30) 50%,
      transparent 55%);

  background-size:100% 100%, 220% 100%;
  background-position:0 0, -140% 0;

  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;

  text-shadow:
    0 2px 0 rgba(255,255,255,.05),
    0 18px 40px rgba(0,0,0,.65);

  animation:textShine 4s ease-in-out infinite;
}

@keyframes textShine{
  0%,55%  { background-position:0 0, -140% 0; }
  85%     { background-position:0 0, 140% 0; }
  100%    { background-position:0 0, 140% 0; }
}

@media (prefers-reduced-motion: reduce){
  .gradText{ animation:none; }
}

/* ================= ABOUT (new clean design) ================= */

.about{
  margin-top: 10px;
}

.aboutGrid{
  display:grid;
  grid-template-columns: 1.25fr .9fr;
  gap:18px;
  align-items:stretch;
}

.aboutMedia{
  position:relative;
  border-radius:22px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(10,12,16,.35);
  box-shadow:0 24px 80px rgba(0,0,0,.55);
  min-height:320px;
}

.aboutMedia img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  transform:scale(1.01);
}

.aboutOverlay{
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(70% 60% at 70% 30%, rgba(255,255,255,.10), transparent 55%),
    linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.55));
}

/* Right card */
.aboutInfo{
  border-radius:22px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(10,12,16,.38);
  backdrop-filter:blur(16px);
  padding:22px;
  box-shadow:0 24px 80px rgba(0,0,0,.45);
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap:18px;
}

.aboutHeader{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.pill{
  display:inline-flex;
  width:fit-content;
  padding:7px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.04);
  color:rgba(255,255,255,.78);
  font-weight:900;
  font-size:12px;
}

.aboutTitle{
  margin:0;
  font-size:26px;
  letter-spacing:-.9px;
  line-height:1.1;
}

.aboutText{
  margin:0;
  color:rgba(255,255,255,.72);
  font-size:14px;
  line-height:1.7;
  max-width:56ch;
}

.aboutChips{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.chip{
  display:inline-flex;
  align-items:center;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.03);
  color:rgba(255,255,255,.80);
  font-weight:800;
  font-size:12px;
}

/* responsive */
@media (max-width: 900px){
  .aboutGrid{ grid-template-columns: 1fr; }
  .aboutMedia{ min-height: 260px; }
}

/* ================= SECTIONS / TEXTCARDS (wie alt) ================= */

.section{ padding: 26px 0 6px; }
.sectionHead{ margin-bottom: 12px; }

.h2{
  margin: 0 0 6px;
  font-size: 26px;
  letter-spacing: -.4px;
}

.p{
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

/* card base (nur falls du es noch nicht hast) */
.card{
  position: relative;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(10,12,16,.55);
  backdrop-filter: blur(14px);
  padding: 16px;
  box-shadow: 0 18px 50px rgba(0,0,0,.35);
}

.card.wide{ padding: 18px; }

.wideTop{ display:flex; align-items:center; gap:10px; }
.cardIcon{ font-size: 20px; }
.cardTitle{ margin: 0; font-size: 18px; }

.textCard{ padding-bottom: 20px; }

.longText{
  margin: 12px 0 0;
  color: rgba(255,255,255,.72);
  line-height: 1.70;
  font-size: 15px;
  white-space: pre-line; /* genau der vibe */
}


/* Ziele + Vision: BorderBeam aktivieren (wie Links) */
#ziele .card.wide,
#visionen .card.wide{
  overflow: hidden;
}

/* Grün für Ziele/Vision */
.borderBeam--green{
  --color-from: transparent;
  --color-to: #d759d7;
  --duration: 9;
  --delay: .15s;
}


/* ===== BASE BORDER BEAM (wie Links) ===== */
.borderBeam{
  pointer-events:none;
  position:absolute;
  inset:0;
  border-radius:inherit;

  --size: 240;
  --duration: 9;
  --anchor: 90;
  --border-width: 1.5;

  border: calc(var(--border-width) * 1px) solid transparent;
  padding: calc(var(--border-width) * 1px);

  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
}

.borderBeam::after{
  content:"";
  position:absolute;
  width:240px;
  aspect-ratio:1/1;
  top:0;
  left:0;
  pointer-events:none;

  background:linear-gradient(
    to left,
    transparent,
    var(--color-to),
    transparent
  );

  offset-anchor: 90% 50%;
  offset-path: rect(0 auto auto 0 round 240px);

  animation: border-beam 9s linear infinite;

  filter:
    drop-shadow(0 0 4px color-mix(in srgb, var(--color-to) 80%, transparent))
    drop-shadow(0 0 10px color-mix(in srgb, var(--color-to) 50%, transparent))
    drop-shadow(0 0 22px color-mix(in srgb, var(--color-to) 35%, transparent));
}

@keyframes border-beam{
  to{ offset-distance:100%; }
}

.schedule{
  display:flex;
  gap:16px;
  flex-wrap:wrap;
}

.dayCard{
  flex:1;
  min-width:240px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
  backdrop-filter:blur(16px);
  padding:22px;
  transition:.25s ease;
}

.dayCard:hover{
  border-color:#d759d7;
  box-shadow:
    0 0 20px rgba(215,89,215,.25);
}

.day{
  font-size:14px;
  font-weight:900;
  letter-spacing:.12em;
  color:rgba(255,255,255,.65);
  margin-bottom:8px;
}

.time{
  font-size:28px;
  font-weight:1000;
  letter-spacing:-.5px;
}

.meta{
  margin-top:6px;
  font-size:13px;
  color:rgba(255,255,255,.6);
}

.scheduleNote{
  margin-top:14px;
  font-size:14px;
  color:rgba(255,255,255,.6);
}

.contactCard{
  border-radius:22px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(10,12,16,.45);
  backdrop-filter:blur(16px);
  padding:26px;
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:24px;
  box-shadow:0 24px 80px rgba(0,0,0,.45);
}

.contactTitle{
  margin:0 0 10px;
  font-size:22px;
  letter-spacing:-.5px;
}

.contactText{
  margin:0;
  color:rgba(255,255,255,.72);
  line-height:1.7;
  font-size:15px;
  max-width:50ch;
}

.contactRight{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.contactAction{
  border-radius:16px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.03);
  padding:16px;
  transition:.25s ease;
  cursor:pointer;
}

.contactAction:hover{
  border-color:#d759d7;
  box-shadow:0 0 20px rgba(215,89,215,.25);
  background:rgba(255,255,255,.05);
}

.actionTitle{
  font-weight:1000;
  font-size:15px;
}

.actionMeta{
  margin-top:4px;
  font-size:13px;
  color:rgba(255,255,255,.65);
}

@media (max-width:900px){
  .contactCard{
    grid-template-columns:1fr;
  }
}

.faq{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.faqItem{
  border-radius:18px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.03);
  backdrop-filter:blur(16px);
  padding:16px 18px;
  transition:.25s ease;
}

.faqItem[open]{
  border-color:#d759d7;
  box-shadow:0 0 20px rgba(215,89,215,.18);
  background:rgba(255,255,255,.05);
}

.faqItem summary{
  cursor:pointer;
  font-weight:900;
  font-size:15px;
  list-style:none;
}

.faqItem summary::-webkit-details-marker{
  display:none;
}

.faqItem p{
  margin:10px 0 0;
  color:rgba(255,255,255,.72);
  font-size:14px;
  line-height:1.6;
}


/* ===== LINKS GRID ===== */
.grid3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
}

@media (max-width: 980px){
  .grid3{ grid-template-columns:1fr; }
}

/* ===== LINK CARDS ===== */
.linkCard{
  display:block;
  text-decoration:none;
  color:inherit;
  overflow:hidden;
  cursor:pointer;
  transform-style:preserve-3d;
  transition:.35s ease;
  position:relative;
}

.linkCard:hover{
  border-color:rgba(255,255,255,.22);
  background:rgba(255,255,255,.06);
  box-shadow:0 30px 80px rgba(0,0,0,.55);
}

.linkCard::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  background:radial-gradient(420px circle at var(--px,50%) var(--py,50%), rgba(255,255,255,.12), transparent 42%);
  opacity:0;
  transition:.35s ease;
  pointer-events:none;
}

.linkCard:hover::after{opacity:1}

/* ===== BORDER BEAM (ORIGINAL SYSTEM) ===== */

.borderBeam{
  pointer-events:none;
  position:absolute;
  inset:0;
  border-radius:inherit;

  --size:240;
  --duration:9;
  --anchor:90;
  --border-width:1.5;

  border:calc(var(--border-width)*1px) solid transparent;
  padding:calc(var(--border-width)*1px);

  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;
          mask-composite:exclude;
}

.borderBeam::after{
  content:"";
  position:absolute;
  width:240px;
  aspect-ratio:1/1;
  top:0;
  left:0;

  background:linear-gradient(
    to left,
    transparent,
    var(--color-to),
    transparent
  );

  offset-anchor:90% 50%;
  offset-path:rect(0 auto auto 0 round 240px);
  animation:border-beam 9s linear infinite;

  filter:
    drop-shadow(0 0 4px color-mix(in srgb, var(--color-to) 80%, transparent))
    drop-shadow(0 0 10px color-mix(in srgb, var(--color-to) 50%, transparent))
    drop-shadow(0 0 22px color-mix(in srgb, var(--color-to) 35%, transparent));
}

@keyframes border-beam{
  to{ offset-distance:100%; }
}

/* BRAND COLORS */
.linkCard.twitch .borderBeam{ --color-to:#9146FF; }
.linkCard.youtube .borderBeam{ --color-to:#FF0033; }
.linkCard.tiktok .borderBeam{ --color-from:#25F4EE; --color-to:#FE2C55; }
.linkCard.instagram .borderBeam{ --color-from:#F58529; --color-to:#DD2A7B; }
.linkCard.discord .borderBeam{ --color-to:#7785cc; }

