/* symera – eigenes Theme (ohne Bootstrap) */

:root {
  --primary: #059669;
  --primary-dark: #047857;
  --primary-light: #22c55e;
  --dark: #0f172a;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-700: #334155;
  --gray-900: #0f172a;
  --white: #ffffff;
}

/* Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 25px;
  color: var(--gray-700);
  background-color: #dadada; /* wie bisher (vex-Hintergrund) */
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: 'Droid Serif', serif;
  font-weight: 300;
  line-height: 1.25;
  color: var(--gray-900);
}

h1 { font-size: 44px; line-height: 56px; }
h2 { font-size: 30px; line-height: 35px; }
h3 { font-size: 23px; line-height: 25px; }
h4 { font-size: 20px; line-height: 24px; font-weight: 400; }

h1, .content h2, .content h3, .content h4, .content h5, .content h6 {
  margin-bottom: 10px;
}

p {
  margin: 0 0 1rem;
}

a {
  color: var(--primary);
}

hr {
  border-color: var(--gray-200);
}

/* Layout */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 15px;
}

.section {
  padding: 5rem 0;
}

/* Anker-Ziele nicht unter dem Sticky-Header begraben */
[id] {
  scroll-margin-top: 5rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--dark) !important;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 0;
  text-decoration: none;
}

.brand img {
  width: 100px;
  height: auto;
  display: block;
}

.brand-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-light) !important;
}

.brand:hover .brand-name {
  color: var(--primary) !important;
}

.main-nav a {
  color: rgba(255, 255, 255, 0.85) !important;
  text-decoration: none;
  margin-left: 1.5rem;
}

.main-nav a:hover {
  color: var(--primary-light) !important;
}

/* Banner */
.banner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.banner-title {
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.banner p {
  margin-bottom: 1.5rem;
}

/* Buttons */
.btn-main {
  display: inline-block;
  padding: 15px 40px;
  border: 1px solid transparent;
  border-radius: 30px;
  font-size: 18px;
  line-height: 1.5;
  text-decoration: none !important;
  margin-top: 15px;
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  color: var(--white) !important;
  box-shadow: none !important;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.btn-main:hover,
.btn-main:focus,
.btn-main:active {
  background: var(--primary-dark) !important;
  border-color: var(--primary-dark) !important;
  color: var(--white) !important;
  box-shadow: none !important;
}

/* CTA / Subscription */
.call-to-action {
  background-color: var(--dark) !important;
  background-image: none !important;
}

.call-to-action h2,
.call-to-action p {
  color: var(--white) !important;
}

.cta-content {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

/* Heading / Subheading */
.heading {
  text-align: center;
  padding-bottom: 4rem;
}

.subheading {
  padding-bottom: 15px;
}

/* Deutsches Satzlesezeichen: Theme nutzte englisches Title Case
   ("Für Selbstständige Und Kleine …") – Überschriften untransformiert ausgeben.
   Kein Gegenstück mehr im Load-Order-Konflikt, da kein Theme-CSS mehr folgt. */
.heading h2,
.subheading {
  text-transform: none;
}

.heading h2 {
  font-size: 40px;
  line-height: 40px;
  font-weight: 700;
  padding-bottom: 15px;
}

.subheading {
  font-size: 32px;
  line-height: 45px;
  font-weight: 500;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem 5rem;
}

.feature-item {
  text-align: left;
}

.feature-item .icon {
  width: 30px;
  height: 30px;
  color: var(--primary);
}

.feature-title {
  font-weight: 700;
  font-size: 20px;
  line-height: 24px;
  margin: 0.75rem 0 0.5rem;
}

/* Feature-Karte unter den zwei Spalten (bei ungerader Anzahl) */
.feature-bottom {
  grid-column: 1 / -1;
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}

/* Legal page layout */
.legal-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 3rem;
}

.legal-icon {
  padding-top: 1.5rem;
}

.legal-icon svg {
  width: 160px;
  height: 160px;
}

.legal-subtitle {
  margin-top: 1rem;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Footer */
footer.footer {
  background-color: var(--dark) !important;
  color: rgba(255, 255, 255, 0.7) !important;
  padding: 3rem 0;
  text-align: center;
}

footer.footer a {
  color: var(--primary-light) !important;
}

footer.footer a:hover {
  color: var(--primary) !important;
}

.footer-brand {
  display: inline-block;
  margin-bottom: 1.5rem;
}

.footer-brand img {
  width: 100px;
  height: auto;
}

.footer-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-menu a {
  font-weight: 700;
  font-size: 14px;
  padding: 10px;
  text-decoration: none;
}

.copyright-text {
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 3px;
  color: #888;
  margin: 15px 0 0;
}

/* 404 */
.error-page {
  text-align: center;
}

.error-page .btn-main {
  margin-top: 2rem;
}

/* Responsive */
@media (max-width: 767px) {
  .section {
    padding: 3.5rem 0;
  }

  h1 { font-size: 34px; line-height: 42px; }

  .heading h2 { font-size: 32px; line-height: 36px; }

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

  .feature-item {
    text-align: center;
  }

  .feature-item .icon {
    margin: 0 auto;
  }

  .legal-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .legal-side {
    text-align: center;
  }

  .legal-icon {
    padding-top: 0;
  }

  .legal-icon svg {
    width: 120px;
    height: 120px;
  }

  .legal-subtitle {
    margin-top: 1rem;
  }
}
