/* ==========================================================================
   EstateSuite — Content-/SEO-Seiten (Money-Pages, Magazin)
   Eigenständig, markenkonform (Cobalt-Akzent), unabhängig von style.css.
   ========================================================================== */

:root {
  --bg: #ffffff;
  --bg-2: #f3f6fc;
  --text: #0e1322;
  --muted: #59617a;
  --line: rgba(14, 19, 34, 0.1);
  --blue: #2e6bff;
  --blue-ink: #1f4fd0;
  --blue-soft: #eaf0ff;
  --ink: #070a12;
  --ok: #16a872;
  --font-display: 'Plus Jakarta Sans', 'Avenir Next', sans-serif;
  --font-body: 'Switzer', 'Helvetica Neue', sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', monospace;
  --wrap: 1080px;
  --r: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }

h1, h2, h3 { font-family: var(--font-display); color: var(--text); line-height: 1.15; letter-spacing: -0.02em; }

a { color: var(--blue-ink); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ---------- Header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-head__inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.site-head__brand { display: flex; align-items: center; }
.site-head__brand img { display: block; height: 28px; width: auto; }
.site-head__nav { display: flex; gap: 24px; margin-left: auto; }
.site-head__nav a { color: var(--muted); font-weight: 500; font-size: 15px; }
.site-head__nav a:hover { color: var(--text); text-decoration: none; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  padding: 11px 20px; border-radius: 10px; border: 1px solid transparent;
  cursor: pointer; transition: transform 0.15s ease, background 0.15s ease;
}
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-ink); text-decoration: none; transform: translateY(-1px); }
.btn--lg { padding: 15px 28px; font-size: 17px; }
.btn--ghost { background: #fff; color: var(--text); border-color: var(--line); }
.btn--ghost:hover { background: var(--bg-2); text-decoration: none; }

/* ---------- Breadcrumb ---------- */
.crumbs { font-family: var(--font-mono); font-size: 13px; color: var(--muted); padding: 22px 0 0; }
.crumbs a { color: var(--muted); }
.crumbs span { margin: 0 8px; opacity: 0.5; }

/* ---------- Hero ---------- */
.page-hero { padding: 28px 0 48px; }
.eyebrow {
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--blue-ink); font-weight: 500;
}
.page-hero h1 { font-size: clamp(34px, 5vw, 52px); font-weight: 700; margin: 14px 0 18px; max-width: 18ch; }
.page-hero .lead { font-size: clamp(19px, 2.4vw, 22px); color: var(--muted); max-width: 60ch; }
.page-hero .hero-cta { margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Prose ---------- */
.prose { padding: 8px 0 16px; }
.prose > section { padding: 22px 0; border-top: 1px solid var(--line); }
.prose h2 { font-size: clamp(26px, 3.4vw, 34px); font-weight: 700; margin-bottom: 14px; max-width: 24ch; }
.prose h3 { font-size: 21px; font-weight: 600; margin: 24px 0 8px; }
.prose p { margin-bottom: 16px; max-width: 70ch; }
.prose ul { margin: 0 0 16px 0; padding-left: 0; list-style: none; max-width: 70ch; }
.prose ul li { position: relative; padding-left: 28px; margin-bottom: 10px; }
.prose ul li::before {
  content: ''; position: absolute; left: 4px; top: 11px; width: 8px; height: 8px;
  border-radius: 2px; background: var(--blue); transform: rotate(45deg);
}

/* Citable answer block (GEO: 134–167 Wörter, eigenständig) */
.answer {
  background: var(--blue-soft); border: 1px solid rgba(46, 107, 255, 0.18);
  border-left: 4px solid var(--blue); border-radius: var(--r);
  padding: 20px 24px; margin: 4px 0 20px; max-width: 72ch;
}
.answer p:last-child { margin-bottom: 0; }

/* ---------- Feature cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 8px 0 8px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; box-shadow: 0 1px 2px rgba(14, 19, 34, 0.04); }
.card h3 { margin-top: 0; font-size: 18px; }
.card p { font-size: 16px; color: var(--muted); margin-bottom: 0; }

/* ---------- Comparison / data table ---------- */
.tbl { width: 100%; border-collapse: collapse; margin: 8px 0 16px; font-size: 16px; }
.tbl th, .tbl td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.tbl th { font-family: var(--font-display); font-weight: 600; }
.tbl tr:first-child th { background: var(--bg-2); }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; max-width: 72ch; }
.faq summary { font-family: var(--font-display); font-weight: 600; font-size: 18px; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq details[open] summary { color: var(--blue-ink); }
.faq details p { margin-top: 10px; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: #eef1f8; border-radius: 22px; padding: clamp(36px, 6vw, 64px); margin: 40px 0; text-align: center; }
.cta-band h2 { color: #fff; font-size: clamp(26px, 3.6vw, 38px); max-width: 22ch; margin: 0 auto 14px; }
.cta-band p { color: #97a2b8; max-width: 52ch; margin: 0 auto 24px; }

/* ---------- Author / meta ---------- */
.byline { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); margin-top: 24px; }
.byline strong { color: var(--text); }

/* ---------- Footer ---------- */
.site-foot { border-top: 1px solid var(--line); padding: 32px 0; margin-top: 24px; }
.site-foot__inner { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; }
.site-foot__copy { font-family: var(--font-mono); font-size: 13px; color: var(--muted); }
.site-foot__links { display: flex; gap: 20px; }
.site-foot__links a { color: var(--muted); font-size: 14px; }
.site-foot__sitemap { display: flex; flex-wrap: wrap; gap: 40px; padding-bottom: 28px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.site-foot__col { display: flex; flex-direction: column; gap: 8px; }
.site-foot__col strong { font-size: 13px; letter-spacing: 0.02em; }
.site-foot__col a { color: var(--muted); font-size: 14px; }
.site-foot__col a:hover { color: var(--ink, currentColor); }

@media (max-width: 640px) {
  .site-head__nav { display: none; }
  body { font-size: 17px; }
}
