.impressum-container1 {
  width: 100%;
  display: block;
  min-height: 100vh;
}
 
.impressum-thq-legal-link-elm1 {
  color: var(--color-primary);
  position: relative;
  text-decoration: none;
}
 
.impressum-thq-legal-link-elm2 {
  color: var(--color-primary);
  position: relative;
  text-decoration: none;
}
 
.impressum-thq-legal-link-elm3 {
  color: var(--color-primary);
  position: relative;
  text-decoration: none;
}
 
.impressum-container2 {
  display: none;
}
 
.impressum-container3 {
  display: contents;
}
 
.impressum-container4 {
  right: 50px;
  border: 1px solid #ffffff5c;
  bottom: 30px;
  display: flex;
  z-index: 22;
  position: fixed;
  box-shadow: 5px 5px 10px 0px rgba(31, 31, 31, 0.4);
  min-height: auto;
  align-items: center;
  padding-top: 8px;
  padding-left: 12px;
  border-radius: 8px;
  padding-right: 12px;
  padding-bottom: 8px;
  backdrop-filter: blur(6px);
  background-color: rgba(41, 41, 41, 0.41);
}
 
.impressum-icon24 {
  width: 24px;
  margin-right: 4px;
}
 
.impressum-text8 {
  color: white;
  font-size: 13px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px;
}

/*
 * Enhance the styling of all legal pages (Impressum, AGB, Barrierefreiheit).
 * We reuse this stylesheet across multiple pages to ensure a cohesive look
 * and feel that matches the dark theme of the main site. The content area
 * is centred and uses subtle card backgrounds for each section.
 */

body {
  background-color: var(--color-surface);
  color: var(--color-on-surface);
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

.legal-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-align: center;
  color: var(--color-accent);
}

.legal-card {
  background-color: var(--color-surface-elevated);
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.legal-card h2 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  color: var(--color-accent);
}

.legal-card h3 {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--color-accent1);
}

.legal-card p,
.legal-card li {
  color: var(--color-on-surface-secondary);
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.legal-card ul {
  padding-left: 1.5rem;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.legal-footer {
  text-align: center;
  margin-top: 2rem;
}

.legal-footer p {
  color: var(--color-on-surface-secondary);
  margin-bottom: 1rem;
}

.legal-footer a.btn {
  display: inline-block;
}
