/* ════════════════════════════════════════════════
   MONVESTO – Zentrale CSS Datei
   Alle Seiten nutzen diese Datei
   ════════════════════════════════════════════════ */

/* ── RESET & VARIABLEN ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green:       #1D9E75;
  --green-dark:  #0F6E56;
  --green-light: #E1F5EE;
  --green-mid:   #9FE1CB;
  --text:        #111827;
  --text-muted:  #6B7280;
  --text-light:  #9CA3AF;
  --border:      #E5E7EB;
  --bg:          #F9FAFB;
  --white:       #FFFFFF;
  --radius:      12px;
  --radius-lg:   16px;
  --shadow:      0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:   0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg:   0 8px 32px rgba(0,0,0,0.10);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

/* ── NAVIGATION ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 0.5px solid var(--border);
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;  /* ← Grid statt Flexbox */
  align-items: center;
  height: 64px;
}

.nav-actions {
  justify-content: flex-end;
  display: flex;
  gap: 10px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 15px;
  flex-shrink: 0;
}

.nav-logo-text {
  font-weight: 800;
  font-size: 18px;
  color: var(--text);
  letter-spacing: -0.3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-logo { visibility: hidden; }
.nav-actions { visibility: hidden; }

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 8px;
  transition: all 0.15s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
  background: var(--bg);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-login {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 8px;
  transition: color 0.15s;
}

.nav-login:hover { color: var(--text); }

.nav-cta {
  background: var(--green);
  color: white;
  text-decoration: none;
  padding: 9px 20px;
  border-radius: 9px;
  font-weight: 700;
  font-size: 14px;
  transition: background 0.2s;
  white-space: nowrap;
}

.nav-cta:hover { background: var(--green-dark); }

/* ── FOOTER ── */
footer {
  background: #111827;
  color: rgba(255,255,255,0.7);
  padding: 64px 32px 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1140px;
  margin: 0 auto 48px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 13px;
}

.footer-logo-text {
  color: white;
  font-weight: 800;
  font-size: 17px;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.7;
  max-width: 240px;
}

.footer-col-title {
  color: white;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-link:hover { color: white; }

.footer-bottom {
  max-width: 1140px;
  margin: 0 auto;
  border-top: 0.5px 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: 13px;
}

.footer-bottom a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-bottom a:hover { color: white; }

/* ── LAYOUT HELPER ── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 32px; }
.container-sm { max-width: 800px; margin: 0 auto; padding: 0 32px; }
.section { padding: 80px 32px; max-width: 1140px; margin: 0 auto; }
.section-sm { padding: 80px 32px; max-width: 800px; margin: 0 auto; }
.section-center { text-align: center; }
hr.divider { border: none; border-top: 0.5px solid var(--border); margin: 0; }

/* ── SECTION LABELS ── */
.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--green);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.section-intro {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 620px;
}

.section-intro.center { margin: 0 auto; }

/* ── HERO ── */
.hero {
  padding: 80px 32px 60px;
  text-align: center;
  border-bottom: 0.5px solid var(--border);
}

.hero-bg-green { background: linear-gradient(180deg, #f0faf5 0%, #ffffff 70%); }
.hero-bg-blue  { background: linear-gradient(180deg, #eff6ff 0%, #ffffff 70%); }
.hero-bg-orange{ background: linear-gradient(180deg, #fff8f0 0%, #ffffff 70%); }
.hero-bg-purple{ background: linear-gradient(180deg, #f5f3ff 0%, #ffffff 70%); }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
  border: 0.5px solid var(--green-mid);
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
}

.hero h1 {
  font-size: clamp(28px, 5.5vw, 56px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1.5px;
  max-width: 800px;
  margin: 0 auto 20px;
}

.hero h1 .highlight { color: var(--green); }

.hero-sub {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 26px;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--green);
  color: white;
  box-shadow: 0 4px 14px rgba(29,158,117,0.25);
}

.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(29,158,117,0.3);
}

.btn-secondary {
  background: white;
  color: var(--text);
  border: 1.5px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--green);
  color: var(--green);
}

.btn-white {
  background: white;
  color: var(--green-dark);
  font-weight: 800;
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.btn-lg { padding: 15px 32px; font-size: 16px; border-radius: 11px; }

/* ── TRUST BAR ── */
.trust-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
  padding: 18px 32px;
  background: var(--bg);
  border-bottom: 0.5px solid var(--border);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.trust-check { color: var(--green); font-weight: 700; }

/* ── CARDS ── */
.card {
  background: white;
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.card-hover {
  transition: all 0.2s;
  cursor: pointer;
}

.card-hover:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: var(--green-mid);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
}

.card-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--green-light);
  color: var(--green-dark);
  padding: 3px 8px;
  border-radius: 5px;
  margin-bottom: 10px;
}

/* ── GRIDS ── */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }

/* ── CTA BANNER ── */
.cta-banner {
  background: linear-gradient(135deg, #0a5c47 0%, #1D9E75 60%, #22c490 100%);
  padding: 80px 32px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.cta-banner h2 {
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 900;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  line-height: 1.15;
}

.cta-banner p {
  font-size: 18px;
  opacity: 0.85;
  max-width: 500px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.cta-feats {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.cta-feat {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
  opacity: 0.9;
}

.cta-feat::before { content: '✓'; font-weight: 800; }

/* ── FAQ ── */
.faq-list { margin-top: 40px; }

.faq-item {
  border-bottom: 0.5px solid var(--border);
  padding: 20px 0;
}

.faq-q {
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  user-select: none;
  list-style: none;
}

.faq-q:hover { color: var(--green); }

.faq-arrow {
  transition: transform 0.25s;
  color: var(--text-muted);
  font-size: 14px;
  flex-shrink: 0;
}

.faq-item.open .faq-arrow { transform: rotate(180deg); }

.faq-a {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s;
}

.faq-item.open .faq-a {
  max-height: 500px;
  padding-top: 12px;
}

/* ── TABELLEN ── */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin-top: 32px;
}

.data-table th {
  background: var(--green);
  color: white;
  padding: 12px 16px;
  text-align: left;
  font-weight: 700;
  font-size: 13px;
}

.data-table td {
  padding: 13px 16px;
  border-bottom: 0.5px solid var(--border);
}

.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--bg); }

.check { color: var(--green); font-weight: 700; }
.cross { color: #EF4444; }
.neutral { color: var(--text-muted); }
.pos { color: var(--green); font-weight: 600; }
.neg { color: #EF4444; font-weight: 600; }

/* ── BADGES ── */
.badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 5px;
}

.badge-blue    { background: #DBEAFE; color: #1D4ED8; }
.badge-red     { background: #FEE2E2; color: #991B1B; }
.badge-green   { background: var(--green-light); color: var(--green-dark); }
.badge-purple  { background: #F3E8FF; color: #6D28D9; }
.badge-yellow  { background: #FEF3C7; color: #92400E; }

/* ── UTILITY ── */
.text-green  { color: var(--green); }
.text-muted  { color: var(--text-muted); }
.text-small  { font-size: 13px; }
.text-center { text-align: center; }
.fw-700      { font-weight: 700; }
.fw-800      { font-weight: 800; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.mt-48 { margin-top: 48px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-40 { margin-bottom: 40px; }

/* ── PAGE HEADER (für Rechtliches etc.) ── */
.page-header {
  padding: 56px 32px 40px;
  border-bottom: 0.5px solid var(--border);
  background: var(--bg);
}

.page-header h1 {
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 800;
  margin-bottom: 8px;
}

.page-header p { color: var(--text-muted); font-size: 15px; }

/* ── LEGAL CONTENT ── */
.legal-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 32px;
}

.legal-content h2 {
  font-size: 19px;
  font-weight: 700;
  margin: 32px 0 12px;
  padding-bottom: 10px;
  border-bottom: 0.5px solid var(--border);
}

.legal-content h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 18px 0 6px;
}

.legal-content p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.8;
}

.legal-content ul {
  margin: 8px 0 14px 20px;
}

.legal-content ul li {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 6px;
  line-height: 1.7;
}

.legal-content a { color: var(--green); }

/* ── NOTICE BOXES ── */
.notice {
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 14px;
  margin-bottom: 20px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 1.6;
}

.notice-yellow { background: #FFFBEB; border: 0.5px solid #FDE68A; color: #92400E; }
.notice-green  { background: var(--green-light); border: 0.5px solid var(--green-mid); color: var(--green-dark); }
.notice-blue   { background: #EFF6FF; border: 0.5px solid #BFDBFE; color: #1E40AF; }

/* ══════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  nav { padding: 0 16px; }
  .nav-links { display: none; }

  .hero { padding: 56px 20px 40px; }
  .hero h1 { letter-spacing: -0.5px; }

  .section { padding: 56px 20px; }
  .section-sm { padding: 56px 20px; }
  .container { padding: 0 20px; }
  .container-sm { padding: 0 20px; }

  .trust-bar { gap: 16px; padding: 14px 20px; }

  .cta-banner { padding: 56px 20px; }
  .cta-feats { flex-direction: column; align-items: center; gap: 12px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .page-header { padding: 40px 20px 28px; }
  .legal-content { padding: 40px 20px; }

  .data-table { font-size: 13px; }
  .data-table th, .data-table td { padding: 10px 12px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: center; }
  .btn-lg { width: 100%; justify-content: center; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}
