/* DailyFinanz — main stylesheet */
:root {
  --c-primary: #1B4332;
  --c-accent:  #40916C;
  --c-bg:      #F4F6F4;
  --c-card:    #FFFFFF;
  --c-text:    #1C1C1E;
  --c-text-soft: #5a5a5a;
  --c-border:  #E1E5E1;
  --shadow:    0 2px 6px rgba(15, 40, 26, 0.06);
  --radius:    8px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; padding: 0;
  font-family: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  background: var(--c-bg);
  color: var(--c-text);
  font-size: 17px; line-height: 1.65;
}

h1, h2, h3, h4 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--c-primary);
  line-height: 1.2;
  margin-top: 1.6em; margin-bottom: 0.6em;
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1 { font-size: 2.4rem; margin-top: 0; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
a { color: var(--c-accent); text-decoration: none; }
a:hover { text-decoration: underline; color: var(--c-primary); }

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

/* --- HEADER --- */
.site-header {
  background: var(--c-card);
  border-bottom: 1px solid var(--c-border);
  position: sticky; top: 0; z-index: 50;
  font-family: 'Inter', sans-serif;
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; padding-bottom: 14px;
}
.site-header .logo img { display: block; height: 36px; }
.site-header nav { display: flex; gap: 24px; align-items: center; font-size: 14px; font-weight: 500; }
.site-header nav a { color: var(--c-text); }
.site-header nav a:hover { color: var(--c-accent); }
.site-header .nav-cta {
  background: var(--c-primary); color: #fff !important;
  padding: 9px 16px; border-radius: var(--radius);
  font-weight: 600;
}
.site-header .nav-cta:hover { background: var(--c-accent); text-decoration: none; }

/* --- HERO --- */
.hero {
  padding: 80px 0 50px;
  background: linear-gradient(180deg, #ffffff 0%, var(--c-bg) 100%);
  border-bottom: 1px solid var(--c-border);
  font-family: 'Inter', sans-serif;
}
.hero h1 {
  font-size: clamp(2.2rem, 4.2vw, 3.5rem);
  margin-bottom: 18px; max-width: 920px;
}
.hero .lede {
  font-size: 1.15rem; color: var(--c-text-soft);
  max-width: 720px; margin-bottom: 28px;
  font-family: 'Source Serif 4', serif;
}
.hero .cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 13px 22px; border-radius: var(--radius);
  font-weight: 600; font-size: 0.95rem; transition: all 0.15s;
  font-family: 'Inter', sans-serif;
}
.btn-primary { background: var(--c-primary); color: #fff !important; }
.btn-primary:hover { background: var(--c-accent); text-decoration: none; }
.btn-secondary { background: #fff; color: var(--c-primary) !important; border: 1px solid var(--c-border); }
.btn-secondary:hover { background: var(--c-bg); text-decoration: none; }

.value-props {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  margin-top: 36px;
}
.value-prop {
  background: var(--c-card); padding: 16px 18px;
  border-radius: var(--radius); border: 1px solid var(--c-border);
  font-size: 0.95rem; font-family: 'Inter', sans-serif;
}
.value-prop strong { color: var(--c-primary); }

/* --- LP GRID --- */
.section { padding: 64px 0; }
.section-title {
  font-family: 'Inter', sans-serif;
  font-size: 1.7rem;
  margin-bottom: 8px;
}
.section-intro {
  color: var(--c-text-soft);
  max-width: 720px; margin-bottom: 36px; font-size: 1.05rem;
}

.lp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.lp-card {
  background: var(--c-card);
  border: 1px solid var(--c-border); border-radius: var(--radius);
  padding: 22px 20px;
  transition: all 0.2s;
  font-family: 'Inter', sans-serif;
  display: flex; flex-direction: column;
}
.lp-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.lp-card .lp-tag {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px;
  color: var(--c-accent); font-weight: 700; margin-bottom: 10px;
}
.lp-card .lp-title {
  font-size: 1.05rem; font-weight: 600; color: var(--c-primary);
  margin-bottom: 8px; line-height: 1.35;
}
.lp-card .lp-desc { font-size: 0.9rem; color: var(--c-text-soft); margin-bottom: 14px; flex-grow: 1; }
.lp-card .lp-arrow { color: var(--c-accent); font-weight: 700; font-size: 0.9rem; }
.lp-card a { color: inherit; }
.lp-card a:hover { text-decoration: none; }

/* --- FORUM TEASER --- */
.forum-teaser {
  background: linear-gradient(135deg, var(--c-primary) 0%, #2d6a4f 100%);
  color: #f0faf4; padding: 48px 0; margin: 32px 0;
  border-radius: var(--radius);
}
.forum-teaser .wrap { max-width: 920px; }
.forum-teaser h2 { color: #fff; }
.forum-teaser p { font-size: 1.05rem; opacity: 0.9; margin-bottom: 24px; }
.forum-teaser .btn { background: #fff; color: var(--c-primary) !important; }
.forum-teaser .btn:hover { background: #f4f6f4; }

/* --- LP PAGE --- */
.lp-page {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  padding: 48px 56px;
  margin: 32px 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.lp-meta { font-size: 14px; color: var(--c-text-soft); margin-bottom: 6px; font-family: 'Inter', sans-serif; }
.lp-page h1 { margin-bottom: 18px; }
.lp-page .intro { font-size: 1.1rem; color: var(--c-text-soft); margin-bottom: 30px; }
.lp-page h2 { border-bottom: 1px solid var(--c-border); padding-bottom: 8px; }
.lp-page ul, .lp-page ol { margin: 0 0 1em 24px; }
.lp-page li { margin-bottom: 0.4em; }
.lp-page blockquote {
  border-left: 3px solid var(--c-accent);
  margin: 1em 0; padding: 4px 16px;
  background: var(--c-bg); color: var(--c-text-soft);
  font-style: italic;
}

/* --- FAQ --- */
.faq-block { margin: 40px 0; }
.faq-item {
  border-bottom: 1px solid var(--c-border);
  padding: 14px 0;
}
.faq-item summary {
  font-family: 'Inter', sans-serif;
  font-weight: 600; color: var(--c-primary);
  cursor: pointer; list-style: none; padding: 6px 0;
}
.faq-item summary::after { content: " +"; color: var(--c-accent); font-size: 0.9em; }
.faq-item[open] summary::after { content: " −"; }
.faq-item .faq-body { padding: 10px 0 8px; color: var(--c-text); }

/* --- RELATED LPs --- */
.related-lps {
  background: var(--c-bg); padding: 28px 32px;
  border-radius: var(--radius); margin: 36px 0;
}
.related-lps h3 { margin-top: 0; font-size: 1.1rem; }
.related-lps ul { list-style: none; padding: 0; margin: 0; }
.related-lps li { margin: 6px 0; }
.related-lps a { font-family: 'Inter', sans-serif; font-weight: 500; }

/* --- CTA Box --- */
.cta-box {
  background: var(--c-primary); color: #f0faf4;
  padding: 28px 32px; border-radius: var(--radius);
  margin: 36px 0; font-family: 'Source Serif 4', serif;
}
.cta-box h3 { color: #fff; margin-top: 0; font-family: 'Inter', sans-serif; }
.cta-box .btn { background: #fff; color: var(--c-primary) !important; }

/* --- FOOTER --- */
.site-footer {
  background: var(--c-primary); color: #cfe1d6;
  padding: 36px 0 24px; margin-top: 64px;
  font-family: 'Inter', sans-serif; font-size: 14px;
}
.site-footer a { color: #fff; }
.site-footer .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 24px; }
.site-footer h4 { color: #fff; font-size: 13px; margin: 0 0 10px; text-transform: uppercase; letter-spacing: 0.7px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 4px; }
.site-footer .legal {
  grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 14px; margin-top: 16px; opacity: 0.75; font-size: 12px;
  text-align: center;
}

/* --- STATIC PAGE --- */
.static-page {
  background: var(--c-card); padding: 40px 48px;
  border: 1px solid var(--c-border); border-radius: var(--radius);
  margin: 32px 0;
}

/* --- RESPONSIVE --- */
@media (max-width: 740px) {
  body { font-size: 16px; }
  .hero { padding: 50px 0 36px; }
  .value-props { grid-template-columns: 1fr; }
  .lp-page { padding: 28px 22px; }
  .site-footer .wrap { grid-template-columns: 1fr 1fr; }
  .site-header nav { gap: 16px; font-size: 13px; }
}
@media (max-width: 460px) {
  .site-header nav a:not(.nav-cta) { display: none; }
}

/* Comparison table (used on /beste-vergleichsseiten-2026/) */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0 32px;
  font-size: 14px;
  background: #fff;
  border: 1px solid #e3e8e6;
  border-radius: 8px;
  overflow: hidden;
}
.comparison-table thead { background: #1B4332; color: #fff; }
.comparison-table th,
.comparison-table td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #e3e8e6;
}
.comparison-table th { font-weight: 600; font-size: 13px; letter-spacing: 0.2px; }
.comparison-table tbody tr:nth-child(odd)   { background: #f7faf8; }
.comparison-table tbody tr:nth-child(even)  { background: #ffffff; }
.comparison-table tbody tr:first-child td   { background: #e8f5ed; font-weight: 500; }
.comparison-table tbody tr:first-child td:first-child::after {
  content: " ★";
  color: #40916C;
  font-weight: 700;
}
.comparison-table a { color: #1B4332; font-weight: 600; text-decoration: none; }
.comparison-table a:hover { text-decoration: underline; }
.comparison-table td:first-child { width: 48px; font-weight: 700; text-align: center; }
.comparison-table td:nth-child(3) { white-space: nowrap; font-weight: 600; }
@media (max-width: 700px) {
  .comparison-table { font-size: 13px; }
  .comparison-table th, .comparison-table td { padding: 8px 10px; }
  .comparison-table td:nth-child(4),
  .comparison-table td:nth-child(5),
  .comparison-table th:nth-child(4),
  .comparison-table th:nth-child(5) { display: none; }
}
