/* =========================================================
   GFC – Sections (Tokenomics, Info-Grids, Roadmap, Transparenz)
   Vollständig überarbeitet: 100% Dark Mode, Soft-Glass, GFC-Stil
   ========================================================= */


/* =========================================================
   GLOBAL SECTION WRAPPER
   ========================================================= */
.section {
  padding: 48px 0;
  color: var(--sec-ink);
  background: transparent;
}

.section-title {
  margin-bottom: 16px;
  font-size: clamp(22px, 4vw, 28px);
  font-weight: 800;
  letter-spacing: -0.01em;
}

/* Lesbarkeit für Fließtext */
.section p {
  max-width: 72ch;
}

/* =========================================================
   CTA-ROW
   ========================================================= */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}

/* =========================================================
   TILE / CARD BASISSTIL (Soft Glass Dark)
   ========================================================= */
.tile,
.info,
.card,
.rm-body,
.embed-placeholder,
details,
.note {
  background: var(--sec-surface);
  border: 1px solid var(--sec-border);
  border-radius: var(--sec-radius);
  box-shadow: var(--sec-shadow);
  backdrop-filter: blur(18px);
}

/* =========================================================
   TOKENOMICS GRID
   ========================================================= */
.tokenomics-grid {
  display: grid;
  gap: 16px;
  margin: 24px 0;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.tile {
  padding: 18px;
}

.tile h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
  color: var(--sec-accent);
}

/* =========================================================
   INFO-GRID
   ========================================================= */
.info-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 18px;
}

.info {
  padding: 16px;
}

.info h3 {
  color: var(--sec-accent);
  margin-bottom: 6px;
}

/* =========================================================
   CHECKLIST & STEPS
   ========================================================= */
.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
}

.checklist li {
  position: relative;
  padding-left: 28px;
  margin: 10px 0;
}

.checklist li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0.1em;
  color: var(--sec-accent-positive, #2ecf8f);
  font-weight: 700;
}

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step;
}

.steps li {
  padding-left: 34px;
  margin: 10px 0;
  position: relative;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--sec-surface-soft);
  border: 1px solid var(--sec-border);
  color: var(--sec-accent);
  font-weight: 700;
}

/* =========================================================
   ROADMAP
   ========================================================= */
.roadmap {
  display: grid;
  gap: 18px;
  max-width: 1100px;
  margin: 32px auto 0;
  margin-left: -0px;   /* <<< verschiebt ALLES nach links */
}


.rm-item {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 24px;
  align-items: flex-start;
}


.rm-time {
  position: relative;
  padding-left: 14px;
  font-weight: 700;
  color: var(--sec-accent);
  background: none;
  border: 0;
}
.rm-time::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sec-accent);
}


.rm-body {
  padding: 14px;
}

/* MOBILE FIX für Roadmap */
@media (max-width: 560px) {
  .rm-item {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   EMBED PLACEHOLDER
   ========================================================= */
.embed-placeholder {
  display: grid;
  place-items: center;
  height: 220px;
  border: 2px dashed var(--sec-accent);
  padding: 12px;
  color: var(--sec-muted);
}

/* =========================================================
   HIGHLIGHT SECTION
   ========================================================= */
.section.highlight {
  border-top: 1px solid var(--sec-border);
  border-bottom: 1px solid var(--sec-border);
  padding: 36px 0;
}

/* =========================================================
   CARDS (Transparenz / Wallets / Contracts)
   ========================================================= */
.cards-columns {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}

@media (min-width: 960px) {
  .cards-columns {
    grid-template-columns: 1fr 1fr;
  }
}

.cards-list {
  display: grid;
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.card {
  padding: 0;
  display: grid;
}

.card-header,
.card-body,
.card-actions {
  padding: 14px;
}

.card-header {
  border-bottom: 1px solid var(--sec-border);
}

.card-actions {
  border-top: 1px solid var(--sec-border);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* =========================================================
   ADDRESS LINKS
   ========================================================= */
.addr-link {
  color: var(--sec-accent);
  text-decoration: none;
  word-break: break-all;
}

.addr-link:hover,
.addr-link:focus-visible {
  text-decoration: underline;
}

/* =========================================================
   NOTE BOX
   ========================================================= */
.note {
  padding: 12px 14px;
  border-radius: var(--sec-radius);
  color: var(--sec-ink);
  border: 1px dashed var(--sec-border);
  background: var(--sec-surface);
}

/* =========================================================
   DETAILS (FAQ)
   ========================================================= */
details {
  padding: 12px 14px;
}

details + details {
  margin-top: 8px;
}

summary {
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  outline: none;
}

summary::marker {
  content: "";
}

summary::after {
  content: "▾";
  float: right;
  opacity: 0.7;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

details[open] summary::after {
  transform: rotate(180deg);
  opacity: 1;
}

summary:focus-visible {
  outline: 2px solid var(--sec-accent);
  outline-offset: 2px;
}

/* Kompakte Liste ohne Bullets (für die Contracts) */
.compact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.compact-list li {
  margin: 2px 0; /* optional: etwas Vertical-Spacing */
}


/* =========================================================
   MOBILE (≤900px)
   ========================================================= */
@media (max-width: 900px) {
  .tokenomics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .cta-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }
}

/* =========================================================
   TRANSPARENCY MAIN WRAPPER
   (ID-Fix: sowohl #transparenz als auch #transparency)
   ========================================================= */
#transparenz,
#transparency {
  background: var(--sec-bg-soft);
  color: var(--sec-ink);
}

#transparenz .section-intro,
#transparency .section-intro {
  color: var(--sec-muted);
}

/* =========================================================
   ERROR BANNER
   ========================================================= */
.gfc-error-banner {
  background: var(--sec-error-bg, #ef4444);
  color: var(--sec-error-ink, #ffffff);
  padding: 12px 16px;
  border-radius: var(--sec-radius);
  text-align: center;
  font-size: 0.9375rem;
}

/* =========================================================
   MOBILE-FEINJUSTIERUNG FÜR EINZELNE CARDS (z.B. "Ablauf")
   ========================================================= */
@media (max-width: 600px) {
  /* Leichtes, aber sauberes Seiten-Spacing */
  .section .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  /* Cards (z.B. "Ablauf") mittig ausrichten */
  .section .card {
    margin-left: auto;
    margin-right: auto;
  }

  /* Text in der Card minimal weiter von der linken Kante weg */
  .card-header,
  .card-body,
  .card-actions {
    padding-left: 25px; /* vorher 14px → +4px nur links */
  }
}
