@import url("legal-page.css");

/* Imprint only — compact legal info rhythm (does not affect Privacy / Cookie Notice) */

.imprint-page .legal-shell {
  padding-bottom: 52px;
}

.imprint-page .legal-header {
  margin-bottom: 18px;
}

.imprint-page .legal-header h1 + .legal-intro {
  margin-top: 6px;
}

.imprint-page .legal-header p {
  margin-top: 6px;
  margin-bottom: 0;
}

.imprint-page .legal-body > .legal-section:first-of-type {
  margin-top: 0;
}

.imprint-page .legal-section {
  padding: 14px 0;
  border-top: 1px solid rgba(226, 232, 240, 0.9);
}

.imprint-page .legal-section:first-of-type {
  border-top: none;
  padding-top: 18px;
}

.imprint-page .legal-section h2 {
  margin: 0 0 6px;
  font-size: 1.08rem;
  line-height: 1.3;
}

.imprint-page .legal-section--text {
  padding-top: 16px;
  padding-bottom: 16px;
}

.imprint-page .legal-section p {
  margin: 0 0 5px;
  max-width: 820px;
  line-height: 1.55;
  text-wrap: pretty;
}

/* Professional notice: use full legal-shell width so the two-sentence notice fits one line on desktop */
.imprint-page .legal-body > .legal-section:last-child p {
  max-width: none;
}

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

.imprint-page .legal-contact-list {
  margin-top: 6px;
  gap: 4px;
}

.imprint-page .legal-contact-list div {
  gap: 10px;
  min-height: 0;
  line-height: 1.45;
}

.imprint-page .legal-contact-list span,
.imprint-page .legal-contact-list a {
  line-height: 1.45;
}

@media (max-width: 768px) {
  .imprint-page .legal-shell {
    padding-bottom: 44px;
  }

  .imprint-page .legal-section {
    padding: 12px 0;
  }

  .imprint-page .legal-section--text {
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .imprint-page .legal-section:first-of-type {
    padding-top: 14px;
  }
}
