body.legal-page {
  padding-top: calc(var(--flexlast-header-height, 136px) + 12px);
  background:
    radial-gradient(circle at top right, rgba(0, 184, 64, 0.08), transparent 32%),
    radial-gradient(circle at top left, rgba(148, 163, 184, 0.16), transparent 26%),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 46%, #f8fafc 100%);
}

body.legal-page app-header {
  display: block;
}

body.legal-page app-header:empty {
  display: block;
  min-height: var(--flexlast-header-height, 136px);
}

body.legal-page .header-dropdown,
body.legal-page .header-menu-panel,
body.legal-page .header-menu-locale-options,
body.legal-page .header-nav-dropdown-panel,
body.legal-page .header-nav-dropdown-backdrop {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

body.legal-page .header-locale-switch.is-open .header-dropdown,
body.legal-page .header-locale-switch:focus-within .header-dropdown,
body.legal-page .header-menu.is-open .header-dropdown,
body.legal-page .header-menu-locale-switch.is-open .header-menu-locale-options,
body.legal-page .header-menu-locale-switch:focus-within .header-menu-locale-options,
body.legal-page .header-nav-item--has-dropdown.is-open .header-nav-dropdown-panel,
body.legal-page .header-nav-item--has-dropdown.is-open .header-nav-dropdown-backdrop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.legal-page--minimal {
  background: #ffffff;
}

body.legal-page .header {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
}

body.legal-page .header::after,
body.legal-page .top-bar::after {
  border-bottom-color: rgba(226, 232, 240, 0.9);
}

body.legal-page .main-nav .logo {
  text-decoration: none;
}

body.legal-page .nav-links a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

body.legal-page .nav-links a:hover {
  color: #00b840;
}

.legal-nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.legal-theme-slot {
  display: flex;
}

.legal-theme-slot .theme-toggle-button {
  min-width: 48px;
  width: 48px;
  height: 48px;
  padding: 0;
  justify-content: center;
  border-radius: 16px;
  box-shadow: none;
}

.legal-theme-slot .theme-toggle-button:hover {
  transform: none;
  box-shadow: none;
}

.legal-theme-slot .theme-toggle-label {
  display: none;
}

.legal-theme-slot .theme-toggle-dot {
  width: 26px;
  height: 26px;
}

.legal-header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #111827;
}

.legal-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 48px 5% 72px;
}

body.legal-page--minimal .legal-main {
  max-width: 1040px;
  padding-top: 8px;
}

.legal-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 24px;
}

body.legal-page--minimal .legal-hero {
  display: block;
  margin-bottom: 40px;
}

.legal-hero-copy {
  max-width: 760px;
}

body.legal-page--minimal .legal-hero-copy {
  max-width: 900px;
  margin: 0 auto;
}

.legal-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 14px;
  border: 1px solid #d6d6d6;
  border-radius: 999px;
  background: #f7f7f7;
  color: #4b5563;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

.legal-page-title {
  margin: 18px 0 14px;
  color: #0f172a;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.03em;
}

body.legal-page--minimal .legal-page-title {
  margin-top: 0;
  margin-bottom: 0;
  font-size: clamp(38px, 4.5vw, 64px);
  line-height: 1;
  letter-spacing: -0.045em;
  white-space: nowrap;
}

.legal-page-subtitle {
  margin: 0;
  max-width: 720px;
  color: #475569;
  font-size: 18px;
  line-height: 1.7;
}

body.legal-page--minimal .legal-page-subtitle {
  max-width: 760px;
  color: #64748b;
  font-size: 17px;
  line-height: 1.75;
}

.legal-summary {
  min-width: 220px;
  max-width: 260px;
  padding: 18px 20px;
  border: 1px solid #dbe3ee;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

.legal-summary-label {
  display: block;
  margin-bottom: 10px;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal-summary strong {
  display: block;
  color: #111827;
  font-size: 28px;
  line-height: 1.1;
}

.legal-summary span:last-child {
  display: block;
  margin-top: 6px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.5;
}

.legal-content-card {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.08);
}

body.legal-page--minimal .legal-content-card {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  max-width: 700px;
  margin: 0 auto;
}

.legal-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

body.legal-page--minimal .legal-switcher {
  gap: 20px;
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e5e7eb;
}

.legal-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  background: #fff;
  color: #111827;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

body.legal-page--minimal .legal-chip {
  min-height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #64748b;
  font-size: 15px;
  font-weight: 700;
}

.legal-chip:hover,
.legal-chip.is-active {
  background: #111827;
  border-color: #111827;
  color: #fff;
}

body.legal-page--minimal .legal-chip:hover,
body.legal-page--minimal .legal-chip.is-active {
  background: transparent;
  border-color: transparent;
  color: #0f172a;
}

.legal-note {
  margin: 0 0 28px;
  padding: 16px 18px;
  border: 1px solid transparent;
  border-radius: 20px;
  font-size: 15px;
  line-height: 1.65;
}

.legal-note.is-success {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #166534;
}

.legal-note.is-warning {
  background: #fffbeb;
  border-color: #fcd34d;
  color: #92400e;
}

.legal-note.is-danger {
  background: #fef2f2;
  border-color: #fca5a5;
  color: #991b1b;
}

.legal-section + .legal-section {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid #eef2f7;
}

body.legal-page--minimal .legal-section + .legal-section {
  margin-top: 38px;
  padding-top: 0;
  border-top: 0;
}

body.legal-page--minimal .legal-section {
  max-width: none;
}

.legal-section h2 {
  margin: 0 0 10px;
  color: #0f172a;
  font-size: 22px;
  line-height: 1.3;
}

body.legal-page--minimal .legal-section h2 {
  margin-bottom: 16px;
  color: #0f172a;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

.legal-section p,
.legal-section li {
  color: #475569;
  font-size: 16px;
  line-height: 1.75;
}

body.legal-page--minimal .legal-section p,
body.legal-page--minimal .legal-section li {
  color: #3f4b5d;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.92;
  letter-spacing: -0.003em;
}

.legal-section p + p {
  margin-top: 10px;
}

body.legal-page--minimal .legal-section p + p {
  margin-top: 16px;
}

.legal-section ul {
  margin: 12px 0 0;
  padding-left: 22px;
}

body.legal-page--minimal .legal-section ul {
  margin-top: 14px;
  padding-left: 20px;
}

body.legal-page--minimal .legal-section li + li {
  margin-top: 8px;
}

.legal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #e2e8f0;
}

body.legal-page--minimal .legal-footer {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 0;
}

.legal-footer-copy {
  color: #64748b;
  font-size: 14px;
  line-height: 1.6;
}

.legal-footer-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  background: #fff;
  color: #111827;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.legal-footer-link:hover {
  background: #111827;
  border-color: #111827;
  color: #fff;
}

body.legal-page--minimal .legal-footer-link {
  border-color: #d1d5db;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
}

html:not([data-theme='light']) body.legal-page .header {
  background: rgba(7, 17, 28, 0.82);
}

html:not([data-theme='light']) body.legal-page--minimal {
  background: #0b1220;
}

html:not([data-theme='light']) body.legal-page .header::after,
html:not([data-theme='light']) body.legal-page .top-bar::after {
  border-bottom-color: rgba(148, 163, 184, 0.16);
}

html:not([data-theme='light']) .legal-kicker {
  background: #f7f7f7;
  border-color: #d6d6d6;
  color: #4b5563;
}

html:not([data-theme='light']) .legal-page-title,
html:not([data-theme='light']) .legal-section h2,
html:not([data-theme='light']) .legal-summary strong {
  color: #e5edf6;
}

html:not([data-theme='light']) .legal-page-subtitle,
html:not([data-theme='light']) .legal-summary-label,
html:not([data-theme='light']) .legal-summary span:last-child,
html:not([data-theme='light']) .legal-section p,
html:not([data-theme='light']) .legal-section li,
html:not([data-theme='light']) .legal-footer-copy {
  color: #94a3b8;
}

html:not([data-theme='light']) .legal-summary,
html:not([data-theme='light']) .legal-content-card {
  background: rgba(15, 23, 36, 0.92);
  border-color: rgba(148, 163, 184, 0.16);
  box-shadow: 0 24px 64px rgba(2, 8, 23, 0.38);
}

html:not([data-theme='light']) body.legal-page--minimal .legal-content-card {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

html:not([data-theme='light']) .legal-chip,
html:not([data-theme='light']) .legal-footer-link {
  background: rgba(15, 23, 36, 0.72);
  border-color: rgba(148, 163, 184, 0.18);
  color: #e5edf6;
}

html:not([data-theme='light']) .legal-chip:hover,
html:not([data-theme='light']) .legal-chip.is-active,
html:not([data-theme='light']) .legal-footer-link:hover {
  background: #22c55e;
  border-color: #22c55e;
  color: #04110a;
}

html:not([data-theme='light']) body.legal-page--minimal .legal-switcher {
  border-bottom-color: rgba(148, 163, 184, 0.18);
}

html:not([data-theme='light']) body.legal-page--minimal .legal-chip {
  background: transparent;
  border-color: transparent;
  color: #94a3b8;
}

html:not([data-theme='light']) body.legal-page--minimal .legal-chip:hover,
html:not([data-theme='light']) body.legal-page--minimal .legal-chip.is-active {
  background: transparent;
  border-color: transparent;
  color: #e5edf6;
}

html:not([data-theme='light']) body.legal-page--minimal .legal-section + .legal-section,
html:not([data-theme='light']) body.legal-page--minimal .legal-footer {
  border-top: 0;
}

html:not([data-theme='light']) .legal-note.is-success {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.2);
  color: #86efac;
}

html:not([data-theme='light']) .legal-note.is-warning {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.2);
  color: #fcd34d;
}

html:not([data-theme='light']) .legal-note.is-danger {
  background: rgba(248, 113, 113, 0.12);
  border-color: rgba(248, 113, 113, 0.2);
  color: #fca5a5;
}

html:not([data-theme='light']) .legal-section + .legal-section,
html:not([data-theme='light']) .legal-footer {
  border-top-color: rgba(148, 163, 184, 0.12);
}

html:not([data-theme='light']) .legal-theme-slot .theme-toggle-button {
  background: rgba(15, 23, 36, 0.92);
  border-color: rgba(148, 163, 184, 0.18);
}

html:not([data-theme='light']) .legal-header-cta {
  background: rgba(15, 23, 36, 0.72);
  border-color: rgba(148, 163, 184, 0.18);
  color: #e5edf6;
}

html:not([data-theme='light']) .legal-header-cta:hover {
  background: rgba(20, 32, 51, 0.86);
}

html:not([data-theme='light']) body.legal-page .nav-links a:hover {
  color: #86efac;
}

@media (max-width: 1100px) {
  body.legal-page {
    padding-top: 148px;
  }

  .legal-hero {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  body.legal-page {
    padding-top: 172px;
  }

  body.legal-page .header {
    padding: 14px 0;
  }

  body.legal-page .header .container {
    padding: 0 16px;
  }

  body.legal-page .top-bar {
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
    padding-bottom: 12px;
  }

  body.legal-page .nav-links {
    gap: 12px 18px;
    font-size: 13px;
  }

  .legal-nav-actions {
    width: 100%;
    justify-content: space-between;
  }

  .legal-main {
    padding: 30px 16px 56px;
  }

  body.legal-page--minimal .legal-main {
    padding-top: 24px;
  }

  .legal-content-card {
    padding: 24px 18px;
    border-radius: 24px;
  }

  body.legal-page--minimal .legal-content-card {
    padding: 0;
    border-radius: 0;
  }

  .legal-page-title {
    font-size: 38px;
  }

  body.legal-page--minimal .legal-page-title {
    max-width: none;
    font-size: 38px;
    line-height: 1.04;
  }

  body.legal-page--minimal .legal-section {
    max-width: none;
  }

  body.legal-page--minimal .legal-section h2 {
    margin-bottom: 12px;
    font-size: 17px;
  }

  body.legal-page--minimal .legal-section p,
  body.legal-page--minimal .legal-section li {
    font-size: 15px;
    line-height: 1.82;
  }

  .legal-page-subtitle {
    font-size: 16px;
  }

  .legal-section h2 {
    font-size: 20px;
  }

  .legal-section p,
  .legal-section li {
    font-size: 15px;
  }
}

body.legal-page--imprint {
  background: #ffffff;
}

body.legal-page--imprint .legal-main {
  max-width: 1280px;
  padding: 40px 5% 28px;
}

body.legal-page--imprint .legal-imprint-shell {
  max-width: 1160px;
  margin: 0 auto;
}

body.legal-page--imprint .legal-imprint-hero {
  display: block;
  padding-bottom: 20px;
  border-bottom: 1px solid #e5e7eb;
}

body.legal-page--imprint .legal-imprint-hero-copy {
  min-width: 0;
}

body.legal-page--imprint .legal-imprint-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  min-height: 32px;
  padding: 0 14px;
  border: 1px solid #d6d6d6;
  border-radius: 999px;
  background: #f7f7f7;
  color: #4b5563;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}

body.legal-page--imprint .legal-imprint-title {
  margin: 0;
  color: #111827;
  font-size: clamp(32px, 3.8vw, 48px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: 0;
  text-transform: none;
}

body.legal-page--imprint .legal-imprint-lead {
  max-width: 860px;
  margin: 0;
  color: #1f2937;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.015em;
}

body.legal-page--imprint .legal-imprint-grid {
  margin-top: 24px;
}

body.legal-page--imprint + .site-footer,
body.legal-page--imprint .site-footer {
  margin-top: 0;
}

body.legal-page--imprint .legal-imprint-row {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 36px;
  padding: 22px 0;
  border-bottom: 1px solid #e5e7eb;
}

body.legal-page--imprint .legal-imprint-row:last-child {
  border-bottom: 0;
}

body.legal-page--imprint .legal-imprint-label {
  color: #5b667a;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.legal-page--imprint .legal-imprint-value p {
  margin: 0;
  color: #1f2937;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0;
}

body.legal-page--imprint .legal-imprint-value p + p {
  margin-top: 8px;
}

body.legal-page--imprint .legal-imprint-value strong {
  color: #111827;
  font-weight: 800;
}

body.legal-page--imprint .legal-imprint-value a {
  color: #00b840;
  text-decoration: none;
}

body.legal-page--imprint .legal-imprint-value a:hover {
  text-decoration: underline;
}

html:not([data-theme='light']) body.legal-page--imprint {
  background: #ffffff;
}

html:not([data-theme='light']) body.legal-page--imprint .legal-imprint-title {
  color: #111827;
}

html:not([data-theme='light']) body.legal-page--imprint .legal-imprint-lead,
html:not([data-theme='light']) body.legal-page--imprint .legal-imprint-label,
html:not([data-theme='light']) body.legal-page--imprint .legal-imprint-value p {
  color: #1f2937;
}

html:not([data-theme='light']) body.legal-page--imprint .legal-imprint-eyebrow {
  color: #4b5563;
}

html:not([data-theme='light']) body.legal-page--imprint .legal-imprint-aside strong,
html:not([data-theme='light']) body.legal-page--imprint .legal-imprint-value strong {
  color: #111827;
}

html:not([data-theme='light']) body.legal-page--imprint .legal-imprint-value a {
  color: #00b840;
}

@media (max-width: 720px) {
  body.legal-page--imprint .legal-main {
    padding: 32px 16px 18px;
  }

  body.legal-page--imprint .legal-imprint-hero {
    padding-bottom: 18px;
  }

  body.legal-page--imprint .legal-imprint-eyebrow {
    margin-bottom: 10px;
    padding: 0 12px;
    font-size: 11px;
  }

  body.legal-page--imprint .legal-imprint-title {
    font-size: 34px;
    line-height: 1.04;
  }

  body.legal-page--imprint .legal-imprint-lead {
    font-size: 18px;
    line-height: 1.5;
  }

  body.legal-page--imprint .legal-imprint-grid {
    margin-top: 18px;
  }

  body.legal-page--imprint .legal-imprint-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 18px 0;
  }

  body.legal-page--imprint .legal-imprint-label {
    font-size: 12px;
  }

  body.legal-page--imprint .legal-imprint-value p {
    font-size: 18px;
    line-height: 1.52;
  }
}

@media (min-width: 391px) and (max-width: 560px) {
  body.legal-page .moving-footer-app--inline {
    width: auto;
    max-width: 100%;
  }

  body.legal-page .moving-footer-app--inline .app-badges {
    display: flex;
    width: auto;
    max-width: 100%;
    gap: 8px;
    flex-wrap: nowrap;
    justify-content: center;
  }

  body.legal-page .moving-footer-app--inline .store-badge {
    width: auto;
    max-width: none;
    flex: 0 0 auto;
  }

  body.legal-page .moving-footer-app--inline .store-badge img {
    width: auto;
    max-width: 100%;
    height: 44px;
  }
}
