/* ==========================================================================
   Rentenberatung Zeck — Stylesheet
   ========================================================================== */

:root {
  --navy-950: #0a1f38;
  --navy-900: #0d2a4a;
  --navy-800: #123a5e;
  --navy-700: #1a4a78;
  --navy-100: #e7edf4;
  --navy-050: #f3f6fa;

  --gold-700: #9c7a2e;
  --gold-600: #b8934a;
  --gold-500: #c9a55c;
  --gold-100: #f4ead0;

  --ink: #1c2530;
  --ink-soft: #4a5568;
  --ink-faint: #7b8794;

  --bg: #fbfaf7;
  --white: #ffffff;
  --border: #e4e2da;
  --border-soft: #edece5;

  --ok: #2f6b4f;
  --no: #a4462f;

  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 22px;

  --shadow-s: 0 1px 2px rgba(13, 42, 74, 0.06), 0 1px 1px rgba(13, 42, 74, 0.04);
  --shadow-m: 0 8px 24px rgba(13, 42, 74, 0.08), 0 2px 6px rgba(13, 42, 74, 0.05);
  --shadow-l: 0 24px 48px -12px rgba(10, 31, 56, 0.25);

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

  --container: 1160px;
}

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

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

img { max-width: 100%; display: block; }

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

h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); font-weight: 500; }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 500; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }

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

a { color: var(--navy-700); text-decoration: none; }
a:hover { color: var(--gold-700); }

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-700);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--gold-600);
}

.lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 62ch;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--navy-900);
  color: var(--white);
  box-shadow: var(--shadow-s);
}
.btn-primary:hover {
  background: var(--navy-800);
  color: var(--white);
  box-shadow: var(--shadow-m);
}

.btn-gold {
  background: linear-gradient(180deg, var(--gold-500), var(--gold-600));
  color: var(--navy-950);
  box-shadow: var(--shadow-s);
}
.btn-gold:hover { color: var(--navy-950); box-shadow: var(--shadow-m); }

.btn-ghost {
  background: transparent;
  color: var(--navy-900);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--navy-700); color: var(--navy-900); background: var(--navy-050); }

.btn-ghost-light {
  background: rgba(255,255,255,0.06);
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.14); color: var(--white); border-color: rgba(255,255,255,0.6); }

.btn-sm { padding: 9px 18px; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 250, 247, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border-soft);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy-900);
}
.brand:hover { color: var(--navy-900); }

.brand-logo {
  height: 126px;
  width: auto;
  display: block;
}

.nav-primary {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding: 6px 0;
}
.nav-links a:hover { color: var(--navy-900); }
.nav-links a.active { color: var(--navy-900); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--gold-600);
  border-radius: 2px;
}

.header-cta { display: flex; align-items: center; gap: 14px; }
.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy-900);
}
.header-phone svg { flex: none; }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--white);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy-900);
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(1100px 480px at 78% -10%, rgba(184, 147, 74, 0.16), transparent 60%),
              linear-gradient(180deg, var(--navy-950), var(--navy-900) 55%, var(--navy-800));
  color: var(--white);
  padding: 96px 0 84px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(650px 380px at 20% 20%, black, transparent 70%);
  opacity: 0.5;
  pointer-events: none;
}

.hero .container { position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero-small { padding: 64px 0 56px; }
.hero-small .hero-grid { grid-template-columns: 1fr; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 18px;
}
.hero-eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--gold-500); }

.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero .lede { color: rgba(255,255,255,0.78); font-size: 1.18rem; margin-bottom: 30px; }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }

.hero-badges { display: flex; gap: 22px; flex-wrap: wrap; }
.hero-badge { display: flex; align-items: center; gap: 10px; font-size: 0.86rem; color: rgba(255,255,255,0.72); }
.hero-badge svg { flex: none; color: var(--gold-500); }

.hero-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-l);
  padding: 30px;
  backdrop-filter: blur(6px);
}
.hero-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-m);
  overflow: hidden;
  margin-bottom: 16px;
  box-shadow: var(--shadow-m);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-photo-name { display: block; color: var(--white); font-size: 1.2rem; font-family: var(--serif); }
.hero-photo-role { display: block; font-size: 0.85rem; color: rgba(255,255,255,0.6); margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,0.14); }
.hero-card h3 { color: var(--white); font-size: 1rem; margin-bottom: 6px; }
.hero-card-note { color: rgba(255,255,255,0.72); font-size: 0.92rem; margin-bottom: 16px; }
.hero-card-note a { color: var(--gold-500); }
.hero-card .btn { margin-top: 4px; }

/* ---------- Sections ---------- */
section { padding: 84px 0; }
.section-alt { background: var(--navy-050); }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head.left { margin: 0 0 48px; text-align: left; }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.pillar {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-m);
  padding: 32px 28px;
  box-shadow: var(--shadow-s);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.pillar:hover { box-shadow: var(--shadow-m); transform: translateY(-3px); }
.pillar-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--navy-900);
  color: var(--gold-100);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.pillar h3 { margin-bottom: 10px; }
.pillar p { margin: 0; font-size: 0.96rem; }

.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.service-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-l);
  padding: 40px;
  box-shadow: var(--shadow-s);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.service-card .tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-700);
}
.service-card ul { margin: 8px 0 18px; padding: 0; list-style: none; display: grid; gap: 10px; }
.service-card ul li { display: flex; gap: 10px; font-size: 0.94rem; color: var(--ink-soft); }
.service-card ul li svg { flex: none; margin-top: 3px; color: var(--ok); }
.service-card .btn { align-self: flex-start; margin-top: auto; }

/* checklist generic */
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list li svg { flex: none; margin-top: 3px; color: var(--ok); }
.check-list.cross li svg { color: var(--no); }
.check-list strong { display: block; color: var(--ink); margin-bottom: 2px; }

/* Benefit grid with numbered/icon cards */
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.benefit {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-m);
  padding: 26px;
}
.benefit-num {
  font-family: var(--serif);
  font-size: 0.85rem;
  color: var(--gold-700);
  margin-bottom: 10px;
  display: block;
}
.benefit h4 { margin-bottom: 6px; }
.benefit p { font-size: 0.92rem; margin: 0; }

/* ---------- Timeline / process ---------- */
.timeline { position: relative; display: grid; gap: 0; }
.timeline-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  padding-bottom: 40px;
  position: relative;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-marker {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--gold-100);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-size: 1.2rem;
  position: relative;
  z-index: 1;
  flex: none;
}
.timeline-item:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 29px;
  top: 60px;
  bottom: -6px;
  width: 2px;
  background: var(--border);
}
.timeline-content { padding-top: 8px; }
.timeline-content h4 { margin-bottom: 8px; }
.timeline-content p { margin: 0; }

/* ---------- Pricing ---------- */
.price-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.price-card {
  background: linear-gradient(165deg, var(--navy-950), var(--navy-800));
  color: var(--white);
  border-radius: var(--radius-l);
  padding: 44px;
  box-shadow: var(--shadow-l);
  position: sticky;
  top: 110px;
}
.price-card .eyebrow { color: var(--gold-500); }
.price-card .eyebrow::before { background: var(--gold-500); }
.price-amount { display: flex; align-items: baseline; gap: 8px; margin: 8px 0 6px; }
.price-amount .num { font-family: var(--serif); font-size: 3.2rem; color: var(--white); }
.price-amount .cur { font-size: 1.4rem; color: var(--gold-500); }
.price-note { font-size: 0.85rem; color: rgba(255,255,255,0.62); margin-bottom: 26px; }
.price-card hr { border: none; border-top: 1px solid rgba(255,255,255,0.14); margin: 26px 0; }

.legal-box {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-left: 3px solid var(--gold-600);
  border-radius: var(--radius-s);
  padding: 22px 24px;
  margin: 20px 0;
}
.legal-box p:last-child { margin-bottom: 0; }
.legal-box cite { display: block; font-style: italic; color: var(--ink); font-size: 0.95rem; }

.info-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 26px; }
.info-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-m);
  padding: 24px;
}
.info-card svg { color: var(--gold-700); margin-bottom: 12px; }
.info-card h4 { margin-bottom: 6px; font-size: 0.98rem; }
.info-card p { font-size: 0.9rem; margin: 0; }

/* ---------- About / person ---------- */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.about-grid-single { grid-template-columns: 1fr; max-width: 760px; margin: 0 auto; }
.about-portrait {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-l);
  background: linear-gradient(165deg, var(--navy-900), var(--navy-700));
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-100);
  font-family: var(--serif);
  font-size: 5rem;
  box-shadow: var(--shadow-l);
  position: relative;
  overflow: hidden;
}
.about-portrait::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(320px 220px at 20% 10%, rgba(201,165,92,0.22), transparent 60%);
  pointer-events: none;
}
.about-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}
.quote-block {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--navy-900);
  line-height: 1.5;
  border-left: 3px solid var(--gold-600);
  padding-left: 22px;
  margin: 26px 0;
}

.cred-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 30px; }
.cred {
  display: flex; gap: 14px;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-m);
  padding: 20px;
}
.cred-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--navy-050);
  color: var(--navy-800);
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.cred h4 { margin-bottom: 4px; font-size: 0.96rem; }
.cred p { margin: 0; font-size: 0.86rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 44px; align-items: start; }
.contact-form {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-l);
  padding: 40px;
  box-shadow: var(--shadow-s);
  display: grid;
  gap: 20px;
}
.field { display: grid; gap: 8px; }
.field label { font-size: 0.86rem; font-weight: 600; color: var(--ink); }
.field input, .field textarea {
  font-family: var(--sans);
  font-size: 0.96rem;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-s);
  background: var(--navy-050);
  color: var(--ink);
  resize: vertical;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold-600);
  background: var(--white);
  box-shadow: 0 0 0 3px var(--gold-100);
}
.field-check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.86rem; color: var(--ink-soft); }
.field-check input { margin-top: 3px; }
.form-note { font-size: 0.82rem; color: var(--ink-faint); }
.form-success {
  display: none;
  background: #eef5ef;
  border: 1px solid #cfe4d3;
  color: var(--ok);
  border-radius: var(--radius-s);
  padding: 14px 16px;
  font-size: 0.9rem;
}
.form-success.show { display: block; }
.form-error {
  display: none;
  background: #fbecec;
  border: 1px solid #eec7c7;
  color: var(--no);
  border-radius: var(--radius-s);
  padding: 14px 16px;
  font-size: 0.9rem;
}
.form-error.show { display: block; }
.honeypot-field { position: absolute; left: -9999px; top: -9999px; }

.contact-side { display: grid; gap: 20px; }
.contact-card {
  background: var(--navy-900);
  color: var(--white);
  border-radius: var(--radius-l);
  padding: 34px;
}
.contact-card h3 { color: var(--white); }
.contact-row { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-top: 1px solid rgba(255,255,255,0.14); }
.contact-row:first-of-type { border-top: none; }
.contact-row svg { color: var(--gold-500); flex: none; }
.contact-row a, .contact-row span { color: rgba(255,255,255,0.9); font-size: 0.95rem; }
.contact-card .btn { margin-top: 20px; }

.contact-note-card {
  background: var(--gold-100);
  border: 1px solid #e7d6a8;
  border-radius: var(--radius-l);
  padding: 26px;
}
.contact-note-card h4 { margin-bottom: 8px; color: var(--navy-900); }
.contact-note-card p { margin: 0; font-size: 0.92rem; color: #5c4a1f; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--navy-950), var(--navy-800));
  color: var(--white);
  border-radius: var(--radius-l);
  padding: 52px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-band h2 { color: var(--white); margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,0.72); margin: 0; }
.cta-band-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-band-center { justify-content: center; }

/* ---------- Legal pages ---------- */
.legal-content { max-width: 800px; }
.legal-content h2 { margin-top: 2.2em; font-size: 1.35rem; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { font-size: 1.05rem; margin-top: 1.6em; }
.legal-content ul { color: var(--ink-soft); }
.legal-content p, .legal-content li { font-size: 0.98rem; }
.faq-list { max-width: 780px; margin: 0 auto; display: grid; gap: 0; }
.faq-item { padding: 26px 0; border-bottom: 1px solid var(--border-soft); }
.faq-item:last-child { border-bottom: none; }
.faq-item h3 { font-size: 1.05rem; margin-bottom: 8px; }
.faq-item p { margin: 0; font-size: 0.96rem; }

.def-table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 0.94rem; }
.def-table th, .def-table td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--border-soft); vertical-align: top; }
.def-table th { color: var(--ink-faint); font-weight: 600; width: 220px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-950);
  color: rgba(255,255,255,0.62);
  padding: 64px 0 28px;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand p { color: rgba(255,255,255,0.55); font-size: 0.92rem; margin-top: 16px; max-width: 32ch; }
.footer-col h4 { color: var(--white); font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { color: rgba(255,255,255,0.62); font-size: 0.92rem; }
.footer-col a:hover { color: var(--gold-500); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.42);
}

/* ---------- Reveal animation ---------- */
[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Breadcrumb-ish page kicker on inner hero ---------- */
.hero-small .lede { max-width: 60ch; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .about-grid, .price-wrap, .contact-grid { grid-template-columns: 1fr; }
  .price-card { position: static; }
  .pillars, .services, .benefit-grid, .cred-grid, .info-cards, .footer-grid { grid-template-columns: 1fr 1fr; }
  .services { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-primary { position: fixed; top: 140px; left: 0; width: 100%; height: calc(100vh - 140px); background: var(--white); flex-direction: column; align-items: stretch; padding: 24px 28px; gap: 24px; transform: translateX(100%); transition: transform 0.25s ease; z-index: 90; box-sizing: border-box; }
  .nav-primary.open { transform: translateX(0); }
  .nav-links { flex-direction: column; gap: 18px; }
  .header-cta { flex-direction: column; align-items: stretch; }
  .nav-toggle { display: flex; }
  .pillars, .benefit-grid, .cred-grid, .info-cards, .footer-grid { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .hero { padding: 64px 0 56px; }
  section { padding: 60px 0; }
}
