/**
 * Spiegel zentraler Styles aus template/template.html (SEO-LP).
 * Bei Anpassungen am Template: diesen Block hier manuell angleichen.
 * Nicht von den generierten pages/*.html einbinden (die haben Inline-CSS).
 */

/* ── Brand (wie template :root) ── */
:root {
  --brand:       #7A246F;
  --brand-light: #F5E8F4;
  --brand-mid:   #9B3090;
  --dark:        #2a2a2a;
  --white:       #ffffff;
  --gray-bg:     #f9f9f9;
  --radius:      14px;
  --radius-sm:   8px;
  --border:      0.5px solid rgba(0,0,0,0.10);
  --lp-toc-spalte:     220px;
  --lp-toc-gap:        40px;
  --lp-artikel-einzug: calc(var(--lp-toc-spalte) + var(--lp-toc-gap));
}

/* ── Primär-CTA (wie template .btn-primary) ── */
.btn-primary,
a.btn-primary,
button.btn-primary,
.nav-menu a.btn-primary,
.btn.btn-large:not(.btn-secondary),
button.btn.btn-large:not(.btn-secondary) {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: 100px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
  box-sizing: border-box;
  line-height: 1.2;
  text-align: center;
}

.btn-primary:hover,
a.btn-primary:hover,
button.btn-primary:hover,
.btn.btn-large:not(.btn-secondary):hover,
button.btn.btn-large:not(.btn-secondary):hover {
  opacity: 0.88;
  transform: translateY(-1px);
  color: #fff;
}

/* Navbar-CTA: styles.css nutzt !important auf Hover – hier angleichen */
.nav-menu a.btn-primary:hover {
  color: #fff !important;
  opacity: 0.88;
  transform: translateY(-1px);
}

/* Startseite: Service-Karten-Links wie Primär-CTA */
body.page-home .btn.btn-service {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: 100px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}

body.page-home .btn.btn-service:hover {
  opacity: 0.88;
  transform: translateY(-1px);
  color: #fff;
}

/* ── Formular Absenden (wie template .btn-submit) ── */
.btn-submit {
  width: 100%;
  max-width: 100%;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 15px;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  margin-top: 6px;
  transition: opacity 0.2s;
  box-sizing: border-box;
}

.btn-submit:hover {
  opacity: 0.88;
}

.form-success {
  display: none;
  background: rgba(29,158,117,0.15);
  border: 0.5px solid #1D9E75;
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  color: #fff;
  margin-top: 16px;
}

@media (max-width: 768px) {
  .btn-submit {
    font-size: 0.9rem;
    padding: 12px 14px;
    margin-top: 4px;
  }
  .form-success {
    padding: 14px 12px;
    font-size: 0.85rem;
    margin-top: 12px;
    border-radius: var(--radius-sm);
  }
}

/* ── LSI-Zeile (wie template) ── */
.lsi-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 20px 0;
  border-top: 0.5px solid #eee;
  margin-top: 32px;
}
.lsi-label { font-size: 0.78rem; color: #aaa; margin-right: 4px; }
.lsi-link {
  font-size: 0.78rem;
  color: var(--brand);
  text-decoration: none;
  background: var(--brand-light);
  padding: 3px 10px;
  border-radius: 100px;
}
.lsi-link:hover { opacity: 0.8; }

/* ── Schmaler SEO-Footer (nur noch mit .footer--seo / ohne .footer-Klasse) ── */
footer#site-footer.footer--seo {
  background: var(--dark);
  color: rgba(255,255,255,0.35);
  text-align: center;
  padding: 28px 24px;
  font-size: 0.82rem;
  position: relative;
}
footer#site-footer.footer--seo::before {
  content: '';
  display: block;
  height: 2px;
  background: var(--brand);
  margin-bottom: 20px;
}
footer#site-footer.footer--seo a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  margin: 0 10px;
}
footer#site-footer.footer--seo a:hover {
  color: var(--brand);
}
footer#site-footer.footer--seo p {
  margin: 0;
}

/* Mehrspalt-Footer: Marken-Streifen + lesbare Schrift */
footer.footer {
  background: var(--dark) !important;
  color: var(--white);
}
footer.footer::before {
  content: '';
  display: block;
  height: 2px;
  background: var(--brand);
  margin-bottom: 1.25rem;
}
.footer .footer-section a,
.footer-bottom a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.2s, opacity 0.2s;
}
.footer .footer-section a:hover,
.footer-bottom a:hover {
  color: var(--brand);
}

/* Eigenständige Rechtstexte (Impressum, Datenschutz, AGB) */
body.legal-standalone .legal-doc {
  max-width: 42rem;
  margin: 0 auto;
  padding: 0 1.25rem 3.5rem;
  color: #2a2a2a;
}
body.legal-standalone .legal-doc h1 {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.5rem;
  color: #003087;
}
body.legal-standalone .legal-doc .legal-meta {
  font-size: 0.9rem;
  color: #666;
  margin: 0 0 1.5rem;
}
body.legal-standalone .legal-doc h2 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 1.75rem 0 0.5rem;
  color: #1a1a1a;
}
body.legal-standalone .legal-doc p,
body.legal-standalone .legal-doc li {
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 0.75rem;
}
body.legal-standalone .legal-doc ul {
  margin: 0 0 1rem 1.1rem;
  padding: 0;
}
body.legal-standalone .legal-doc a {
  color: #972c86;
  text-decoration: underline;
  text-underline-offset: 2px;
}
body.legal-standalone .legal-doc a:hover {
  color: #7a246f;
}
