/* ========================================
   Impressum – Page Layout
======================================== */

main {
  padding: 1rem 0;
}

.legal-page {
  padding: 5rem 0 6rem;
  background-color: var(--color-white);
}

.legal-page__container {
  width: min(100% - 3rem, 850px);
  margin-inline: auto;
}

.legal-page__container h1 {
  margin: 1rem 0 1.25rem;
  color: var(--color-green);
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.legal-page__intro {
  max-width: 650px;
  margin-bottom: 3rem;
  color: var(--color-text-light);
  font-size: 1.125rem;
  line-height: 1.8;
}

.legal-page__container .section-label {
  display: inline-block;
  color: var(--color-green-light);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ========================================
   Legal Sections
======================================== */

.legal-section {
  padding: 2rem 0;
  border-top: 1px solid var(--color-border);
}

.legal-section h2 {
  margin: 0 0 1.25rem;
  color: var(--color-green);
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.4;
}

.legal-section p {
  margin: 0 0 1rem;
  color: var(--color-text-light);
  font-size: 0.9375rem;
  line-height: 1.8;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section address {
  margin-bottom: 1.25rem;
  color: var(--color-text-light);
  font-size: 0.9375rem;
  font-style: normal;
  line-height: 1.8;
}

.legal-section address strong,
.legal-section strong {
  color: var(--color-text);
  font-weight: 600;
}

.legal-section a {
  color: var(--color-green-light);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
  transition:
    color 0.2s ease,
    text-decoration-color 0.2s ease;
}

.legal-section a:hover {
  color: var(--color-green);
  text-decoration-color: currentColor;
}

/* ========================================
   Responsive – Impressum
======================================== */

@media (max-width: 700px) {
  .legal-page {
    padding: 3.5rem 0 4rem;
  }

  .legal-page__container {
    width: min(100% - 2rem, 850px);
  }

  .legal-page__intro {
    margin-bottom: 2rem;
    font-size: 1rem;
  }

  .legal-section {
    padding: 1.5rem 0;
  }

  .legal-section h2 {
    font-size: 1.2rem;
  }
}
