/* ============================================
   meine-rlv.de – Gemeinsames Stylesheet
   Florian Gräßle · Allianz Versicherung
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;0,700;1,500&family=Lato:wght@300;400;700;900&display=swap');

:root {
  --navy:       #003366;
  --navy-dark:  #00234a;
  --navy-light: #004488;
  --gold:       #C8A84B;
  --gold-light: #e8c870;
  --cream:      #FAF8F4;
  --white:      #ffffff;
  --text:       #1a1a2e;
  --muted:      #6b7280;
  --border:     #e5e7eb;
  --green:      #16a34a;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Lato', sans-serif; color: var(--text); background: var(--white); line-height: 1.6; }
h1, h2, h3 { font-family: 'Playfair Display', serif; line-height: 1.2; }
em { font-style: italic; color: var(--gold); }
a { text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* ── HEADER ── */
header {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy);
  padding: 14px 32px;
  display: flex; align-items: center; justify-content: space-between;
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-badge {
  width: 38px; height: 38px; border-radius: 8px;
  background: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 15px; font-weight: 700; color: var(--navy);
  flex-shrink: 0;
}
.logo-text { color: var(--white); font-size: 14px; font-weight: 300; }
.logo-text strong { font-weight: 700; }
nav { display: flex; align-items: center; gap: 24px; }
nav a { color: rgba(255,255,255,0.75); font-size: 14px; text-decoration: none; transition: color 0.2s; }
nav a:hover { color: var(--gold); }
.nav-cta {
  background: var(--gold) !important; color: var(--navy) !important;
  padding: 9px 20px; border-radius: 8px; font-weight: 700 !important;
  transition: background 0.2s, transform 0.2s !important;
}
.nav-cta:hover { background: var(--gold-light) !important; transform: translateY(-1px); }
.mobile-menu-btn { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.mobile-menu-btn span { display: block; width: 22px; height: 2px; background: var(--white); margin: 5px 0; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block; background: var(--gold); color: var(--navy);
  padding: 15px 30px; border-radius: 10px; font-weight: 900;
  font-size: 16px; letter-spacing: 0.3px;
  transition: all 0.2s; box-shadow: 0 4px 20px rgba(200,168,75,0.35);
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(200,168,75,0.45); }
.btn-secondary {
  display: inline-block; color: rgba(255,255,255,0.8);
  padding: 15px 24px; border-radius: 10px; font-weight: 400;
  font-size: 15px; border: 1px solid rgba(255,255,255,0.25); transition: all 0.2s;
}
.btn-secondary:hover { border-color: rgba(255,255,255,0.5); color: var(--white); }
.btn-navy {
  display: inline-block; background: var(--navy); color: var(--white);
  padding: 14px 28px; border-radius: 10px; font-weight: 700;
  font-size: 15px; transition: all 0.2s; box-shadow: 0 4px 16px rgba(0,51,102,0.2);
}
.btn-navy:hover { background: var(--navy-light); transform: translateY(-2px); }
.btn-gold {
  display: inline-block; background: var(--gold); color: var(--navy);
  padding: 10px 18px; border-radius: 8px; font-weight: 700; font-size: 14px;
  transition: all 0.2s;
}
.btn-gold:hover { background: var(--gold-light); }

/* ── TRUST BAR ── */
.trust-bar { background: var(--cream); border-bottom: 1px solid var(--border); padding: 18px 32px; }
.trust-bar-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; justify-content: center; flex-wrap: wrap; gap: 32px;
}
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.trust-item strong { color: var(--navy); font-weight: 700; }

/* ── SECTIONS ── */
section { padding: 80px 32px; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-tag { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--gold); margin-bottom: 10px; }
.section-title { font-size: clamp(24px, 3vw, 36px); color: var(--navy); margin-bottom: 14px; }
.section-sub { font-size: 16px; color: var(--muted); max-width: 560px; }
.bg-cream { background: var(--cream); }
.bg-navy { background: var(--navy); }
.bg-white { background: var(--white); }

/* ── STATS BAR ── */
.stats-bar { background: var(--navy); padding: 48px 32px; }
.stats-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4,1fr); gap: 32px; text-align: center;
}
.stat-num { font-family: 'Playfair Display', serif; font-size: 42px; color: var(--gold); }
.stat-label { font-size: 14px; color: rgba(255,255,255,0.65); margin-top: 4px; }

/* ── STEPS ── */
.steps-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; margin-top: 48px; }
.step-card { text-align: center; }
.step-num {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--navy); color: var(--white);
  font-family: 'Playfair Display', serif; font-size: 20px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.step-icon { font-size: 28px; margin-bottom: 12px; display: block; }
.step-card h3 { font-size: 17px; color: var(--navy); margin-bottom: 8px; }
.step-card p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ── ABOUT ── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-top: 48px; }
.about-img-wrap { position: relative; }
.about-img-wrap img { width: 100%; border-radius: 20px; box-shadow: 0 12px 40px rgba(0,51,102,0.15); }
.about-quote {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--navy); color: var(--white);
  padding: 20px 24px; border-radius: 14px; max-width: 260px;
  font-size: 13px; line-height: 1.5; font-style: italic;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.about-quote::before { content: '"'; font-size: 40px; color: var(--gold); line-height: 0.5; display: block; margin-bottom: 8px; }
.about-check { display: flex; flex-direction: column; gap: 14px; margin: 28px 0; }
.about-check-item { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; }
.check-icon {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--green); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; flex-shrink: 0; margin-top: 2px;
}

/* ── CONTACT / FORM ── */
.kontakt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; margin-top: 48px; }
.kontakt-info { display: flex; flex-direction: column; gap: 20px; }
.kontakt-info-item {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--white); border: 1px solid var(--border);
  border-radius: 14px; padding: 18px 20px;
}
.kontakt-info-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--navy); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.kontakt-info-text { font-size: 14px; color: var(--muted); }
.kontakt-info-text strong { display: block; color: var(--navy); font-size: 15px; margin-bottom: 2px; }
.rechner-box {
  background: var(--navy); border-radius: 14px; padding: 22px 20px;
  display: flex; gap: 16px; align-items: center;
}
.rechner-box-text p { font-size: 14px; color: rgba(255,255,255,0.75); margin-bottom: 8px; }
.rechner-box-text strong { display: block; color: var(--white); font-size: 16px; margin-bottom: 8px; }
.form-card {
  background: var(--white); border-radius: 20px; padding: 36px 32px;
  box-shadow: 0 4px 32px rgba(0,51,102,0.08); border: 1px solid var(--border);
}
.form-card h3 { font-size: 22px; color: var(--navy); margin-bottom: 6px; }
.form-card > p { font-size: 14px; color: var(--muted); margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
label { font-size: 13px; font-weight: 700; color: var(--navy); }
input, select, textarea {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid var(--border); border-radius: 10px;
  font-family: 'Lato', sans-serif; font-size: 14px; color: var(--text);
  transition: border-color 0.2s; background: #fafafa; outline: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--navy); background: var(--white); }
textarea { resize: vertical; min-height: 80px; }
.datenschutz-label {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; color: var(--muted); cursor: pointer; margin-bottom: 20px;
}
.datenschutz-label input[type="checkbox"] { width: auto; margin-top: 3px; flex-shrink: 0; }
.datenschutz-label a { color: var(--navy); }
.btn-submit {
  width: 100%; padding: 16px; background: var(--navy); color: var(--white);
  border: none; border-radius: 10px; font-family: 'Lato', sans-serif;
  font-size: 16px; font-weight: 900; cursor: pointer; letter-spacing: 0.3px;
  transition: all 0.2s; box-shadow: 0 4px 16px rgba(0,51,102,0.25);
}
.btn-submit:hover { background: var(--navy-light); transform: translateY(-2px); }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* ── FAQ ── */
.faq-list { margin-top: 40px; display: flex; flex-direction: column; gap: 10px; }
.faq-item { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.faq-question {
  width: 100%; text-align: left; padding: 18px 20px;
  background: var(--white); border: none; cursor: pointer;
  font-family: 'Lato', sans-serif; font-size: 15px; font-weight: 700; color: var(--navy);
  display: flex; justify-content: space-between; align-items: center;
  transition: background 0.15s;
}
.faq-question:hover { background: #f8f9ff; }
.faq-answer { display: none; padding: 0 20px 18px; font-size: 14px; color: var(--muted); line-height: 1.7; }
.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-toggle { transform: rotate(45deg); }
.faq-toggle { font-size: 22px; color: var(--gold); transition: transform 0.2s; flex-shrink: 0; }

/* ── CTA SECTION ── */
.cta-section { background: var(--navy); padding: 72px 32px; text-align: center; }
.cta-section h2 { color: var(--white); font-size: clamp(24px,3vw,36px); margin-bottom: 14px; }
.cta-section p { color: rgba(255,255,255,0.7); font-size: 16px; margin-bottom: 36px; }
.cta-btn-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-badges { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.cta-badge { color: rgba(255,255,255,0.6); font-size: 13px; }

/* ── FOOTER ── */
footer { background: var(--navy-dark); padding: 48px 32px 24px; }
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px;
  padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 24px;
}
.footer-brand p { color: rgba(255,255,255,0.5); font-size: 14px; margin-top: 12px; line-height: 1.6; }
.footer-logo { display: flex; align-items: center; gap: 12px; }
.footer-col h4 { color: var(--gold); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; }
.footer-col a { display: block; color: rgba(255,255,255,0.6); font-size: 14px; margin-bottom: 8px; transition: color 0.2s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { color: rgba(255,255,255,0.35); font-size: 12px; }
.footer-legal { display: flex; gap: 16px; }
.footer-legal a { color: rgba(255,255,255,0.4); font-size: 12px; }
.footer-legal a:hover { color: var(--gold); }

/* ── WHATSAPP FLOAT ── */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  text-decoration: none; transition: transform 0.2s;
}
.whatsapp-float:hover { transform: scale(1.1); }

/* ── MOBILE ── */
@media (max-width: 768px) {
  header { padding: 14px 20px; }
  nav { display: none; }
  .mobile-menu-btn { display: block; }
  section { padding: 56px 20px; }
  .stats-inner { grid-template-columns: repeat(2,1fr); gap: 24px; }
  .steps-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-quote { position: static; margin-top: 20px; max-width: 100%; }
  .kontakt-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .trust-bar-inner { gap: 16px; justify-content: flex-start; }
  .cta-btn-group { flex-direction: column; align-items: center; }
}
@media (max-width: 480px) {
  .form-card { padding: 28px 20px; }
}
