/* =========================================================
   imprint Page
   ========================================================= */

.imprint-page {
  padding-bottom: 0;
}

.imprint-wrapper {
  width: 100%;
  max-width: 760px;

  margin: 4px auto 0;
  padding: 5px 5px;

  box-sizing: border-box;
}

.imprint-card {
  width: 100%;
  max-width: 700px;

  margin: 5px 5px;
  padding: 2.25rem;

  box-sizing: border-box;
}

.imprint-section {
  margin-bottom: 2.4rem;

  text-align: left;
}

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

.imprint-section h2 {
  margin: 0 0 12px;

  color: var(--text-dark);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.35;
}

.imprint-section p {
  margin: 0;

  color: var(--text-gray);
  line-height: 1.75;
}

.imprint-section p + p {
  margin-top: 16px;
}

.imprint-section a {
  color: var(--gold-dark);
  font-weight: 600;
  text-decoration: none;

  overflow-wrap: anywhere;

  transition: color 0.2s ease;
}

.imprint-section a:hover {
  color: var(--gold);
  text-decoration: underline;
}

.imprint-section a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 3px;
}

/* =========================================================
   RTL
   ========================================================= */

html[dir="rtl"] .imprint-wrapper,
html[dir="rtl"] .imprint-card,
html[dir="rtl"] .imprint-section {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .imprint-section,
html[dir="rtl"] .imprint-section h2,
html[dir="rtl"] .imprint-section p {
  text-align: right;
}

/* =========================================================
   Mobile
   ========================================================= */

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

  .imprint-wrapper {
    margin-top: 0;
    padding: 20px 16px;
  }

  .imprint-card {
    padding: 24px 20px;
  }

  .imprint-section {
    margin-bottom: 24px;
  }

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

  .imprint-section p {
    line-height: 1.7;
  }
}

/* =========================================================
   Small Mobile
   ========================================================= */

@media (max-width: 480px) {
  .imprint-card {
    padding: 20px 16px;
  }

  .imprint-section {
    margin-bottom: 22px;
  }
}
