/* ============================================
   SOLAR-RENDITE SCHWEIZ - Financial Dashboard Style
   Colors: #059669 (money green), #fbbf24 (gold),
           #064e3b (dark), #ecfdf5 (light)
   Fonts: DM Serif Display + DM Sans
   ============================================ */

/* ---------- RESET & BASE ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #059669;
  --primary-dark: #047857;
  --accent: #fbbf24;
  --accent-dark: #d97706;
  --dark: #064e3b;
  --dark-deep: #022c22;
  --light: #ecfdf5;
  --light-mid: #d1fae5;
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04);
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'DM Serif Display', serif;
  color: var(--dark);
  line-height: 1.25;
  font-weight: 400;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.2rem; }

p {
  margin-bottom: 1rem;
  color: var(--gray-600);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--primary-dark); }

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

ul, ol {
  padding-left: 1.5rem;
}

/* ---------- UTILITY ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-dark {
  background: var(--dark);
  color: var(--white);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--white);
}

.section-dark p {
  color: var(--light-mid);
}

.section-light {
  background: var(--light);
}

.section-gray {
  background: var(--gray-50);
}

.text-center { text-align: center; }
.text-primary { color: var(--primary) !important; }
.text-accent { color: var(--accent) !important; }
.text-dark { color: var(--dark) !important; }
.text-white { color: var(--white) !important; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.section-dark .section-label {
  color: var(--accent);
}

.section-title {
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray-500);
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border: none;
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1.4;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-accent {
  background: var(--accent);
  color: var(--dark);
}
.btn-accent:hover {
  background: var(--accent-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--dark);
}
.btn-white:hover {
  background: var(--light);
  color: var(--dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-lg {
  padding: 1.1rem 2.5rem;
  font-size: 1.1rem;
  border-radius: var(--radius-lg);
}

.btn-sm {
  padding: 0.55rem 1.2rem;
  font-size: 0.875rem;
}

/* ---------- HEADER / NAV ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  transition: all var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'DM Serif Display', serif;
  font-size: 1.35rem;
  color: var(--dark);
  text-decoration: none;
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav a {
  padding: 0.5rem 1rem;
  color: var(--gray-600);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.nav a:hover,
.nav a.active {
  color: var(--primary);
  background: var(--light);
}

.nav .btn {
  margin-left: 0.75rem;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  width: 24px;
  height: 2.5px;
  background: var(--dark);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: 10rem 0 6rem;
  background: linear-gradient(135deg, rgba(2,44,34,0.85) 0%, rgba(6,78,59,0.85) 50%, rgba(4,120,87,0.85) 100%), url('../images/hero.png') center/cover no-repeat;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
}

.hero h1 .highlight {
  color: var(--accent);
}

.hero-text p {
  font-size: 1.15rem;
  color: var(--light-mid);
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Hero Dashboard Card */
.hero-dashboard {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-xl);
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--gray-200);
}

.dashboard-header h4 {
  color: var(--dark);
  font-size: 1rem;
}

.dashboard-badge {
  background: var(--light);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
}

.dashboard-roi {
  text-align: center;
  padding: 1.5rem 0;
}

.roi-number {
  font-family: 'DM Serif Display', serif;
  font-size: 3.5rem;
  color: var(--primary);
  line-height: 1;
}

.roi-label {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-top: 0.25rem;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.stat-card {
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: 1rem;
  text-align: center;
}

.stat-value {
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem;
  color: var(--dark);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--gray-500);
  margin-top: 0.15rem;
}

.dashboard-bar {
  margin-top: 1.5rem;
}

.bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-bottom: 0.4rem;
}

.bar-track {
  height: 10px;
  background: var(--gray-200);
  border-radius: 5px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 5px;
  width: 0%;
  transition: width 2s ease;
}

/* ---------- TRUST BAR ---------- */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 1.5rem 0;
}

.trust-items {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--gray-500);
  font-weight: 500;
}

.trust-icon {
  color: var(--primary);
  font-size: 1.2rem;
}

/* ---------- FEATURES / BENEFITS ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity var(--transition);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 1.25rem;
}

.feature-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}

.feature-card p {
  font-size: 0.95rem;
}

/* ---------- ROI TABLE / COMPARISON ---------- */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.comparison-table thead {
  background: var(--dark);
  color: var(--white);
}

.comparison-table th {
  padding: 1rem 1.5rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  text-align: left;
}

.comparison-table td {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.95rem;
}

.comparison-table tbody tr:hover {
  background: var(--light);
}

.comparison-table .highlight-row {
  background: var(--light);
  font-weight: 600;
}

.comparison-table .highlight-row td {
  color: var(--primary);
}

.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
}

/* ---------- STATS SECTION ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stats-card {
  text-align: center;
  padding: 2rem;
}

.stats-number {
  font-family: 'DM Serif Display', serif;
  font-size: 3rem;
  color: var(--accent);
  line-height: 1.1;
}

.stats-text {
  font-size: 0.95rem;
  color: var(--light-mid);
  margin-top: 0.5rem;
}

/* ---------- STEPS / PROCESS ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: var(--gray-200);
}

.step-card {
  text-align: center;
  position: relative;
}

.step-number {
  width: 56px;
  height: 56px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Serif Display', serif;
  font-size: 1.4rem;
  margin: 0 auto 1.25rem;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 0 6px var(--white);
}

.step-card h4 {
  margin-bottom: 0.5rem;
}

.step-card p {
  font-size: 0.9rem;
}

/* ---------- TESTIMONIALS ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-100);
  position: relative;
}

.testimonial-stars {
  color: var(--accent);
  font-size: 1.1rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--gray-600);
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  background: var(--light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary);
  font-size: 0.9rem;
}

.testimonial-name {
  font-weight: 600;
  color: var(--dark);
  font-size: 0.9rem;
}

.testimonial-location {
  font-size: 0.8rem;
  color: var(--gray-400);
}

.testimonial-roi {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--light);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.6rem;
  border-radius: 20px;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
  background: var(--white);
  transition: all var(--transition);
}

.faq-item:hover {
  border-color: var(--primary);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  text-align: left;
  transition: all var(--transition);
}

.faq-question:hover {
  color: var(--primary);
}

.faq-icon {
  font-size: 1.5rem;
  color: var(--primary);
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ---------- CTA SECTION ---------- */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(251, 191, 36, 0.1);
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-section p {
  color: var(--light-mid);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* ---------- BLOG CARDS ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.blog-card-img {
  height: 200px;
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
}

.blog-card-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--accent);
  color: var(--dark);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
}

.blog-card-body {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.blog-card-body h3 a {
  color: var(--dark);
}

.blog-card-body h3 a:hover {
  color: var(--primary);
}

.blog-card-body p {
  font-size: 0.9rem;
  flex-grow: 1;
}

.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: auto;
}

.blog-card-link:hover {
  gap: 0.6rem;
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--dark-deep);
  color: var(--gray-400);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand p {
  color: var(--gray-400);
  font-size: 0.9rem;
  margin-top: 1rem;
  max-width: 300px;
}

.footer h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: var(--gray-400);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: var(--gray-400);
  font-size: 0.85rem;
}

.footer-bottom-links a:hover {
  color: var(--accent);
}

/* ---------- BLOG POST ARTICLE ---------- */
.article-hero {
  padding: 8rem 0 3rem;
  background: linear-gradient(135deg, var(--dark-deep) 0%, var(--dark) 50%, var(--primary-dark) 100%);
  text-align: center;
}

.article-hero h1 {
  color: var(--white);
  max-width: 800px;
  margin: 0 auto 1rem;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.article-hero p {
  color: var(--light-mid);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.article-content {
  padding: 3rem 0 4rem;
}

.article-body {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.article-body h2 {
  margin: 2.5rem 0 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-200);
}

.article-body h2:first-of-type {
  border-top: none;
  padding-top: 0;
}

.article-body h3 {
  margin: 2rem 0 0.75rem;
}

.article-body p {
  margin-bottom: 1.15rem;
  line-height: 1.8;
}

.article-body ul,
.article-body ol {
  margin-bottom: 1.15rem;
  padding-left: 1.75rem;
}

.article-body li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
  color: var(--gray-600);
}

.article-body strong {
  color: var(--dark);
}

.article-body blockquote {
  border-left: 4px solid var(--primary);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  background: var(--light);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
}

.article-body blockquote p {
  color: var(--dark);
  margin: 0;
}

.info-box {
  background: var(--light);
  border: 1px solid var(--light-mid);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.info-box h4 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.info-box p {
  margin: 0;
  font-size: 0.95rem;
}

.article-cta {
  background: linear-gradient(135deg, var(--primary), var(--dark));
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  margin: 3rem 0;
  color: var(--white);
}

.article-cta h3 {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.article-cta p {
  color: var(--light-mid);
  margin-bottom: 1.5rem;
}

/* Related Posts */
.related-posts {
  padding: 4rem 0;
  background: var(--gray-50);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* ---------- WISSEN PAGE ---------- */
.wissen-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.wissen-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
}

.wissen-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.wissen-card h3 {
  margin-bottom: 0.75rem;
}

.wissen-card p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

/* ---------- LEGAL PAGES ---------- */
.legal-page {
  padding: 8rem 0 4rem;
}

.legal-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.legal-content h1 {
  margin-bottom: 2rem;
}

.legal-content h2 {
  margin: 2rem 0 1rem;
  font-size: 1.4rem;
}

.legal-content h3 {
  margin: 1.5rem 0 0.75rem;
  font-size: 1.15rem;
}

.legal-content p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

.legal-content ul {
  margin-bottom: 1rem;
}

.legal-content li {
  margin-bottom: 0.4rem;
  color: var(--gray-600);
}

/* ---------- PAGE HERO (for non-index) ---------- */
.page-hero {
  padding: 8rem 0 3rem;
  background: linear-gradient(135deg, var(--dark-deep) 0%, var(--dark) 100%);
  text-align: center;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.page-hero p {
  color: var(--light-mid);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ---------- ANIMATIONS ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Counter animation */
.counter {
  display: inline-block;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .hero-text p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-dashboard {
    max-width: 480px;
    margin: 0 auto;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }

  .steps-grid::before {
    display: none;
  }

  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section {
    padding: 3.5rem 0;
  }

  .nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1.5rem;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    transition: transform var(--transition);
    gap: 0.5rem;
  }

  .nav.open {
    transform: translateY(0);
  }

  .nav a {
    width: 100%;
    padding: 0.75rem 1rem;
  }

  .nav .btn {
    margin-left: 0;
    width: 100%;
    justify-content: center;
  }

  .menu-toggle {
    display: flex;
  }

  .hero {
    padding: 8rem 0 4rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
  }

  .wissen-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .trust-items {
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 7rem 0 3rem;
  }

  .dashboard-stats {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- PRINT ---------- */
@media print {
  .header, .footer, .cta-section, .menu-toggle {
    display: none !important;
  }

  .hero {
    padding: 2rem 0;
    background: none;
    color: #000;
  }

  .hero h1, .hero p {
    color: #000 !important;
  }

  .section {
    padding: 1.5rem 0;
  }
}


/* === Mobile Logo Size === */
@media (max-width: 768px) {
  .logo img, .nav-logo img, .navbar-brand img, .nav-brand img, .navbar__logo img {
    height: 36px !important;
  }
}