/*
Theme Name: TradeTalxTheme
Theme URI: https://tradetalx.com
Author: Trade Talx
Author URI: https://tradetalx.com
Description: Offizielles Theme für Trade Talx — unabhängige Bewertungen, Analysen und Erfahrungsberichte zur Investmentbank MSB.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tradetalx
*/

/* ===================================================================
   TOKENS
   =================================================================== */

:root {
  --bg: #060807;
  --bg-raised: #0b0f0c;
  --bg-card: #0e1410;
  --bg-card-hover: #121b15;
  --line: #1d2a20;
  --line-soft: #141d17;

  --ink: #e7ece6;
  --ink-dim: #9aab9c;
  --ink-faint: #5c6a5e;

  --green: #72cc3c;
  --green-bright: #97e667;
  --green-dim: #3d6b22;
  --green-glow: rgba(114, 204, 60, 0.35);

  --down: #d4685a;

  --f-display: 'Space Grotesk', 'Inter', -apple-system, sans-serif;
  --f-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --f-mono: 'JetBrains Mono', 'SF Mono', Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(ellipse 900px 600px at 10% -10%, rgba(114, 204, 60, 0.08), transparent 60%),
    radial-gradient(ellipse 700px 500px at 100% 30%, rgba(114, 204, 60, 0.05), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 600;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.01em;
}

p { margin: 0 0 16px; color: var(--ink-dim); }
p:last-child { margin-bottom: 0; }

strong { color: var(--ink); font-weight: 600; }

::selection { background: var(--green-dim); color: var(--ink); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--line); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--green-dim); }

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* ===================================================================
   UTILITY
   =================================================================== */

.wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 10px 2px var(--green-glow);
}

.section {
  padding: 96px 0;
  border-bottom: 1px solid var(--line-soft);
  position: relative;
}

.section-head {
  max-width: 680px;
  margin-bottom: 56px;
}

.section-head h2 { font-size: 34px; line-height: 1.2; }
.section-head p { margin-top: 14px; font-size: 17px; }

.btn {
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border: 1px solid var(--green-dim);
  color: var(--green-bright);
  background: rgba(114, 204, 60, 0.07);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
  cursor: pointer;
}

.btn:hover {
  border-color: var(--green);
  background: rgba(114, 204, 60, 0.14);
  box-shadow: 0 0 24px -4px var(--green-glow);
  transform: translateY(-1px);
}

.btn-arrow { transition: transform 0.2s ease; }
.btn:hover .btn-arrow { transform: translateX(3px); }

.hero-link {
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--ink-dim);
  border-bottom: 1px solid var(--line);
  padding-bottom: 3px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.hero-link:hover { color: var(--green-bright); border-color: var(--green-dim); }

/* ===================================================================
   HEADER
   =================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 8, 7, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo-link { display: flex; align-items: center; gap: 12px; }
.logo-link img { height: 54px; width: auto; }
.logo-text {
  font-family: var(--f-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.main-nav ul {
  display: flex;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  font-size: 14px;
  color: var(--ink-dim);
  position: relative;
  padding-bottom: 4px;
  transition: color 0.2s ease;
}
.main-nav a:hover { color: var(--ink); }
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.main-nav a:hover::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  color: var(--ink);
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

@media (max-width: 720px) {
  .main-nav { position: fixed; top: 80px; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--line); flex-direction: column; padding: 12px 24px 20px; display: none; }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; gap: 18px; }
  .nav-toggle { display: flex; }
}

/* ===================================================================
   TICKER
   =================================================================== */

.ticker {
  background: var(--bg-raised);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  z-index: 2;
}
.ticker-track {
  display: inline-flex;
  align-items: center;
  animation: ticker-scroll 50s linear infinite;
}
.ticker-track span {
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--ink-dim);
  padding: 13px 28px;
  border-right: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.ticker-track span b { color: var(--green-bright); font-weight: 500; }
.ticker-track .tk-up { color: var(--green-bright); }
.ticker-track .tk-down { color: var(--down); }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ===================================================================
   HERO
   =================================================================== */

.hero { padding: 90px 0 80px; position: relative; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  font-size: 38px;
  line-height: 1.22;
  max-width: 660px;
}
.hero h1 em {
  font-style: normal;
  color: var(--green-bright);
  text-shadow: 0 0 24px var(--green-glow);
}

.hero .lede { font-size: 18px; margin-top: 22px; max-width: 540px; color: var(--ink-dim); }

.hero-actions { display: flex; gap: 16px; margin-top: 34px; align-items: center; flex-wrap: wrap; }

.hero-figure {
  position: relative;
  border: 1px solid var(--line);
  overflow: hidden;
}
.hero-figure img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  filter: saturate(1.1) brightness(0.85);
}
.hero-figure::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, var(--bg) 100%);
}
.hero-figure-cap {
  position: absolute;
  bottom: 14px; left: 18px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--green-bright);
  z-index: 2;
}

/* ===================================================================
   REPORT MODULE
   =================================================================== */

.module { display: grid; grid-template-columns: 220px 1fr; gap: 56px; }

.module-rail {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--ink-faint);
  position: sticky;
  top: 112px;
  align-self: start;
}
.module-rail .tag { display: inline-block; color: var(--green); letter-spacing: 0.08em; margin-bottom: 10px; }

.module-body h3 { font-size: 24px; margin-bottom: 16px; margin-top: 40px; }
.module-body h3:first-child { margin-top: 0; }
.module-body p { font-size: 16px; }
.module-body ul { list-style: none; margin: 0 0 20px; padding: 0; }
.module-body ul li { position: relative; padding-left: 22px; margin-bottom: 10px; color: var(--ink-dim); }
.module-body ul li::before { content: '—'; position: absolute; left: 0; color: var(--green-dim); }

/* story figure (in-content image) */
.story-figure {
  position: relative;
  border: 1px solid var(--line);
  margin: 8px 0 36px;
  overflow: hidden;
}
.story-figure img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  filter: saturate(1.05) brightness(0.78);
}
.story-figure::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, var(--bg) 100%);
}
.story-figure figcaption {
  position: absolute;
  bottom: 16px; left: 20px;
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--green-bright);
  z-index: 2;
  letter-spacing: 0.05em;
}

/* ===================================================================
   PROS / CONS — VISUAL BALANCE BLOCK
   =================================================================== */

.split-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 12px;
}

.split-col {
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
}

.split-col::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
}
.split-col.pos::before { background: linear-gradient(90deg, var(--green), transparent); }
.split-col.neg::before { background: linear-gradient(90deg, var(--down), transparent); }

.split-col-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
}

.split-ico {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-mono);
  font-size: 18px;
  flex-shrink: 0;
}
.split-col.pos .split-ico {
  background: rgba(114, 204, 60, 0.12);
  border: 1px solid var(--green-dim);
  color: var(--green-bright);
  box-shadow: 0 0 18px -2px var(--green-glow);
}
.split-col.neg .split-ico {
  background: rgba(212, 104, 90, 0.1);
  border: 1px solid rgba(212, 104, 90, 0.4);
  color: var(--down);
}

.split-col h4 {
  font-family: var(--f-display);
  font-size: 20px;
  font-weight: 600;
  margin: 0;
}
.split-col.pos h4 { color: var(--green-bright); }
.split-col.neg h4 { color: var(--down); }

.split-col .count {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--ink-faint);
  margin-left: auto;
  border: 1px solid var(--line);
  padding: 4px 10px;
  border-radius: 999px;
}

.split-col ul { list-style: none; margin: 0; padding: 0; }

.split-col li {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-dim);
  padding: 16px 0 16px 38px;
  border-bottom: 1px solid var(--line-soft);
  position: relative;
}
.split-col li:last-child { border-bottom: none; padding-bottom: 0; }

.split-col li::before {
  position: absolute;
  left: 0;
  top: 16px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-mono);
  font-size: 12px;
  line-height: 1;
}
.split-col.pos li::before {
  content: '+';
  background: rgba(114, 204, 60, 0.1);
  color: var(--green-bright);
}
.split-col.neg li::before {
  content: '–';
  background: rgba(212, 104, 90, 0.1);
  color: var(--down);
}

/* ===================================================================
   REVIEWS
   =================================================================== */

.reviews-rail {
  display: flex;
  gap: 1px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  background: var(--line);
  border: 1px solid var(--line);
  scrollbar-width: thin;
  cursor: grab;
}
.review-tile {
  scroll-snap-align: start;
  flex: 0 0 320px;
  background: var(--bg-card);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: background 0.2s ease;
}
.review-tile:hover { background: var(--bg-card-hover); }
.review-stars { font-family: var(--f-mono); color: var(--green); font-size: 13px; letter-spacing: 0.08em; margin-bottom: 16px; }
.review-quote { font-size: 15px; color: var(--ink-dim); flex-grow: 1; margin-bottom: 20px; }
.review-byline {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--ink-faint);
  border-top: 1px solid var(--line-soft);
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
}
.review-byline .name { color: var(--green-bright); }
.reviews-nav-hint { font-family: var(--f-mono); font-size: 12px; color: var(--ink-faint); margin-top: 18px; display: flex; align-items: center; gap: 8px; }

/* ===================================================================
   NEWS (external links)
   =================================================================== */

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.news-tile {
  background-color: var(--bg-card);
  background-position: top left;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 180px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.news-tile:hover { transform: translateY(-2px); }
.news-tile .tag {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
}
.news-tile h3 { font-size: 18px; line-height: 1.35; flex-grow: 1; }
.news-tile .src {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--ink-faint);
  border-top: 1px solid var(--line-soft);
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.news-tile .src span:last-child { color: var(--green-bright); }

/* ===================================================================
   FAQ ACCORDION
   =================================================================== */

.faq-list { border-top: 1px solid var(--line); }
.faq-row { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 24px 0;
  display: flex;
  align-items: baseline;
  gap: 20px;
  cursor: pointer;
  color: var(--ink);
}
.faq-q .num { font-family: var(--f-mono); font-size: 13px; color: var(--green-dim); flex: 0 0 32px; }
.faq-q .qtext { font-size: 18px; font-family: var(--f-display); flex: 1; }
.faq-q .chevron { font-family: var(--f-mono); color: var(--ink-faint); transition: transform 0.25s ease; flex: 0 0 16px; text-align: right; }
.faq-row.open .faq-q .chevron { transform: rotate(45deg); color: var(--green); }
.faq-row.open .faq-q .qtext { color: var(--green-bright); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a-inner { padding: 0 0 26px 52px; font-size: 15px; color: var(--ink-dim); max-width: 680px; }
.faq-a-inner ul { margin: 8px 0 0; padding: 0; list-style: none; }
.faq-a-inner li { padding-left: 16px; position: relative; margin-bottom: 6px; }
.faq-a-inner li::before { content: '—'; position: absolute; left: 0; color: var(--green-dim); }

/* ===================================================================
   CONTACT
   =================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.contact-cell { background: var(--bg-card); padding: 32px; }
.contact-cell .label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 14px;
}
.contact-cell .value { font-family: var(--f-mono); font-size: 16px; color: var(--green-bright); word-break: break-word; }
.contact-cell .sub { font-size: 14px; color: var(--ink-dim); margin-top: 10px; }

/* ===================================================================
   FOOTER (minimal — copyright + email only)
   =================================================================== */

.site-footer {
  padding: 48px 0;
  background: var(--bg);
  border-top: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.site-footer .footer-bg {
  position: absolute;
  top: 0; right: 0;
  width: 280px;
  height: 100%;
  object-fit: cover;
  opacity: 0.06;
  filter: grayscale(0.3);
  pointer-events: none;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-logo { display: flex; align-items: center; gap: 10px; }
.footer-logo img { height: 26px; width: auto; }
.footer-logo span { font-family: var(--f-display); font-size: 16px; color: var(--ink); }
.footer-row .copy {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--ink-faint);
}
.footer-row .mail {
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--ink-dim);
  transition: color 0.2s ease;
}
.footer-row .mail:hover { color: var(--green-bright); }

/* ===================================================================
   DISCLAIMER STRIP
   =================================================================== */

.disclaimer-strip { background: var(--bg-raised); border-top: 1px solid var(--line); padding: 28px 0; }
.disclaimer-strip p { font-size: 13px; color: var(--ink-faint); max-width: 880px; margin: 0 0 10px; }

/* ===================================================================
   GENERIC PAGE HERO
   =================================================================== */

.page-hero { padding: 90px 0 40px; }
.page-hero h1 { font-size: 44px; max-width: 760px; }

/* ===================================================================
   RESPONSIVE
   =================================================================== */

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero h1 { font-size: 36px; }
  .module { grid-template-columns: 1fr; gap: 24px; }
  .module-rail { position: static; }
  .split-cols { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .wrap { padding: 0 20px; }
  .section { padding: 64px 0; }
  .hero { padding: 48px 0 40px; }
  .hero h1 { font-size: 28px; }
  .section-head h2 { font-size: 26px; }
  .review-tile { flex: 0 0 270px; }
  .page-hero h1 { font-size: 32px; }
  .footer-row { flex-direction: column; align-items: flex-start; }
}
