/* Photo-led layout for landing.html, loaded after landing-calm.css.
   Full-bleed hero photo, a narrower reading column, filled cards, a photo/text
   split for the rules and a closing banner on a photo. */

.tqs-public {
  --photo-accent: #ab93f9;
  --photo-card: color-mix(in srgb, var(--bg-tertiary) 88%, var(--text-primary) 3%);
}
body.light-mode.tqs-public { --photo-accent: #6d3fd8; }

body.tqs-public { background: var(--bg-primary); }
.tqs-public .nav-wrap { background: transparent; }
#bg-canvas, .mesh { display: none; }

.tqs-public .container { width: min(1280px, calc(100% - 32px)); }
.tqs-public section { padding: 72px 0; }

/* ---------- Small labels above headings ---------- */
.section-kicker,
.hero-kicker {
  display: block;
  margin-bottom: 10px;
  font: 800 .72rem/1.2 'Manrope', system-ui, sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--photo-accent);
  background: none;
  border: 0;
  padding: 0;
}
.section-head { margin-bottom: 28px; }

/* ---------- Hero on a full-width photo ---------- */
.tqs-public .hero.hero-photo {
  position: relative;
  margin-top: -96px;
  padding: 190px 0 110px;
  min-height: 0;
  overflow: hidden;
  isolation: isolate;
  background: #14112a;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 9, 22, .88) 0%, rgba(10, 9, 22, .62) 45%, rgba(10, 9, 22, .2) 100%),
    linear-gradient(180deg, rgba(10, 9, 22, .45) 0%, transparent 30%, transparent 70%, var(--bg-primary) 100%);
}
.hero-photo .hero-inner { max-width: 560px; text-align: left; }
.hero-photo .hero-kicker { color: #d6c9ff; }
.hero-photo .hero-title,
body.light-mode .hero-photo .hero-title {
  color: #fff;
  font-size: clamp(2.3rem, 5.2vw, 3.7rem);
  line-height: 1.05;
  margin: 0 0 18px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .35);
}
.hero-photo .hero-sub,
body.light-mode .hero-photo .hero-sub {
  color: rgba(255, 255, 255, .86);
  font-size: 1.08rem;
  max-width: 46ch;
  margin: 0 0 26px;
}
.hero-photo .hero-actions { justify-content: flex-start; }
.btn-ghost {
  color: #fff;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .35);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .18); }
.hero-photo .hero-live-stats { justify-content: flex-start; color: rgba(255, 255, 255, .85); }

/* ---------- Filled cards ---------- */
.functions-grid { gap: 14px; }
.functions-grid .lp-card,
.values-stack .value-card {
  background: var(--photo-card);
  border: 1px solid var(--calm-line);
  border-radius: 14px;
  padding: 20px 20px 18px;
}
.functions-grid .lp-card h3 { font-size: 1.02rem; margin: 0 0 6px; }
.functions-grid .lp-card p,
.value-card p { font-size: .93rem; margin: 0; color: var(--text-secondary); }

/* ---------- Numbered steps ---------- */
.together-steps { gap: 28px; }
.together-steps .lp-card {
  border: 0;
  padding: 0;
  overflow: visible;
}
.together-steps .lp-card::before {
  counter-increment: step;
  content: counter(step);
  position: static;
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-bottom: 14px;
  border-radius: 8px;
  background: var(--photo-card);
  border: 1px solid var(--calm-line);
  font: 800 .85rem/1 'Manrope', system-ui, sans-serif;
  color: var(--photo-accent);
}
.together-steps .lp-card h3 { font-size: 1.02rem; margin: 0 0 6px; }
.together-steps .lp-card p { font-size: .93rem; color: var(--text-secondary); margin: 0; }

/* ---------- Rules: photo left, list right ---------- */
.trust-split {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: center;
}
.trust-split .trust-photo {
  margin: 0;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
}
.trust-split .trust-photo img { width: 100%; height: 100%; object-fit: cover; }
.trust-rules { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.trust-rules li {
  padding-left: 16px;
  border-left: 2px solid var(--photo-accent);
}
.trust-rules strong { display: block; font-size: 1rem; margin-bottom: 4px; }
.trust-rules p { margin: 0; font-size: .93rem; color: var(--text-secondary); }
.trust-more { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 24px; }
.trust-more a { color: var(--photo-accent); font-weight: 700; text-decoration: none; }
.trust-more a::after { content: " →"; }
.trust-more a:hover { text-decoration: underline; }

/* ---------- Closing banner on a photo ---------- */
#discord { padding: 40px 0 88px; }
.tqs-public .discord-banner {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 72px 24px;
  border: 0;
  border-radius: 18px;
  background: #1a1530;
  text-align: center;
}
.discord-banner .banner-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.discord-banner::before {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  border-radius: 0;
  z-index: 1;
  background: rgba(12, 10, 26, .68);
}
.discord-banner h2,
body.light-mode .discord-banner h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin: 0 0 10px; }
.discord-banner p,
body.light-mode .discord-banner p { color: rgba(255, 255, 255, .85); margin: 0 0 22px; }

/* The big Discord button lost its base styles with the old landing CSS:
   it showed as underlined text with a thin highlight. */
.discord-banner .btn-discord-large {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 999px;
  font-size: 1.02rem;
  line-height: 1.2;
  text-decoration: none;
  color: #fff;
  max-width: 100%;
}
.discord-banner .btn-discord-large:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media (max-width: 560px) {
  .discord-banner .banner-socials > span { flex-basis: 100%; text-align: center; }
  .discord-banner .btn-discord-large { padding: 13px 22px; font-size: .95rem; }
}

/* ---------- Footer in columns ---------- */
.site-footer {
  position: relative;
  z-index: 1;
  padding: 48px 0 28px;
  border-top: 1px solid var(--calm-line);
  color: var(--text-tertiary);
  font-size: .9rem;
  text-align: left;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
}
.footer-brand strong { color: var(--text-primary); font-size: 1.05rem; }
.footer-brand p { margin: 8px 0 0; max-width: 34ch; }
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-head {
  margin-bottom: 4px;
  font: 800 .72rem/1.2 'Manrope', system-ui, sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.site-footer a { color: var(--text-tertiary); text-decoration: none; }
.site-footer a:hover { color: var(--text-primary); text-decoration: none; }
.footer-bottom {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid var(--calm-line);
  font-size: .82rem;
}

/* ---------- Small screens ---------- */
@media (max-width: 820px) {
  .tqs-public section { padding: 56px 0; }
  .tqs-public .hero.hero-photo { padding: 150px 0 80px; }
  .hero-bg::after {
    background:
      linear-gradient(180deg, rgba(10, 9, 22, .55) 0%, rgba(10, 9, 22, .72) 60%, var(--bg-primary) 100%);
  }
  .trust-split { grid-template-columns: 1fr; gap: 24px; }
  .trust-split .trust-photo { aspect-ratio: 16 / 10; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
.discord-banner > :not(.banner-bg) { position: relative; z-index: 2; }

/* ---------- Photo cards under "Über uns" ---------- */
.photo-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 36px;
}
.photo-card {
  overflow: hidden;
  border: 1px solid var(--calm-line);
  border-radius: 14px;
  background: var(--photo-card);
}
.photo-card-img {
  aspect-ratio: 9 / 7;
  background: color-mix(in srgb, var(--photo-accent) 18%, var(--bg-tertiary));
}
.photo-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-card-body { padding: 14px 16px 16px; }
.photo-card-body strong { display: block; font-size: 1rem; margin-bottom: 4px; }
.photo-card-body p { margin: 0; font-size: .92rem; color: var(--text-secondary); }

.trust-split .trust-photo video { width: 100%; height: 100%; object-fit: cover; display: block; }
.trust-split .trust-photo { aspect-ratio: 4 / 5; max-height: 560px; }

@media (max-width: 820px) {
  .photo-cards { grid-template-columns: 1fr; }
  .trust-split .trust-photo { aspect-ratio: 4 / 5; max-height: 460px; }
}
.about-flow { grid-template-columns: 1fr; max-width: 900px; }

/* ---------- FAQ uses the full content width ---------- */
.faq-list { max-width: none; margin-inline: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
@media (max-width: 820px) { .faq-list { grid-template-columns: 1fr; } }

/* ---------- Centered hero ---------- */
.hero-photo .hero-inner { max-width: 760px; margin-inline: auto; text-align: center; }
.hero-photo .hero-sub,
body.light-mode .hero-photo .hero-sub { margin-inline: auto; }
.hero-photo .hero-actions,
.hero-photo .hero-live-stats { justify-content: center; }
.hero-photo .hero-bg::after {
  background:
    radial-gradient(ellipse 70% 80% at 50% 50%, rgba(10, 9, 22, .72) 0%, rgba(10, 9, 22, .5) 60%, rgba(10, 9, 22, .32) 100%),
    linear-gradient(180deg, rgba(10, 9, 22, .45) 0%, transparent 30%, transparent 70%, var(--bg-primary) 100%);
}
