/* BASED Startseite 0.23.0. Tokens und Kopf stehen in based.css. */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--bs-ink); }
.hero-photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--bs-ink) 0, rgba(10, 9, 25, .88) 28%, rgba(10, 9, 25, .2) 56%, rgba(10, 9, 25, 0) 100%), linear-gradient(0deg, var(--bs-ink) 0, rgba(10, 9, 25, 0) 18%); }
.hero-inner { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 24px; min-height: min(calc(100vh - var(--bs-head) - 3px), 760px); padding-block: 56px 72px; }
.hero-logo { width: 300px; height: auto; margin-left: -3px; }
.hero h1 { max-width: 11ch; }
.hero-lead { max-width: 46ch; color: var(--bs-text); font-size: 1.1875rem; line-height: 1.55; }
.hero-actions { display: grid; gap: 14px; width: min(100%, 540px); }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; list-style: none; }
.facts li { display: grid; gap: 2px; padding: 24px 24px 24px 20px; border-left: 3px solid var(--bs-violet-soft); }
.facts li:nth-child(2) { border-left-color: var(--bs-blue); }
.facts li:nth-child(3) { border-left-color: var(--bs-gold); }
.facts li:nth-child(4) { border-left-color: var(--bs-teal); }
.facts b { color: var(--bs-text); font: 700 1.375rem/1.2 var(--bs-font-display); }
.facts span { color: var(--bs-text-2); font-size: 15px; line-height: 1.4; }

.band { position: relative; isolation: isolate; overflow: hidden; display: grid; align-content: end; min-height: 560px; background: var(--bs-panel); }
.band-photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 9, 25, 0) 40%, rgba(10, 9, 25, .92) 100%); }
.band-text { padding-block: 40px; }
.band-text h2 { margin-bottom: 10px; }
.band-text p { max-width: 58ch; color: var(--bs-text); }

.section { padding-block: var(--bs-section); }
.section-rule { border-top: 1px solid var(--bs-line); }
.section-title { margin-bottom: 40px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 0; list-style: none; }
.steps li { padding: 4px 32px; border-left: 1px solid var(--bs-line); }
.steps li:first-child { padding-left: 0; border-left: 0; }
.step-no { display: block; margin-bottom: 14px; color: var(--bs-teal); font: 600 1.5rem/1 var(--bs-font-mono); }
.steps p { margin-top: 8px; }

.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile { display: grid; grid-template-columns: 64px 1fr; gap: 4px 20px; padding: 24px; background: var(--bs-panel); border: 1px solid var(--bs-line); border-radius: var(--bs-r-m); text-decoration: none; }
.tile[hidden] { display: none; }
.tile:hover { border-color: var(--bs-teal); }
.tile img { grid-row: span 2; width: 64px; height: 64px; image-rendering: pixelated; }
.tile h3 { align-self: end; }
.tile p { font-size: 15px; line-height: 1.5; }

.split { display: grid; grid-template-columns: 7fr 5fr; gap: 56px; align-items: center; }
.split-flip { grid-template-columns: 5fr 7fr; }
.split figure { margin: 0; overflow: hidden; border: 1px solid var(--bs-line); border-radius: var(--bs-r-m); }
.split figure img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.split h2 { margin-bottom: 16px; }
.split p + p { margin-top: 12px; }
.split .bs-link { display: inline-block; margin-top: 24px; }

.crates-head { display: grid; grid-template-columns: 5fr 7fr; gap: 16px 56px; align-items: start; margin-bottom: 40px; }
.crates-head .bs-link { display: inline-block; margin-top: 16px; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border: 1px solid var(--bs-line); border-radius: var(--bs-r-m); }
.gallery figcaption { margin-top: 10px; color: var(--bs-text-2); font-size: 15px; }

.news-list { display: grid; }
.news-list .release-preview { padding: 20px 0; border-top: 1px solid var(--bs-line); }
.news-list .release-preview:last-child { border-bottom: 1px solid var(--bs-line); }
.news-list .release-preview h3 { margin-bottom: 4px; }
.news-list .release-preview a { color: var(--bs-text); }
.news-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 24px; }

.faq { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; }
.faq details { border-top: 1px solid var(--bs-line); }
.faq details:last-child { border-bottom: 1px solid var(--bs-line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding: 14px 0; color: var(--bs-text); font-weight: 600; font-size: 1.0625rem; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; color: var(--bs-teal); font: 600 1.375rem/1 var(--bs-font-mono); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 32px 20px 0; }
.faq a { color: var(--bs-text); }

.cta { background: var(--bs-violet-edge); color: #E9E4FF; }
.cta-inner { display: grid; grid-template-columns: 1fr minmax(0, 540px); gap: 32px 56px; align-items: center; padding-block: 64px; }
.cta p { margin-top: 10px; max-width: 42ch; }
.cta .bs-join { background: var(--bs-ink); border-color: var(--bs-violet-lit); }
.cta .bs-copy-note { margin-top: 8px; }

@media (max-width: 860px) {
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .split, .split-flip, .faq, .cta-inner, .crates-head { grid-template-columns: 1fr; gap: 32px; }
  .crates-head { gap: 12px; margin-bottom: 28px; }
  .split-flip figure { order: -1; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery figure:last-child { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .hero-photo { height: 290px; object-position: 62% 50%; }
  .hero::after { background: linear-gradient(180deg, rgba(10, 9, 25, .05) 0, rgba(10, 9, 25, .15) 110px, var(--bs-ink) 290px); }
  .hero-inner { min-height: 0; padding-block: 172px 44px; gap: 18px; }
  .hero-logo { display: none; }
  .hero-lead { font-size: 1.0625rem; }
  .facts li { padding: 16px 8px 16px 12px; }
  .facts b { font-size: 1.125rem; }
  .facts span { font-size: 14px; }
  .band { min-height: 420px; }
  .band::after { background: linear-gradient(180deg, rgba(10, 9, 25, 0) 30%, rgba(10, 9, 25, .78) 58%, rgba(10, 9, 25, .96) 100%); }
  .band-text { padding-block: 24px; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .steps li, .steps li:first-child { padding: 0 0 0 16px; border-left: 2px solid var(--bs-line); }
  .tiles { grid-template-columns: 1fr; gap: 12px; }
  .tile { padding: 16px; grid-template-columns: 48px 1fr; gap: 2px 16px; }
  .tile img { width: 48px; height: 48px; }
  .section-title { margin-bottom: 28px; }
  .gallery { grid-template-columns: 1fr; }
  .cta-inner { padding-block: 48px; }
}

/* Hilfe und Regeln */
.help-top { padding-bottom: 72px; }
.help-split { align-items: start; }
.help-split figure { order: 1; }
.help-top .bs-page-intro { margin-bottom: 32px; }
.steps-long li { align-self: start; }
.steps-long p { font-size: 15px; }
.steps-long .bs-link { display: block; width: fit-content; margin-top: 10px; }
