/* Legal Pages (Impressum / Datenschutz / AGB) */
.privacy-policy-container,
.legal-notice-container,
.usage-right-container {
  display: flex;
  flex-direction: column;
  width: 90%;
  max-width: 860px;
  margin: 0 auto;
  /* padding-top clears the fixed nav (80px) plus breathing room */
  padding-top: 112px;
  padding-bottom: 80px;
  /* lange URLs/Wörter (z. B. Links in der Datenschutzerklärung) umbrechen,
     statt bei schmalen Viewports abgeschnitten zu werden */
  overflow-wrap: anywhere;
  hyphens: auto;
}

/* Page title */
.privacy-policy-container h1,
.legal-notice-container h1,
.usage-right-container h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--ink);
  border-bottom: 3px solid var(--teal-dark);
  padding-bottom: 14px;
  margin-bottom: 36px;
}

/* Section headings */
.privacy-policy-container h2,
.legal-notice-container h2,
.usage-right-container h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--teal-dark);
  margin-top: 32px;
  margin-bottom: 10px;
}

/* Sub-headings */
.privacy-policy-container h3,
.legal-notice-container h3,
.usage-right-container h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--muted);
  margin-top: 20px;
  margin-bottom: 6px;
}

/* Body text */
.privacy-policy-container p,
.legal-notice-container p,
.usage-right-container p {
  color: #333;
  font-size: .95rem;
  line-height: 1.8;
  margin-bottom: 14px;
}

/* List items */
.privacy-policy-container li,
.legal-notice-container li,
.usage-right-container li {
  color: #333;
  font-size: .95rem;
  line-height: 1.8;
  padding: 3px 0;
}

/* Links */
.privacy-policy-container a,
.legal-notice-container a,
.usage-right-container a {
  color: var(--teal-dark);
  transition: color .15s;
}

.privacy-policy-container a:hover,
.legal-notice-container a:hover,
.usage-right-container a:hover {
  color: var(--coral);
}

/* Content blocks (Impressum sections) */
.top-left-corner {
  background: #fff;
  border: 1px solid #e6e0d4;
  border-radius: 10px;
  padding: 24px 28px;
  margin-bottom: 24px;
}

/* Back-to-start link rendered as an outlined button (scoped to legal pages
   so it overrides the generic link styles above) */
.privacy-policy-container .back-to-main-page a,
.legal-notice-container .back-to-main-page a,
.usage-right-container .back-to-main-page a {
  color: var(--teal-dark);
  font-size: .95rem;
  font-weight: 600;
  border: 1.5px solid var(--teal-dark);
  padding: 10px 22px;
  border-radius: 8px;
  transition: background .15s, color .15s;
}

.privacy-policy-container .back-to-main-page a:hover,
.legal-notice-container .back-to-main-page a:hover,
.usage-right-container .back-to-main-page a:hover {
  background: var(--teal-dark);
  color: #fff;
  text-decoration: none;
}
