/* App-Rechtsseiten; bewusst getrennt von der öffentlichen Landingpage. */
:root {
  color-scheme: light;
  --navy-950: #04152b;
  --navy-900: #08213e;
  --navy-800: #0e3155;
  --navy-700: #174a74;
  --blue-600: #1769e0;
  --blue-100: #dbeafe;
  --blue-50: #eff6ff;
  --gold-500: #c59d4d;
  --gold-100: #f7ecd5;
  --mint-500: #22b886;
  --mint-100: #d9f7eb;
  --slate-900: #152033;
  --slate-700: #354257;
  --slate-600: #536176;
  --slate-500: #6d7a8e;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --surface: #ffffff;
  --canvas: #f3f7fb;
  --shadow: 0 24px 70px rgba(8, 33, 62, 0.12);
  --font-sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 94px;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 8% 4%, rgba(23, 105, 224, 0.09), transparent 28rem),
    radial-gradient(circle at 92% 18%, rgba(34, 184, 134, 0.08), transparent 24rem),
    var(--canvas);
  color: var(--slate-700);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--blue-600);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--navy-800);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(23, 105, 224, 0.34);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.topbar {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(191, 219, 239, 0.16);
  background: rgba(4, 21, 43, 0.96);
  box-shadow: 0 8px 32px rgba(4, 21, 43, 0.13);
  color: #fff;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.topbar__inner {
  width: min(1180px, calc(100% - 32px));
  min-height: 70px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
}

.brand:hover {
  color: #fff;
}

.brand__mark {
  position: relative;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(224, 194, 128, 0.38);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(224, 194, 128, 0.17), rgba(224, 194, 128, 0.04));
  color: #f3dca7;
}

.brand__mark::after {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #5ee1b3;
  box-shadow: 0 0 0 4px rgba(94, 225, 179, 0.08);
  content: "";
}

.brand__mark svg {
  width: 22px;
  height: 22px;
}

.brand__text {
  display: grid;
  gap: 1px;
}

.brand__text strong {
  font-size: 15px;
  letter-spacing: 0.19em;
  line-height: 1.2;
}

.brand__text small {
  color: rgba(255, 255, 255, 0.58);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.topnav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.topnav a {
  padding: 8px 11px;
  border-radius: 9px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}

.topnav a:hover,
.topnav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
}

.topnav__app {
  margin-left: 5px;
  border: 1px solid rgba(224, 194, 128, 0.33);
  color: #f0d9a6 !important;
}

.page {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 44px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(32px, 5vw, 58px);
  border: 1px solid rgba(14, 49, 85, 0.09);
  border-radius: 28px;
  background:
    radial-gradient(circle at 90% 24%, rgba(66, 153, 225, 0.18), transparent 24rem),
    linear-gradient(138deg, #06172d 0%, #0c2b4c 58%, #12456d 100%);
  box-shadow: var(--shadow);
  color: #fff;
}

.hero::after {
  position: absolute;
  right: -110px;
  bottom: -200px;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  box-shadow:
    0 0 0 42px rgba(255, 255, 255, 0.025),
    0 0 0 88px rgba(255, 255, 255, 0.018);
  content: "";
}

.eyebrow {
  position: relative;
  z-index: 1;
  margin: 0 0 12px;
  color: #8de7ca;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.hero h1 {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 6vw, 58px);
  font-weight: 760;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.hero__lead {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 18px 0 0;
  color: rgba(244, 249, 255, 0.79);
  font-size: clamp(16px, 2.2vw, 19px);
  line-height: 1.65;
}

.hero__meta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 26px;
}

.hero__meta span {
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.73);
  font-size: 11px;
  font-weight: 700;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 18px 0;
}

.quick-card {
  min-height: 146px;
  padding: 21px;
  border: 1px solid var(--slate-200);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 28px rgba(8, 33, 62, 0.055);
}

.quick-card__icon {
  display: grid;
  width: 35px;
  height: 35px;
  margin-bottom: 15px;
  place-items: center;
  border-radius: 10px;
  background: var(--blue-50);
  color: var(--blue-600);
  font-size: 16px;
  font-weight: 800;
}

.quick-card strong,
.quick-card span {
  display: block;
}

.quick-card strong {
  margin-bottom: 5px;
  color: var(--slate-900);
  font-size: 14px;
}

.quick-card span {
  color: var(--slate-600);
  font-size: 13px;
  line-height: 1.55;
}

.legal-layout {
  display: grid;
  grid-template-columns: 246px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.toc {
  position: sticky;
  top: 88px;
  padding: 19px;
  border: 1px solid var(--slate-200);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.91);
  box-shadow: 0 10px 28px rgba(8, 33, 62, 0.055);
}

.toc__title {
  margin: 0 0 11px;
  color: var(--slate-900);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
}

.toc li {
  counter-increment: toc;
}

.toc a {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 7px;
  padding: 6px 4px;
  border-radius: 6px;
  color: var(--slate-600);
  font-size: 12px;
  line-height: 1.35;
  text-decoration: none;
}

.toc a::before {
  color: #8a97aa;
  content: counter(toc, decimal-leading-zero);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.04em;
  transform: translateY(2px);
}

.toc a:hover {
  background: var(--slate-100);
  color: var(--blue-600);
}

.toc__contact {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--slate-200);
  color: var(--slate-500);
  font-size: 11px;
  line-height: 1.5;
}

.toc__contact a {
  display: inline;
  padding: 0;
  font-size: inherit;
  overflow-wrap: anywhere;
}

.toc__contact a::before {
  content: none;
}

.document {
  overflow: hidden;
  border: 1px solid var(--slate-200);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 16px 42px rgba(8, 33, 62, 0.07);
}

.document__intro {
  padding: clamp(24px, 4vw, 42px);
  border-bottom: 1px solid var(--slate-200);
  background: linear-gradient(135deg, #fff, #f8fbff);
}

.document__intro p {
  max-width: 760px;
  margin: 0;
  color: var(--slate-600);
}

.document section {
  padding: clamp(25px, 4vw, 42px);
  border-bottom: 1px solid var(--slate-200);
}

.document section:last-child {
  border-bottom: 0;
}

.section-label {
  margin: 0 0 9px;
  color: var(--blue-600);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.document h2 {
  margin: 0 0 16px;
  color: var(--slate-900);
  font-size: clamp(21px, 3vw, 28px);
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.document h3 {
  margin: 26px 0 9px;
  color: var(--navy-800);
  font-size: 16px;
  line-height: 1.35;
}

.document p {
  margin: 0 0 14px;
}

.document p:last-child {
  margin-bottom: 0;
}

.document ul,
.document ol:not(.plain-list) {
  margin: 12px 0 16px;
  padding-left: 22px;
}

.document li {
  margin: 6px 0;
}

.address {
  margin: 0;
  color: var(--slate-900);
  font-style: normal;
  font-weight: 570;
  line-height: 1.7;
}

.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 4px;
}

.fact {
  padding: 17px 18px;
  border: 1px solid var(--slate-200);
  border-radius: 14px;
  background: #fbfdff;
}

.fact dt {
  margin-bottom: 4px;
  color: var(--slate-500);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.fact dd {
  margin: 0;
  color: var(--slate-900);
  font-size: 14px;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.callout {
  margin: 20px 0 4px;
  padding: 18px 20px;
  border: 1px solid #bfdbfe;
  border-left: 4px solid var(--blue-600);
  border-radius: 12px;
  background: var(--blue-50);
  color: #243b5a;
}

.callout--mint {
  border-color: #a7efd5;
  border-left-color: var(--mint-500);
  background: #edfcf6;
  color: #174b3b;
}

.callout--gold {
  border-color: #ead3a4;
  border-left-color: var(--gold-500);
  background: #fffaf0;
  color: #5d4721;
}

.callout strong {
  color: inherit;
}

.table-wrap {
  width: 100%;
  margin: 18px 0 6px;
  overflow-x: auto;
  border: 1px solid var(--slate-200);
  border-radius: 14px;
}

table {
  width: 100%;
  min-width: 670px;
  border-collapse: collapse;
  font-size: 13px;
  line-height: 1.5;
}

th,
td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--slate-200);
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--slate-100);
  color: var(--slate-900);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

tbody tr:last-child td {
  border-bottom: 0;
}

tbody tr:nth-child(even) td {
  background: #fbfdff;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--mint-100);
  color: #12684d;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.pill::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--mint-500);
  content: "";
}

.contact-box {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 13px;
  margin-top: 18px;
}

.contact-box > div {
  padding: 20px;
  border: 1px solid var(--slate-200);
  border-radius: 15px;
  background: #fbfdff;
}

.contact-box strong {
  display: block;
  margin-bottom: 4px;
  color: var(--slate-900);
}

.contact-box a {
  overflow-wrap: anywhere;
}

.back-top {
  display: inline-flex;
  margin-top: 18px;
  color: var(--slate-500);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 25px 2px 0;
  color: var(--slate-500);
  font-size: 11px;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer a {
  color: var(--slate-600);
  font-weight: 650;
}

@media (max-width: 900px) {
  .quick-grid {
    grid-template-columns: 1fr;
  }

  .quick-card {
    min-height: 0;
  }

  .legal-layout {
    grid-template-columns: 1fr;
  }

  .toc {
    position: static;
  }

  .toc ol {
    columns: 2;
    column-gap: 20px;
  }

  .toc li {
    break-inside: avoid;
  }
}

@media (max-width: 660px) {
  html {
    scroll-padding-top: 76px;
  }

  .topbar__inner,
  .page {
    width: min(100% - 20px, 1180px);
  }

  .topbar__inner {
    min-height: 62px;
  }

  .brand__text small,
  .topnav a:not([aria-current="page"]):not(.topnav__app) {
    display: none;
  }

  .topnav a {
    padding: 7px 8px;
    font-size: 11px;
  }

  .page {
    padding-top: 14px;
  }

  .hero {
    padding: 28px 22px;
    border-radius: 20px;
  }

  .hero__meta {
    gap: 6px;
  }

  .hero__meta span {
    font-size: 10px;
  }

  .toc ol {
    columns: 1;
  }

  .facts,
  .contact-box {
    grid-template-columns: 1fr;
  }

  .document {
    border-radius: 17px;
  }

  .document__intro,
  .document section {
    padding: 23px 20px;
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media print {
  @page {
    margin: 16mm;
  }

  body {
    background: #fff;
    color: #111827;
    font-size: 10.5pt;
  }

  .skip-link,
  .topbar,
  .toc,
  .quick-grid,
  .back-top,
  .footer nav {
    display: none !important;
  }

  .page {
    width: 100%;
    padding: 0;
  }

  .hero {
    padding: 0 0 10mm;
    border: 0;
    background: #fff;
    box-shadow: none;
    color: #111827;
  }

  .hero h1,
  .hero__lead,
  .hero__meta span,
  .eyebrow {
    color: #111827;
  }

  .hero__meta span {
    border-color: #d1d5db;
  }

  .legal-layout {
    display: block;
  }

  .document {
    border: 0;
    box-shadow: none;
  }

  .document__intro,
  .document section {
    padding: 6mm 0;
    break-inside: avoid;
  }

  .table-wrap {
    overflow: visible;
  }

  table {
    min-width: 0;
    font-size: 8pt;
  }

  a {
    color: inherit;
    text-decoration: none;
  }

  .footer {
    border-top: 1px solid #d1d5db;
  }
}
