/* ============================================
   VermächtnisWerk — Design Tokens
   Navy + Gold, edel & seriös, ruhig statt reißerisch
   ============================================ */

:root {
  --navy-950: #041c52;
  --navy-900: #0c1633;
  --navy-800: #142046;
  --navy-700: #123a8a;
  --navy-100: #e8eaf1;
  --gold-600: #9a4f19;
  --gold-500: #bf6322;
  --gold-400: #d68951;
  --gold-200: #ebc7ad;
  --paper: #f7f7f5;
  --paper-raised: #ffffff;
  --ink: #0c1633;
  --ink-soft: rgba(12, 22, 51, 0.72);
  --line: rgba(12, 22, 51, 0.14);

  --serif: Georgia, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --container: 1120px;
  --radius: 2px;
}

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

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--navy-900);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 600;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; color: var(--ink-soft); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-500);
  font-weight: 600;
  margin-bottom: 14px;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 247, 245, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 28px;
  max-width: 1300px;
  margin: 0 auto;
  gap: 20px;
}

.brand img { height: 66px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.88rem;
  flex-wrap: nowrap;
}

.nav-links a {
  color: var(--navy-800);
  font-weight: 500;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  border-bottom-color: var(--gold-500);
}

.nav-cta {
  background: var(--navy-950);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  border-bottom: none !important;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--navy-700); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy-900);
  margin: 5px 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 30px;
  font-weight: 600;
  font-size: 0.96rem;
  border-radius: var(--radius);
  transition: all 0.2s ease;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--navy-950);
  color: #fff;
}
.btn-primary:hover { background: var(--navy-700); }

.btn-gold {
  background: var(--gold-500);
  color: var(--navy-950);
}
.btn-gold:hover { background: var(--gold-400); }

.btn-outline {
  background: transparent;
  color: var(--navy-900);
  border-color: var(--navy-900);
}
.btn-outline:hover { background: var(--navy-950); color: #fff; }

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.12); border-color: #fff; }

/* ---------- Hero ---------- */
.hero {
  background: var(--navy-950);
  color: #f4f5f9;
  padding: 100px 0 90px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(168, 103, 45, 0.22);
  border-radius: 50%;
}

.hero-inner { max-width: 920px; position: relative; z-index: 1; }
.hero p.lede { color: #c3c9dc; font-size: 1.15rem; max-width: 560px; }
.hero h1 { color: #fff; }

.hero-cta-row { display: flex; gap: 16px; margin-top: 34px; flex-wrap: wrap; }

.hero-tagline {
  margin-top: 52px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.14);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
  font-size: 1.9rem;
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: var(--gold-500);
  max-width: 820px;
}

/* page hero (subpages, shorter) */
.page-hero {
  background: var(--navy-950);
  color: #fff;
  padding: 64px 0 56px;
}
.page-hero h1, .page-hero h2, .page-hero h3 { color: #fff; }
.page-hero p { color: #c3c9dc; max-width: 640px; }

/* ---------- Sections ---------- */
section { padding: 80px 0; }
.section-tight { padding: 56px 0; }
.bg-raised { background: var(--paper-raised); }
.bg-navy { background: var(--navy-950); color: #fff; }
.bg-navy h2, .bg-navy h3 { color: #fff; }
.bg-navy p { color: #c3c9dc; }

.section-head { max-width: 640px; margin-bottom: 44px; }

/* ---------- Grid / Cards ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 1000px) and (min-width: 861px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

.card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  padding: 32px 28px;
  border-radius: var(--radius);
}

.card .num {
  font-family: var(--serif);
  color: var(--gold-500);
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 10px;
  display: block;
}

/* ---------- Stat / Seal ---------- */
.seal-stat {
  display: flex;
  align-items: center;
  gap: 22px;
}
.seal {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  border: 1.5px solid var(--gold-500);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}
.seal::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(168, 103, 45, 0.4);
  border-radius: 50%;
}
.seal .n {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1;
}
.seal .l {
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  text-transform: uppercase;
  margin-top: 4px;
}

/* ---------- Process list ---------- */
.process {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.process-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.process-item:last-child { border-bottom: none; }
.process-item .step {
  font-family: var(--serif);
  color: var(--gold-500);
  font-size: 1.4rem;
  font-weight: 600;
}

/* ---------- List with check ---------- */
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li {
  padding-left: 30px;
  position: relative;
  margin-bottom: 14px;
  color: var(--ink-soft);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background: var(--gold-500);
  border-radius: 50%;
}

/* ---------- FAQ ---------- */
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.faq-item summary {
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--navy-900);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  text-align: left;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--gold-500);
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item .a { margin-top: 12px; color: var(--ink-soft); max-width: 680px; text-align: left; }

/* ---------- Fließtext-Grid (kein Card-Rahmen) ---------- */
.plain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.plain-grid .item h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.plain-grid .item .marker {
  display: block;
  width: 32px;
  height: 2px;
  background: var(--gold-500);
  margin-bottom: 16px;
}

/* ---------- Pull-Quote Layout ---------- */
.pullquote-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.quote {
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1.3;
  color: var(--navy-900);
  font-weight: 600;
}

/* ---------- Vergleichsliste (ohne Card-Boxen) ---------- */
.compare-list-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.compare-list-col h3 { margin-bottom: 16px; }
.compare-list-col.negative h3 { color: var(--ink-soft); }
.compare-list-col.positive h3 { color: var(--gold-500); }
.compare-list-col ul { list-style: none; margin: 0; padding: 0; }
.compare-list-col li {
  padding: 12px 0 12px 30px;
  position: relative;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.94rem;
}
.compare-list-col.negative li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: #b0473f;
  font-weight: 700;
}
.compare-list-col.positive li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold-500);
  font-weight: 700;
}

@media (max-width: 860px) {
  .plain-grid, .pullquote-layout, .compare-list-layout { grid-template-columns: 1fr; }
}

/* ---------- Passwortschutz (Kooperationspartner) ---------- */
.gate-screen {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
}
.gate-box {
  max-width: 380px;
  width: 100%;
  text-align: center;
}
.gate-box img { height: 50px; margin: 0 auto 28px; }
.gate-box input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 1rem;
  text-align: center;
  margin-bottom: 14px;
}
.gate-box .error {
  color: #b0473f;
  font-size: 0.88rem;
  margin-top: 10px;
  display: none;
}

/* ---------- Mythos/Fakt-Liste ---------- */
.myth-fact-list {
  max-width: 780px;
  margin: 0 auto;
}
.myth-fact-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.myth-fact-item:last-child { border-bottom: none; }
.myth-fact-item .myth {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin-bottom: 8px;
}
.myth-fact-item .myth .tag {
  font-weight: 700;
  color: #b0473f;
  margin-right: 6px;
}
.myth-fact-item .fact {
  color: var(--navy-900);
  font-weight: 500;
  font-size: 1.02rem;
}
.myth-fact-item .fact .tag {
  font-weight: 700;
  color: var(--gold-500);
  margin-right: 6px;
}

/* ---------- Big Stat Callout (prominente Endsumme) ---------- */
.big-stat-callout {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin: 24px auto 0;
  padding: 28px 32px;
  background: var(--navy-950);
  border-radius: var(--radius);
  max-width: 640px;
}
.big-stat-callout .stat { text-align: center; }
.big-stat-callout .stat .value {
  font-family: var(--serif);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--gold-500);
  line-height: 1;
}
.big-stat-callout .stat .label {
  font-size: 0.82rem;
  color: #c3c9dc;
  margin-top: 8px;
  max-width: 220px;
  margin-left: auto;
  margin-right: auto;
}
.big-stat-callout .divider {
  width: 1px;
  align-self: stretch;
  background: rgba(255,255,255,0.15);
}
@media (max-width: 640px) {
  .big-stat-callout { flex-direction: column; align-items: center; gap: 20px; }
  .big-stat-callout .divider { display: none; }
}

/* ---------- Milestone Race (Jahre-bis-Ziel-Visualisierung) ---------- */
.milestone-race {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  margin: 28px 0;
  flex-wrap: wrap;
  text-align: center;
}
.milestone-card { max-width: 220px; }
.milestone-card .years {
  font-family: var(--serif);
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--ink-soft);
  line-height: 1;
}
.milestone-card.winner .years { color: var(--gold-500); }
.milestone-card .years-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft); margin-top: 4px; }
.milestone-card .desc { font-size: 0.88rem; color: var(--ink-soft); margin-top: 10px; }
.milestone-vs {
  font-family: var(--serif);
  font-style: italic;
  color: var(--line);
  font-size: 1.4rem;
}

/* ---------- Legacy Breakdown (andere Visualisierung, Familie-Tab) ---------- */
.legacy-breakdown {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 20px 0;
}
.legacy-card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
}
.legacy-card h4 {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--navy-900);
  margin-bottom: 16px;
  font-weight: 600;
}
.legacy-card .amount-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.84rem;
  color: var(--ink-soft);
  margin-bottom: 7px;
}
.legacy-card .netto {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.legacy-card .netto .label { font-size: 0.78rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.05em; }
.legacy-card .netto .value { font-family: var(--serif); font-size: 1.5rem; color: var(--gold-500); font-weight: 700; margin-top: 4px; }

.legacy-breakdown-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) and (min-width: 861px) {
  .legacy-breakdown-4 { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Persona Tabs ---------- */
.persona-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}
.tab-btn {
  padding: 12px 22px;
  border: 1px solid var(--line);
  background: var(--paper-raised);
  border-radius: var(--radius);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy-800);
  cursor: pointer;
  transition: all 0.2s ease;
}
.tab-btn:hover { border-color: var(--gold-500); }
.tab-btn.active {
  background: var(--navy-950);
  color: #fff;
  border-color: var(--navy-950);
}
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeIn 0.25s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Compare Bars (Modellrechnungen bildhaft) ---------- */
.compare-wrap { margin: 22px 0; }
.compare-row { margin-bottom: 16px; }
.compare-row:last-child { margin-bottom: 0; }
.compare-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--navy-800);
  margin-bottom: 6px;
}
.compare-label .val { font-family: var(--serif); font-size: 1rem; color: var(--navy-900); }
.compare-track {
  background: var(--navy-100);
  border-radius: 4px;
  height: 14px;
  overflow: hidden;
}
.compare-fill { height: 100%; border-radius: 4px; }
.compare-fill.before { background: #aab0c2; }
.compare-fill.after { background: var(--gold-500); }
.compare-kernaussage {
  margin-top: 18px;
  padding: 16px 20px;
  background: var(--paper);
  border-left: 3px solid var(--gold-500);
  font-size: 0.94rem;
  color: var(--navy-800);
  font-weight: 500;
}

/* ---------- Disclaimer box ---------- */
.disclaimer {
  background: var(--navy-100);
  border-left: 3px solid var(--gold-500);
  padding: 18px 22px;
  font-size: 0.88rem;
  color: var(--ink-soft);
  border-radius: var(--radius);
}

/* ---------- Footer ---------- */
footer {
  background: #ffffff;
  color: var(--ink-soft);
  padding: 56px 0 32px;
  font-size: 0.9rem;
  border-top: 1px solid var(--line);
}
footer .foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
footer h4 {
  color: var(--gold-500);
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
footer a { display: block; margin-bottom: 8px; color: var(--ink-soft); }
footer a:hover { color: var(--navy-900); }
.foot-bottom a { display: inline; margin-bottom: 0; }
.foot-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
}
.foot-tagline {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold-500);
  font-size: 1.05rem;
  margin-top: 6px;
}
.foot-legal {
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin-top: 24px;
  max-width: 760px;
}

/* ---------- Placeholder page ---------- */
.placeholder-box {
  border: 1.5px dashed var(--gold-500);
  padding: 48px;
  text-align: center;
  border-radius: var(--radius);
  background: var(--paper-raised);
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .grid-3, .grid-2, .grid-4, .legacy-breakdown { grid-template-columns: 1fr; }
  footer .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .seal-stat { flex-direction: column; align-items: flex-start; }
  section { padding: 56px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
