/* Styling for the sub pages (Impressum, Datenschutz, Kontakt).
   Reuses the Webflow brand variables defined in the shared stylesheet. */

.legal-section {
  padding-top: 9rem;
  padding-bottom: 5rem;
  background-color: var(--brand-color--white, #fff);
}

.legal-content {
  max-width: 60rem;
  margin: 0 auto;
  font-family: Montserrat, sans-serif;
  color: #14233a;
  line-height: 1.7;
}

.legal-content h1 {
  font-size: 2.75rem;
  line-height: 1.1;
  margin: 0 0 1.5rem;
  font-weight: 700;
}

.legal-content h2 {
  font-size: 1.75rem;
  margin: 2.5rem 0 1rem;
  font-weight: 700;
}

.legal-content h3 {
  font-size: 1.3rem;
  margin: 1.75rem 0 0.75rem;
  font-weight: 600;
}

.legal-content h4 {
  font-size: 1.05rem;
  margin: 1.25rem 0 0.5rem;
  font-weight: 600;
}

.legal-content p {
  margin: 0 0 1rem;
}

.legal-content ul {
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
}

.legal-content li {
  margin-bottom: 0.4rem;
}

.legal-content a {
  color: #ee8315;
  text-decoration: underline;
  word-break: break-word;
}

.legal-divider {
  width: 4rem;
  height: 0.25rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #f3ab62, #ee8315);
  margin: 0 0 2.5rem;
}

.legal-lead {
  font-size: 1.15rem;
  color: #3c4a5e;
  margin-bottom: 2rem;
}

/* Contact page cards */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.25rem;
  margin: 2rem 0 3rem;
}

.contact-card {
  border: 1px solid #e7ecf3;
  border-radius: 1.25rem;
  padding: 1.75rem;
  background: #f8fafc;
}

.contact-card .label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #ee8315;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.contact-card .value {
  font-size: 1.2rem;
  font-weight: 600;
}

.contact-card .value a {
  color: #14233a;
  text-decoration: none;
}

.contact-people {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.person-card {
  border: 1px solid #e7ecf3;
  border-radius: 1.25rem;
  padding: 1.5rem;
}

.person-card .role {
  color: #ee8315;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

@media screen and (max-width: 767px) {
  .legal-section {
    padding-top: 7rem;
  }
  .legal-content h1 {
    font-size: 2rem;
  }
}
