/*
  Global styles for the Nebenkosten Optimierer site.  This stylesheet
  defines the dark, gradient‑based corporate identity, a consistent
  navigation bar, typographic scale and reusable section layouts.  The
  accent colour #03C988 is used sparingly to highlight calls to action
  and key figures.  Media queries adjust layouts for smaller screens.
*/

/* Reset and base typography */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: "Arial", sans-serif;
  color: #ffffff;
  background: linear-gradient(180deg, #0B0F1A 0%, #161A2A 50%, #0B0F1A 100%);
  line-height: 1.5;
}
h1, h2, h3 {
  font-weight: bold;
  line-height: 1.2;
}
p {
  opacity: 0.85;
  margin-bottom: 12px;
}

/* Navigation bar */
.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 24px;
  background: rgba(0,0,0,0.8);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}
.logo {
  font-size: 20px;
  font-weight: bold;
  color: #03C988;
}
.top-nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}
.top-nav a {
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  opacity: 0.8;
  transition: color 0.2s ease;
}
.top-nav a:hover {
  color: #03C988;
  opacity: 1;
}

/* Hero section shared across pages */
.hero {
  text-align: center;
  padding: 80px 20px 60px;
  margin: 0 auto;
  max-width: 900px;
}
.hero h1 {
  font-size: 32px;
  margin-bottom: 20px;
}
.hero p {
  font-size: 18px;
  margin-bottom: 30px;
}
.cta {
  display: inline-block;
  background: #03C988;
  color: #0B0F1A;
  padding: 16px 32px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s ease;
  text-decoration: none;
}
.cta:hover {
  background: #02af77;
}

/* Section container */
.section {
  padding: 40px 20px;
  max-width: 900px;
  margin: 0 auto;
}
.section-title {
  font-size: 24px;
  margin-bottom: 20px;
  text-align: center;
}

/* Cards grid for process steps, target groups and benefits */
.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
.card {
  flex: 1 1 250px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 20px;
  text-align: center;
}
.card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: #03C988;
}
.card p {
  font-size: 14px;
  opacity: 0.75;
}

/* Trust metrics on landing page */
.trust-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin: 40px auto;
  max-width: 900px;
}
.trust-metrics > div {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  flex: 1 1 200px;
  padding: 20px;
  text-align: center;
}
.trust-metrics h3 {
  font-size: 24px;
  margin-bottom: 6px;
  color: #03C988;
}
.trust-metrics p {
  font-size: 14px;
  opacity: 0.75;
}

/* Badges */
.badges {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.badge {
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 16px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.2);
  color: #ffffff;
}

/* FAQ list */
.faq-item {
  margin-bottom: 20px;
}
.faq-item h4 {
  font-size: 18px;
  margin-bottom: 6px;
  color: #03C988;
}
.faq-item p {
  font-size: 14px;
  opacity: 0.75;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .card-grid, .trust-metrics {
    flex-direction: column;
    align-items: stretch;
  }
  .top-nav ul {
    gap: 10px;
  }
  .hero h1 {
    font-size: 28px;
  }
  .hero p {
    font-size: 16px;
  }
}