/* The Affiliate and Partner Manager – Website/Landing (ergänzt styles.css, gleiche Palette/Fonts). */

/* Zweisprachigkeit: beide Sprachen im DOM, aktive per html[data-lang] eingeblendet (SEO-freundlich) */
.only-en { display: none; }
html[data-lang="en"] .only-de { display: none; }
html[data-lang="en"] .only-en { display: revert; }

.site { max-width: 1080px; margin: 0 auto; padding: 0 18px; }

/* ---- Kopfzeile / Navigation ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(20, 11, 46, .92); backdrop-filter: blur(4px);
  border-bottom: 3px solid var(--gold-dark);
}
.site-header .site { display: flex; align-items: center; gap: 14px; min-height: 60px; flex-wrap: wrap; }
.site-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.site-brand .logo-badge { width: 34px; height: 34px; font-size: 18px; border-width: 2px; }
.site-brand b { font-family: var(--px); font-size: 12px; color: var(--gold-light); letter-spacing: .02em; }
.site-brand .beta-badge { margin-left: 2px; }
.site-nav { display: flex; gap: 4px; margin-left: auto; align-items: center; flex-wrap: wrap; }
.site-nav a {
  color: var(--muted); text-decoration: none; font-weight: 700; font-size: 13px;
  padding: 7px 11px; border: 2px solid transparent;
}
.site-nav a:hover { color: var(--gold-light); }
.site-nav a.active { color: var(--gold-light); border-color: var(--gold-dark); background: var(--card); }
.site-nav .lang-switch { margin-left: 6px; }
.nav-toggle { display: none; background: var(--card2); border: 2px solid var(--gold-dark); color: var(--gold-light); font-size: 18px; padding: 4px 10px; cursor: pointer; }

/* ---- Ticker (nutzt .news-ticker/.ticker-track aus styles.css) ---- */
.site .news-ticker { max-width: none; margin: 0; border-left: 0; border-right: 0; }

/* ---- Hero ---- */
.hero { text-align: center; padding: 48px 0 30px; }
.hero .logo-badge { width: 64px; height: 64px; font-size: 34px; margin: 0 auto 16px; }
.hero h1 { font-family: var(--px); font-size: clamp(18px, 3.6vw, 30px); line-height: 1.35; color: var(--gold-light); text-shadow: var(--shadow); }
.hero .beta-badge { vertical-align: middle; }
.hero .lead { max-width: 720px; margin: 18px auto 0; font-size: 16px; color: var(--text); }
.hero .domain-badge { margin: 14px auto 0; }
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin: 26px 0 8px; }
.btn-xl { font-size: 15px; padding: 14px 26px; }

/* ---- Abschnitte / Karten ---- */
.section { padding: 34px 0; border-top: 2px solid var(--border); }
.section h2 { font-family: var(--px); font-size: 15px; color: var(--gold-light); margin-bottom: 18px; }
.section h3 { color: var(--cyan); font-size: 16px; margin: 16px 0 6px; }
.section p { margin: 8px 0; }
.section a { color: var(--cyan); font-weight: 700; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.panel {
  background: var(--card); border: 3px solid var(--gold-dark); box-shadow: var(--shadow);
  padding: 18px;
}
.panel .ic { font-size: 26px; }
.panel h3 { margin-top: 4px; }

/* Screenshot-Platzhalter */
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.shot {
  aspect-ratio: 16/9; border: 3px solid var(--gold-dark); background:
    repeating-linear-gradient(45deg, #241543, #241543 10px, #2a1a4e 10px, #2a1a4e 20px);
  display: flex; align-items: center; justify-content: center; color: var(--muted);
  font-family: var(--px); font-size: 9px; text-align: center; padding: 10px; box-shadow: var(--shadow);
}
.shot img { width: 100%; height: 100%; object-fit: cover; }

/* Listen / FAQ */
.faq-item { border: 2px solid var(--border); background: var(--card); padding: 14px 16px; margin-bottom: 12px; }
.faq-item h3 { margin: 0 0 6px; color: var(--gold-light); font-size: 15px; }
.news-ul, .links-ul { list-style: none; padding: 0; }
.news-ul li, .links-ul li { padding: 10px 0; border-bottom: 1px dashed var(--border); }
.news-src { color: var(--muted); font-size: 13px; font-weight: 400; }
.news-entry { display: flex; flex-direction: column; gap: 4px; }
.news-entry .news-src { display: block; margin-top: 2px; }
.news-snippet { margin: 2px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; }

/* ---- Fußzeile ---- */
.site-footer { border-top: 3px solid var(--gold-dark); margin-top: 20px; padding: 26px 0; color: var(--muted); font-size: 13px; }
.site-footer .foot-nav { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 10px; }
.site-footer a { color: var(--cyan); font-weight: 700; text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); }

@media (max-width: 760px) {
  .nav-toggle { display: block; margin-left: auto; }
  .site-nav { display: none; flex-direction: column; width: 100%; align-items: flex-start; gap: 2px; }
  .site-nav.open { display: flex; }
  .site-nav .lang-switch { margin: 6px 0 0; }
  .grid3, .shots { grid-template-columns: 1fr; }
  .grid2 { grid-template-columns: 1fr; }
}
