/* Finanziell Frei — Design-System (1:1 aus AppTheme) */

@font-face { font-family: 'DM Sans'; src: url('fonts/DMSans-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url('fonts/DMSans-SemiBold.ttf') format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Syne'; src: url('fonts/Syne-Bold.ttf') format('truetype'); font-weight: 700 800; font-display: swap; }
@font-face { font-family: 'DM Mono'; src: url('fonts/DMMono-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

a {
  color: var(--green);
  text-decoration-color: rgba(29,185,84,0.42);
  text-underline-offset: 3px;
}
a:hover {
  color: var(--text);
  text-decoration-color: rgba(232,234,240,0.55);
}

:root {
  /* Exakte Farben aus AppTheme */
  --bg:        #080B14;
  --surface:   #0F1420;
  --elevated:  #161B2E;
  --border:    #1E2440;

  --primary:   #7C5CE8;   /* purple */
  --gold:      #E8B84B;
  --green:     #1DB954;   /* Spotify-green — primary CTA */
  --red:       #E74C3C;

  --text:      #E8EAF0;
  --text-sec:  #8B92A8;
  --text-muted:#4A5268;

  --radius: 8px;
  --max-w: 1100px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  background:
    linear-gradient(180deg, rgba(124,92,232,0.10) 0, rgba(8,11,20,0) 280px),
    linear-gradient(135deg, rgba(29,185,84,0.06) 0, rgba(8,11,20,0) 34%),
    var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  min-height: 100vh;
}

/* ── NAV ─────────────────────────────── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(8,11,20,0.78);
  backdrop-filter: blur(18px) saturate(135%);
  border-bottom: 1px solid rgba(232,234,240,0.08);
  padding: 0 24px;
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex; align-items: center; gap: 8px;
  height: 60px;
}
.nav-brand {
  font-family: 'Syne', sans-serif;
  font-size: 1rem; font-weight: 800;
  color: var(--text); text-decoration: none;
  letter-spacing: 0; white-space: nowrap;
  margin-right: auto;
  display: inline-flex; align-items: center;
  width: 190px;
  height: 42px;
  max-width: 42vw;
  overflow: hidden;
  flex: 0 0 auto;
}
.nav-brand img {
  display: block;
  width: 190px;
  height: auto;
  max-width: 100%;
  max-height: 42px;
  object-fit: contain;
}
.nav-links { display: flex; gap: 4px; list-style: none; }
.nav-links a {
  color: var(--text-sec); text-decoration: none;
  padding: 6px 12px; border-radius: var(--radius);
  font-size: 0.9rem; transition: color 0.15s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: rgba(232,234,240,0.03);
  color: var(--text);
  border: 1px solid rgba(232,234,240,0.12);
  padding: 7px 16px; border-radius: var(--radius);
  font-size: 0.88rem; font-weight: 600;
  text-decoration: none; transition: border-color 0.15s;
  white-space: nowrap;
}
.nav-cta:hover {
  border-color: rgba(29,185,84,0.55);
  color: var(--text);
  background: rgba(29,185,84,0.08);
}

/* ── HERO PANEL ──────────────────────── */
.hero-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: 0 0 60px 4px rgba(124,92,232,0.10);
  margin: 24px 24px 0;
  max-width: var(--max-w); /* override below */
}

/* ── PAGE WRAPPER ────────────────────── */
.page {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 24px 24px 0;
}

/* ── BADGES ─────────────────────────── */
.badge {
  display: inline-block;
  background: rgba(29,185,84,0.08);
  border: 1px solid rgba(29,185,84,0.25);
  color: var(--green);
  padding: 5px 14px; border-radius: 100px;
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem; font-weight: 400; letter-spacing: 0.8px;
  text-transform: uppercase;
}

/* ── LABELS (section labels — grünes Mono) */
.label {
  display: block;
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem; letter-spacing: 0.8px;
  text-transform: uppercase; color: var(--green);
  margin-bottom: 10px;
}

/* ── HEADINGS ─────────────────────────── */
h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800; line-height: 1.05;
  color: var(--text);
  margin: 20px 0 18px;
}
h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  font-weight: 800; line-height: 1.1;
  color: var(--text); margin-bottom: 14px;
}
h3 {
  font-size: 1rem; font-weight: 700;
  color: var(--text); margin-bottom: 8px;
}

.text-sec { color: var(--text-sec); line-height: 1.7; }
.text-muted { color: var(--text-muted); }

/* ── BUTTONS ──────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px; border-radius: var(--radius);
  font-size: 0.92rem; font-weight: 600;
  text-decoration: none; border: none; cursor: pointer;
  transition: opacity 0.15s, transform 0.1s;
  white-space: nowrap;
}
.btn:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-green  { background: var(--green);   color: var(--bg); }
.btn-purple { background: var(--primary); color: #fff; }
.btn-outline {
  background: transparent; color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--primary); }
.btn-group { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.social-icons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 14px;
}
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(29,185,84,0.25);
  background: rgba(29,185,84,0.10);
  color: var(--green) !important;
  text-decoration: none;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
}
.social-link:visited {
  color: var(--green) !important;
}
.social-link:hover {
  background: rgba(29,185,84,0.20);
  box-shadow: 0 0 16px rgba(29,185,84,0.2);
  transform: translateY(-2px);
}
.social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ── PANEL ────────────────────────────── */
.panel {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0)),
    var(--surface);
  border: 1px solid rgba(232,234,240,0.09);
  border-radius: var(--radius);
  padding: 24px;
}
.panel-glow {
  position: relative;
  overflow: hidden;
  box-shadow:
    0 28px 90px rgba(0,0,0,0.34),
    0 0 56px 3px rgba(124,92,232,0.13);
}
.panel-glow::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(124,92,232,0.18), transparent 32%),
    linear-gradient(320deg, rgba(29,185,84,0.12), transparent 35%);
  pointer-events: none;
}
.panel-glow > * { position: relative; z-index: 1; }

.landing-hero {
  min-height: 520px;
  padding: clamp(24px, 4vw, 40px);
}
.landing-hero .split {
  min-height: 440px;
}
.landing-hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.35rem);
}
}

/* ── TICKER ───────────────────────────── */
.ticker {
  background: var(--elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 0;
  overflow: hidden;
  white-space: nowrap;
  margin: 16px 0;
}
.ticker-inner {
  display: inline-flex; gap: 0;
  animation: ticker 20s linear infinite;
}
.ticker-inner span {
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem; letter-spacing: 0.8px;
  text-transform: uppercase; color: var(--text-sec);
  padding: 0 16px;
}
.ticker-inner .dot { color: var(--green); padding: 0 4px; }
@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── GRID LAYOUTS ─────────────────────── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px; align-items: start;
}
.card-grid {
  display: grid; gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.card-grid-3 {
  display: grid; gap: 10px;
  grid-template-columns: repeat(3, 1fr);
}
.card-grid-4 {
  display: grid; gap: 10px;
  grid-template-columns: repeat(4, 1fr);
}

/* ── CARD ─────────────────────────────── */
.card {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.028), rgba(255,255,255,0)),
    var(--surface);
  border: 1px solid rgba(232,234,240,0.085);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 14px 45px rgba(0,0,0,0.16);
  transition: border-color 0.16s, transform 0.16s, background 0.16s;
}
.card:hover {
  border-color: rgba(29,185,84,0.28);
  transform: translateY(-2px);
  background:
    linear-gradient(180deg, rgba(29,185,84,0.035), rgba(255,255,255,0)),
    var(--surface);
}
.card h3 { font-size: 0.95rem; font-weight: 900; }
.card p  { color: var(--text-sec); font-size: 0.9rem; margin-top: 8px; line-height: 1.5; }

/* ── SECTION ──────────────────────────── */
section { padding: 64px 24px; }
.section-inner { max-width: var(--max-w); margin: 0 auto; }

body > nav + section {
  padding-top: 64px;
  padding-bottom: 44px;
  background:
    linear-gradient(180deg, rgba(22,27,46,0.78), rgba(8,11,20,0)),
    linear-gradient(110deg, rgba(124,92,232,0.12), rgba(29,185,84,0.05) 55%, transparent);
  border-bottom: 1px solid rgba(232,234,240,0.07);
}
body > nav + section .section-inner {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.028), rgba(255,255,255,0)),
    rgba(15,20,32,0.58);
  border: 1px solid rgba(232,234,240,0.08);
  border-radius: var(--radius);
  padding: clamp(22px, 4vw, 38px);
  box-shadow: 0 24px 70px rgba(0,0,0,0.20);
}

/* ── PERK (checklist item) ────────────── */
.perk {
  display: flex; gap: 10px; align-items: flex-start;
  margin-top: 10px;
}
.perk .check { color: var(--green); flex-shrink: 0; font-size: 1.1rem; line-height: 1.5; }
.perk span   { color: var(--text-sec); }

/* ── STEP NUMBER ──────────────────────── */
.step-num {
  font-family: 'DM Mono', monospace;
  font-size: 1.4rem; color: var(--primary);
  margin-bottom: auto;
}

/* ── PHONE MOCKUP ─────────────────────── */
.phone-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: min(100%, 430px);
  margin: 0 auto;
}
.phone-mockup {
  display: block;
  width: min(100%, 390px);
  height: auto;
  filter: drop-shadow(0 34px 70px rgba(0,0,0,0.42)) drop-shadow(0 0 46px rgba(124,92,232,0.18));
}
.float-badge {
  position: absolute;
  background: var(--elevated);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.72rem;
  z-index: 3;
  box-shadow: 0 16px 34px rgba(0,0,0,0.26);
}
.float-badge .fb-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.58rem; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.5px;
}
.float-badge .fb-value { font-weight: 900; font-size: 1rem; margin-top: 2px; }
.float-left  { left: 10px; bottom: 132px; border: 1px solid rgba(124,92,232,0.35); }
.float-right { right: 8px; top: 150px; border: 1px solid rgba(29,185,84,0.35); }

/* ── CHART (pure CSS) ─────────────────── */
.chart-panel { height: 220px; position: relative; padding: 18px; }
.chart-label {
  font-size: 0.88rem; font-weight: 800; color: var(--text); margin-bottom: 4px;
}
.chart-svg { width: 100%; height: 160px; }

/* ── NEWSLETTER ───────────────────────── */
.newsletter-wrap {
  max-width: 560px; margin: 0 auto; text-align: center;
}
.newsletter-form {
  display: flex; gap: 8px; margin-top: 20px; flex-wrap: wrap;
  justify-content: center;
}
.newsletter-form input {
  flex: 1; min-width: 200px; padding: 11px 14px;
  background: var(--elevated); border: 1px solid var(--border);
  border-radius: var(--radius); color: var(--text); font-size: 0.92rem;
  outline: none; transition: border-color 0.15s;
  font-family: 'DM Sans', sans-serif;
}
.newsletter-form input:focus { border-color: var(--primary); }
.newsletter-form input::placeholder { color: var(--text-muted); }

.newsletter-form textarea,
.newsletter-form select {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: var(--radius);
  padding: 12px 14px;
  font: inherit;
}
.newsletter-form textarea { min-height: 120px; resize: vertical; }
.newsletter-form textarea:focus,
.newsletter-form select:focus {
  outline: none;
  border-color: var(--primary);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.form-full { grid-column: 1 / -1; }
.form-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--text-sec);
  font-size: 0.82rem;
  line-height: 1.45;
}
.form-check input { width: auto; margin-top: 4px; }
.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-status {
  min-height: 22px;
  margin-top: 10px;
  color: var(--text-sec);
  font-size: 0.85rem;
}
.form-status.ok { color: var(--green); }
.form-status.error { color: var(--red); }

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 999;
  max-width: 900px;
  margin: 0 auto;
  background: rgba(15,20,32,0.96);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 20px 70px rgba(0,0,0,0.45);
  padding: 16px;
  display: none;
  gap: 14px;
  align-items: center;
}
.cookie-banner.is-visible { display: flex; }
.cookie-banner p {
  color: var(--text-sec);
  font-size: 0.86rem;
  line-height: 1.45;
  margin: 0;
}
.cookie-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-left: auto;
}

@media (max-width: 720px) {
  .form-grid { grid-template-columns: 1fr; }
  .cookie-banner { align-items: flex-start; flex-direction: column; }
  .cookie-actions { margin-left: 0; }
}

/* ── BLOG CARD ────────────────────────── */
.blog-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
a.blog-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.028), rgba(255,255,255,0)),
    var(--surface);
  border: 1px solid rgba(232,234,240,0.085);
  border-radius: var(--radius); padding: 24px;
  text-decoration: none; color: var(--text);
  display: block;
  min-height: 100%;
  box-shadow: 0 16px 52px rgba(0,0,0,0.16);
  transition: border-color 0.16s, transform 0.16s, background 0.16s;
}
a.blog-card:hover {
  border-color: rgba(29,185,84,0.34);
  transform: translateY(-2px);
  background:
    linear-gradient(180deg, rgba(29,185,84,0.04), rgba(255,255,255,0)),
    var(--surface);
}
.blog-tag {
  display: inline-block; background: rgba(29,185,84,0.08);
  border: 1px solid rgba(29,185,84,0.2); color: var(--green);
  padding: 3px 10px; border-radius: 100px;
  font-family: 'DM Mono', monospace; font-size: 0.65rem;
  text-transform: uppercase; letter-spacing: 0.5px;
  margin-bottom: 14px;
}
.blog-card h2, .blog-card h3 { font-size: 1rem; line-height: 1.4; margin-bottom: 8px; font-family: 'DM Sans', sans-serif; }
.blog-card-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.blog-card .excerpt, .blog-card p { color: var(--text-sec); font-size: 0.88rem; margin-bottom: 14px; }
.blog-card .read-more, .blog-read { color: var(--green); font-size: 0.85rem; font-weight: 600; }

/* ── ARTICLE ──────────────────────────── */
.article-header { padding: 56px 24px 32px; max-width: 760px; margin: 0 auto; }
.article-body   {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 24px 84px;
}
.article-body h2 { font-size: 1.4rem; margin: 36px 0 12px; }
.article-body h3 { font-size: 1.05rem; color: var(--green); margin: 24px 0 8px; }
.article-body p  { color: var(--text-sec); margin-bottom: 16px; }
.article-body ul, .article-body ol { color: var(--text-sec); padding-left: 22px; margin-bottom: 16px; }
.article-body li { margin-bottom: 6px; }
.article-body a,
.section-inner p a,
.text-sec a {
  color: var(--green);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(29,185,84,0.35);
}
.article-body a:hover,
.section-inner p a:hover,
.text-sec a:hover {
  color: var(--text);
  border-bottom-color: rgba(232,234,240,0.5);
}
.article-body a.btn-green,
.section-inner p a.btn-green,
.text-sec a.btn-green {
  color: var(--bg);
  border-bottom: 0;
}
.article-body a.btn-green:hover,
.section-inner p a.btn-green:hover,
.text-sec a.btn-green:hover {
  color: var(--bg);
  border-bottom: 0;
}
.article-disclaimer {
  margin: 32px 0 0;
  padding: 16px 18px;
  border: 1px solid rgba(232,234,240,0.12);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  background: rgba(232,184,75,0.06);
  color: var(--text-sec);
  font-size: 0.88rem;
}
.article-disclaimer strong {
  color: var(--text);
}
.article-body .highlight {
  background: rgba(29,185,84,0.06); border-left: 3px solid var(--green);
  padding: 14px 18px; border-radius: 0 var(--radius) var(--radius) 0;
  margin: 22px 0; color: var(--text);
}
.breadcrumb { color: var(--text-muted); font-size: 0.82rem; margin-bottom: 18px; }
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--green); }

/* ── SEPARATOR ──────────────────────────── */
hr { border: none; border-top: 1px solid var(--border); margin: 0; }

/* ── FOOTER ───────────────────────────── */
footer {
  border-top: 1px solid rgba(232,234,240,0.08);
  padding: 40px 24px;
  background: rgba(15,20,32,0.52);
}
.footer-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; justify-content: space-between;
  align-items: flex-start; gap: 24px; flex-wrap: wrap;
}
.footer-brand {
  font-family: 'Syne', sans-serif;
  font-size: 0.95rem; font-weight: 800; color: var(--text); margin-bottom: 6px;
}
.footer-tagline { color: var(--text-muted); font-size: 0.82rem; max-width: 260px; }
.footer-links { display: flex; gap: 4px; flex-wrap: wrap; list-style: none; }
.footer-links a {
  color: var(--text-muted); text-decoration: none;
  padding: 4px 10px; border-radius: var(--radius);
  font-size: 0.85rem; transition: color 0.15s;
}
.footer-links a:hover { color: var(--green); }
.footer-copy {
  color: var(--text-muted); font-size: 0.75rem;
  text-align: center; margin-top: 28px;
  max-width: var(--max-w); margin-left: auto; margin-right: auto;
}
.footer-copy a { color: var(--text-muted); text-decoration: none; }
.footer-copy a:hover { color: var(--green); }

/* ── ZONE CARD ────────────────────────── */
.zone-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.026), rgba(255,255,255,0)),
    var(--surface);
  border: 1px solid rgba(232,234,240,0.085);
  border-radius: var(--radius); padding: 24px; margin-bottom: 10px;
  box-shadow: 0 14px 45px rgba(0,0,0,0.14);
}
.zone-card h3 { font-size: 1.05rem; margin-bottom: 8px; }

/* ── STAT ROW ─────────────────────────── */
.stat-row { display: flex; gap: 40px; flex-wrap: wrap; margin-top: 32px; }
.stat-number { font-family: 'Syne', sans-serif; font-size: 2rem; font-weight: 800; color: var(--green); }
.stat-label  { font-size: 0.8rem; color: var(--text-muted); margin-top: 2px; }

/* ── RESPONSIVE ───────────────────────── */
@media (max-width: 768px) {
  .split { grid-template-columns: 1fr; }
  .card-grid-3 { grid-template-columns: 1fr; }
  .card-grid-4 { grid-template-columns: 1fr 1fr; }
  .float-left, .float-right { display: none; }
}
@media (max-width: 560px) {
  section { padding: 40px 16px; }
  .card-grid-4 { grid-template-columns: 1fr; }
  nav { padding: 0 12px 8px; }
  .nav-inner {
    height: auto;
    min-height: 60px;
    flex-wrap: wrap;
    align-content: center;
    row-gap: 0;
  }
  .nav-brand {
    width: min(168px, 52vw);
    max-width: 52vw;
  }
  .nav-brand img {
    width: min(168px, 52vw);
    max-height: 38px;
  }
  .nav-cta {
    margin-left: auto;
    padding: 6px 12px;
    font-size: 0.82rem;
  }
  .nav-links {
    order: 3;
    display: flex;
    width: 100%;
    overflow-x: auto;
    gap: 6px;
    padding: 0 0 2px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links li { flex: 0 0 auto; }
  .nav-links a {
    display: block;
    padding: 6px 10px;
    font-size: 0.82rem;
    background: rgba(232,234,240,0.035);
    border: 1px solid rgba(232,234,240,0.08);
  }
  .nav-links a:hover,
  .nav-links a[style*="var(--green)"] {
    color: var(--green);
    border-color: rgba(29,185,84,0.28);
    background: rgba(29,185,84,0.07);
  }
  footer { padding: 32px 16px; }
}
