
    @font-face {
      font-family: "GT Standard";
      src: url('/assets/fonts/GT-Standard-M-Standard-Medium.woff2') format("woff2"),
           url("/assets/fonts/GT-Standard-M-Standard-Medium.woff") format("woff");
      font-weight: 500;
      font-style: normal;
      font-display: swap;
    }

    @font-face {
      font-family: "GT Standard";
      src: url('/assets/fonts/GT-Standard-M-Standard-Medium-Oblique.woff2') format("woff2"),
           url("/assets/fonts/GT-Standard-M-Standard-Medium-Oblique.woff") format("woff");
      font-weight: 500;
      font-style: italic;
      font-display: swap;
    }

    :root {
      --responsive-rem-base: 1.1vw;
      --safe-top: env(safe-area-inset-top, 0);
      --safe-right: env(safe-area-inset-right, 0);
      --safe-bottom: env(safe-area-inset-bottom, 0);
      --safe-left: env(safe-area-inset-left, 0);
      --page-edge-offset: 1rem;
      --overview-link-width: 20.5rem;
      --wendepunkte-gap: 0.5rem;
      --unterschriften-panel-max-width: 26.875rem;
      --ink: #1b2f49;
      --paper: #cfe8fb;
      --accent: #6fb0d6;
      --accent-2: #4f8fbd;
      --panel: #cfe8fb;
      --shadow: 0 1.5rem 4.375rem rgba(14, 24, 37, 0.35);
      --radius: 1.375rem;
      --overlay-radius: calc((var(--radius) - 0.25rem) / 2);
      --button-radius: var(--overlay-radius);
      --overlay-content-line-height: 1.45;
      --overlay-line-space: calc(1em * var(--overlay-content-line-height));
      --overlay-heading-gap-before: calc(var(--overlay-line-space) * 2);
      --overlay-heading-gap-after: calc(var(--overlay-line-space) * 0.5);
      --overlay-block-distance-bottom: var(--overlay-line-space);
      --button-font-size: 0.8125rem;
      --button-padding-y: 0.3rem;
      --button-padding-y-bottom: 0.4rem;
      --button-padding-x: 0.5rem;
      --button-padding: var(--button-padding-y) var(--button-padding-x) var(--button-padding-y-bottom) var(--button-padding-x);
      --font-display: "GT Standard", system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif;
      --font-ui: "GT Standard", system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif;
      --font-mono: "GT Standard", system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif;
    }

    *,
    *::before,
    *::after {
      box-sizing: border-box;
      font-family: var(--font-ui);
    }

    html {
      font-size: var(--responsive-rem-base);
    }

    html,
    body {
      width: 100%;
      height: 100%;
      overflow: hidden;
      overscroll-behavior: none;
      background: #111a27;
    }

    body {
      margin: 0;
      font-family: var(--font-ui);
      font-weight: 600;
      color: var(--paper);
      background: radial-gradient(circle at top left, #263a56 0%, #202f45 45%, #1a2738 100%);
      min-height: 100vh;
      min-height: 100svh;
      min-height: 100dvh;
      overflow: hidden;
      touch-action: manipulation;
    }

    body[data-font-rendering-mode="optimizeLegibility"],
    body[data-font-rendering-mode="optimizeLegibility"] *,
    body[data-font-rendering-mode="optimizeLegibility"] *::before,
    body[data-font-rendering-mode="optimizeLegibility"] *::after {
      text-rendering: optimizeLegibility !important;
    }

    body[data-font-rendering-mode="geometricPrecision"],
    body[data-font-rendering-mode="geometricPrecision"] *,
    body[data-font-rendering-mode="geometricPrecision"] *::before,
    body[data-font-rendering-mode="geometricPrecision"] *::after {
      text-rendering: geometricPrecision !important;
    }

    body[data-font-rendering-mode="optimizeSpeed"],
    body[data-font-rendering-mode="optimizeSpeed"] *,
    body[data-font-rendering-mode="optimizeSpeed"] *::before,
    body[data-font-rendering-mode="optimizeSpeed"] *::after {
      text-rendering: optimizeSpeed !important;
    }

    body[data-font-rendering-mode="webkitAntialiased"],
    body[data-font-rendering-mode="webkitAntialiased"] *,
    body[data-font-rendering-mode="webkitAntialiased"] *::before,
    body[data-font-rendering-mode="webkitAntialiased"] *::after {
      -webkit-font-smoothing: antialiased !important;
    }

    body[data-font-rendering-mode="webkitSubpixel"],
    body[data-font-rendering-mode="webkitSubpixel"] *,
    body[data-font-rendering-mode="webkitSubpixel"] *::before,
    body[data-font-rendering-mode="webkitSubpixel"] *::after {
      -webkit-font-smoothing: subpixel-antialiased !important;
    }

    body[data-font-rendering-mode="mozGrayscale"],
    body[data-font-rendering-mode="mozGrayscale"] *,
    body[data-font-rendering-mode="mozGrayscale"] *::before,
    body[data-font-rendering-mode="mozGrayscale"] *::after {
      -moz-osx-font-smoothing: grayscale !important;
    }

    body[data-font-rendering-mode="crisp"],
    body[data-font-rendering-mode="crisp"] *,
    body[data-font-rendering-mode="crisp"] *::before,
    body[data-font-rendering-mode="crisp"] *::after {
      text-rendering: optimizeLegibility !important;
      -webkit-font-smoothing: antialiased !important;
      -moz-osx-font-smoothing: grayscale !important;
    }

    body.debug-theme-light {
      --ink: #101010;
      --paper: #101010;
      --panel: #ffffff;
      --accent: #101010;
      --accent-2: #101010;
      background: #ffffff;
      color: #101010;
    }

    body.debug-theme-light .viewer {
      background: #ffffff;
    }

    body.debug-theme-light .viewer::before {
      display: none;
    }

    body.debug-theme-light .page-header h1,
    body.debug-theme-light .lang-switch a,
    body.debug-theme-light .lang-switch button,
    body.debug-theme-light .overlay,
    body.debug-theme-light .overlay .content {
      color: #101010;
    }

    body.debug-theme-light .overview-link__button,
    body.debug-theme-light .list-link__button,
    body.debug-theme-light .lang-switch a,
    body.debug-theme-light .lang-switch button,
    body.debug-theme-light .timeline-scrubber,
    body.debug-theme-light .list-link__panel {
      background: rgba(255, 255, 255, 0.95);
      color: #101010;
      border-color: rgba(16, 16, 16, 0.25);
      box-shadow: 0 0.875rem 1.625rem rgba(12, 12, 12, 0.12);
    }

    body.debug-theme-light .list-link__panel-footer {
      background: rgba(255, 255, 255, 0.98);
      border-top-color: rgba(16, 16, 16, 0.15);
    }

    body.debug-theme-light .list-link__panel-inner,
    body.debug-theme-light .list-link__panel button,
    body.debug-theme-light .list-link__year-table,
    body.debug-theme-light .list-link__year-table-title {
      color: #101010;
    }

    body.debug-theme-light .list-link__panel button:hover {
      border-color: rgba(16, 16, 16, 0.24);
      background: rgba(16, 16, 16, 0.06);
    }

    body.debug-theme-light .list-link__year-table-wrap {
      border-top-color: rgba(16, 16, 16, 0.18);
    }


    body.debug-theme-light .list-link__year-table th,
    body.debug-theme-light .list-link__year-table td {
      border-bottom-color: rgba(16, 16, 16, 0.12);
    }

    body.debug-theme-bw {
      --ink: #f2f2f2;
      --paper: #f2f2f2;
      --panel: #0a0a0a;
      --accent: #f2f2f2;
      --accent-2: #f2f2f2;
      background: #000000;
      color: #f2f2f2;
    }

    body.debug-theme-bw .viewer {
      background: #000000;
    }

    body.debug-theme-bw .viewer::before {
      display: none;
    }

    body.debug-theme-bw .page-header h1,
    body.debug-theme-bw .lang-switch a,
    body.debug-theme-bw .lang-switch button,
    body.debug-theme-bw .overlay,
    body.debug-theme-bw .overlay .content {
      color: #f2f2f2;
    }

    body.debug-theme-bw .overview-link__button,
    body.debug-theme-bw .list-link__button,
    body.debug-theme-bw .lang-switch a,
    body.debug-theme-bw .lang-switch button,
    body.debug-theme-bw .timeline-scrubber,
    body.debug-theme-bw .list-link__panel {
      background: rgba(0, 0, 0, 0.92);
      color: #f2f2f2;
      border-color: rgba(255, 255, 255, 0.24);
      box-shadow: 0 0.875rem 1.625rem rgba(0, 0, 0, 0.45);
    }

    body.debug-theme-bw .list-link__panel-footer {
      background: rgba(0, 0, 0, 0.96);
      border-top-color: rgba(255, 255, 255, 0.2);
    }


    .viewer-shell {
      height: 100vh;
      height: 100svh;
      height: 100dvh;
      min-height: 100svh;
      min-height: 100dvh;
      display: grid;
      grid-template-rows: 1fr;
    }

    body:not(.is-home) .viewer-shell {
      height: calc(100vh + var(--safe-bottom));
      height: calc(100svh + var(--safe-bottom));
      height: calc(100dvh + var(--safe-bottom));
      min-height: calc(100svh + var(--safe-bottom));
      min-height: calc(100dvh + var(--safe-bottom));
    }

    .page-header {
      position: absolute;
      top: calc(var(--page-edge-offset) + var(--safe-top));
      left: calc(var(--page-edge-offset) + var(--safe-left));
      right: calc(var(--page-edge-offset) + var(--safe-right));
      z-index: 5;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      flex-wrap: wrap;
    }

    .page-header h1 {
      margin: 0;
      font-family: var(--font-display);
      font-weight: 600;
      font-size: clamp(1.125rem, 2.2vw, 1.75rem);
      letter-spacing: 0.03125rem;
      color: var(--paper);
    }

    .site-logo {
      position: fixed;
      right: calc(var(--page-edge-offset) + var(--safe-right));
      bottom: calc(var(--page-edge-offset) + var(--safe-bottom));
      z-index: 6;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: min(8.75rem, 28vw);
      color: var(--paper);
    }

    .site-logo svg {
      width: 100%;
      height: auto;
      display: block;
    }

    .page-header .site-logo[hidden],
    .page-header h1[hidden] {
      display: none !important;
    }

    .controls-hint {
      display: flex;
      gap: 0.875rem;
      align-items: center;
      font-size: 0.875rem;
      color: rgba(27, 27, 27, 0.7);
    }

    .controls-hint span {
      display: inline-flex;
      gap: 0.375rem;
      align-items: center;
      padding: 0.375rem 0.75rem;
      border-radius: 62.4375rem;
      background: rgba(255, 255, 255, 0.6);
      border: 0.0625rem solid rgba(27, 27, 27, 0.1);
    }

    .viewer {
      position: relative;
      margin: 0;
      border-radius: 0;
      overflow: hidden;
      box-shadow: var(--shadow);
      background: radial-gradient(circle at 52% 46%, #1f2f46 0%, #1a273a 52%, #15202f 82%, #111a27 100%);
      height: 100%;
      min-height: 100%;
      touch-action: manipulation;
    }

    .viewer::before {
      content: "";
      position: absolute;
      inset: 0;
      background: radial-gradient(circle at 52% 46%, rgba(17, 28, 42, 0.04) 0%, rgba(12, 18, 28, 0.03) 34%, rgba(0, 0, 0, 0) 70%);
      pointer-events: none;
      z-index: 0;
    }

    #canvas {
      width: calc(100% + 52vw);
      height: 100%;
      display: block;
      position: absolute;
      left: -26vw;
      top: 0;
      z-index: 1;
      transition: opacity 0.18s ease, transform 0.35s ease;
      touch-action: manipulation;
    }

    .viewer.is-warming #canvas {
      opacity: 0;
    }

    .viewer.overlay-open #canvas {
      transform: translateX(calc(-1 * var(--overlay-shift, 0)));
    }

    .stadium-architecture-label-layer {
      position: absolute;
      inset: 0;
      z-index: 2;
      pointer-events: none;
      opacity: 0;
      transition: opacity 0.18s ease;
    }

    .stadium-architecture-label-layer.is-active {
      opacity: 1;
    }

    .stadium-architecture-label-lines {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      overflow: visible;
    }

    .stadium-architecture-label-line {
      stroke: rgba(255, 255, 255, 0.82);
      stroke-width: 1.5;
      vector-effect: non-scaling-stroke;
    }

    .stadium-architecture-label {
      position: absolute;
      transform: translate(-50%, -50%);
      padding: 0.35rem 0.5rem 0.32rem;
      border: 0.0625rem solid rgba(255, 255, 255, 0.75);
      border-radius: var(--overlay-radius);
      background: var(--ink);
      box-shadow: 0 0.35rem 1rem rgba(0, 0, 0, 0.22);
      color: var(--paper);
      font: inherit;
      font-size: 0.875rem;
      line-height: 1.05;
      white-space: nowrap;
    }

    .debug-panel {
      position: absolute;
      left: calc(var(--page-edge-offset) + var(--safe-left));
      top: calc(var(--page-edge-offset) + var(--safe-top) + 4.5rem);
      z-index: 9999;
      width: min(26.25rem, 48vw);
      max-height: 50vh;
      padding: 0.75rem;
      border-radius: var(--button-radius);
      background: rgba(21, 32, 47, 0.92);
      border: 0.0625rem solid rgba(207, 232, 251, 0.18);
      color: var(--paper);
      font-family: var(--font-mono);
      font-size: 0.75rem;
      line-height: 1.35;
      overflow: auto;
      display: none;
      backdrop-filter: blur(0.625rem);
      -webkit-backdrop-filter: blur(0.625rem);
    }

    .debug-panel.is-open {
      display: block;
    }

    .debug-panel__title {
      font-size: 0.8125rem;
      font-weight: 600;
      margin-bottom: 0.5rem;
    }

    .debug-panel__hint {
      opacity: 0.7;
      margin-bottom: 0.625rem;
    }

    .debug-panel__controls {
      display: grid;
      gap: 0.5rem;
    }

    .debug-panel__slider-group {
      display: grid;
      gap: 0.25rem;
      margin-top: 0.25rem;
    }

    .debug-panel__select-group {
      display: grid;
      gap: 0.25rem;
      margin-top: 0.25rem;
    }

    .debug-panel__slider-row {
      display: flex;
      justify-content: space-between;
      gap: 0.5rem;
      align-items: baseline;
    }

    .debug-panel__slider-label {
      opacity: 0.7;
    }

    .debug-panel__slider-value {
      font-size: 0.8125rem;
      font-weight: 600;
    }

    .debug-panel input[type="range"] {
      width: 100%;
      margin: 0;
    }

    .debug-panel select {
      width: 100%;
      margin: 0;
      border: 0.0625rem solid rgba(207, 232, 251, 0.18);
      border-radius: 0.5rem;
      padding: 0.4375rem 0.5rem;
      background: rgba(12, 20, 31, 0.92);
      color: #edf3fb;
      font: inherit;
    }

    .debug-panel__toggle {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      cursor: pointer;
    }

    .debug-panel__toggle input {
      margin: 0;
    }

    .debug-panel__fps {
      display: flex;
      justify-content: space-between;
      gap: 0.5rem;
      padding-top: 0.5rem;
      margin-top: 0.5rem;
      border-top: 0.0625rem solid rgba(207, 232, 251, 0.12);
    }

    .debug-panel__fps-label {
      opacity: 0.7;
    }

    .debug-panel__fps-value {
      font-size: 0.875rem;
      font-weight: 600;
    }

    .debug-panel__camera {
      display: grid;
      gap: 0.375rem;
      padding-top: 0.5rem;
      margin-top: 0.5rem;
      border-top: 0.0625rem solid rgba(207, 232, 251, 0.12);
    }

    .debug-panel__camera-title {
      opacity: 0.7;
    }

    .debug-panel__camera-output {
      width: 100%;
      min-height: 6.75rem;
      resize: vertical;
      padding: 0.5rem 0.625rem;
      border-radius: 0.625rem;
      border: 0.0625rem solid rgba(207, 232, 251, 0.18);
      background: rgba(7, 12, 19, 0.55);
      color: var(--paper);
      font: inherit;
      line-height: 1.35;
    }

    .debug-panel__camera-offset {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 0.25rem;
      max-width: 11rem;
    }

    .debug-panel__camera-offset-label {
      grid-column: 1 / -1;
      opacity: 0.7;
    }

    .debug-panel__camera-offset-button {
      appearance: none;
      min-height: 2rem;
      border: 0.0625rem solid rgba(207, 232, 251, 0.2);
      border-radius: 0.5rem;
      background: rgba(184, 216, 242, 0.16);
      color: var(--paper);
      font: inherit;
      cursor: pointer;
    }

    .debug-panel__camera-offset-button:hover {
      background: rgba(184, 216, 242, 0.26);
    }

    .debug-panel__camera-offset-button[data-camera-offset="up"],
    .debug-panel__camera-offset-button[data-camera-offset="down"],
    .debug-panel__camera-offset-button[data-camera-offset="back"],
    .debug-panel__camera-offset-button[data-camera-center="up"],
    .debug-panel__camera-offset-button[data-camera-center="down"],
    .debug-panel__camera-offset-button[data-camera-center="back"],
    .debug-panel__camera-offset-button[data-camera-center="reset"] {
      grid-column: 2;
    }

    .debug-panel__camera-offset-button[data-camera-offset="left"],
    .debug-panel__camera-offset-button[data-camera-center="left"] {
      grid-column: 1;
    }

    .debug-panel__camera-offset-button[data-camera-offset="forward"],
    .debug-panel__camera-offset-button[data-camera-center="forward"] {
      grid-column: 2;
    }

    .debug-panel__camera-offset-button[data-camera-offset="right"],
    .debug-panel__camera-offset-button[data-camera-center="right"] {
      grid-column: 3;
    }

    .debug-panel__camera-actions {
      display: flex;
      gap: 0.5rem;
      align-items: center;
      flex-wrap: wrap;
    }

    .debug-panel__save {
      appearance: none;
      border: 0.0625rem solid rgba(207, 232, 251, 0.2);
      background: rgba(184, 216, 242, 0.16);
      color: var(--paper);
      border-radius: 62.4375rem;
      padding: 0.4375rem 0.75rem;
      font: inherit;
      cursor: pointer;
    }

    .debug-panel__save[disabled] {
      opacity: 0.45;
      cursor: not-allowed;
    }

    .debug-panel__save-status {
      font-size: 0.6875rem;
      opacity: 0.78;
    }

    .debug-panel__model-checks {
      display: grid;
      gap: 0.5rem;
      padding-top: 0.5rem;
      margin-top: 0.5rem;
      border-top: 0.0625rem solid rgba(207, 232, 251, 0.12);
    }

    .debug-panel__model-checks-title {
      opacity: 0.7;
    }

    .debug-panel__model-checks-status {
      font-size: 0.6875rem;
      opacity: 0.78;
    }

    .debug-panel__model-checks-list {
      display: grid;
      gap: 0.5rem;
    }

    .debug-panel__model-check {
      display: grid;
      gap: 0.25rem;
      padding: 0.5rem 0.625rem;
      border-radius: 0.625rem;
      border: 0.0625rem solid rgba(207, 232, 251, 0.12);
      background: rgba(7, 12, 19, 0.35);
    }

    .debug-panel__model-check.is-mismatch {
      border-color: rgba(255, 173, 120, 0.38);
      background: rgba(59, 26, 8, 0.22);
    }

    .debug-panel__model-check.is-error {
      border-color: rgba(255, 123, 123, 0.4);
      background: rgba(78, 16, 16, 0.26);
    }

    .debug-panel__model-check-head {
      display: flex;
      justify-content: space-between;
      gap: 0.5rem;
      align-items: baseline;
    }

    .debug-panel__model-check-name {
      font-weight: 600;
      font-size: 0.75rem;
    }

    .debug-panel__model-check-status {
      font-size: 0.6875rem;
      opacity: 0.82;
      text-align: right;
    }

    .debug-panel__model-check-meta,
    .debug-panel__model-check-diff {
      font-size: 0.6875rem;
      line-height: 1.45;
      white-space: pre-wrap;
      word-break: break-word;
    }

    .debug-panel__model-check-diff-list {
      margin: 0;
      padding-left: 1rem;
      display: grid;
      gap: 0.25rem;
    }

    .debug-panel__model-check-diff-list li {
      margin: 0;
    }

    .debug-panel__family-list {
      display: grid;
      gap: 0.5rem;
    }

    .debug-panel__family {
      display: grid;
      gap: 0.25rem;
      padding: 0.5rem 0.625rem;
      border-radius: 0.625rem;
      border: 0.0625rem solid rgba(207, 232, 251, 0.12);
      background: rgba(7, 12, 19, 0.35);
    }

    .debug-panel__family-name {
      font-weight: 600;
      font-size: 0.75rem;
    }

    .overlay {
      position: absolute;
      right: calc(var(--page-edge-offset) + var(--safe-right));
      top: calc(var(--page-edge-offset) + var(--safe-top));
      width: min(30rem, 92%);
      max-height: calc(100% - (2 * var(--page-edge-offset)) - var(--safe-top) - var(--safe-bottom));
      background: var(--panel);
      border-radius: var(--overlay-radius);
      box-shadow: var(--shadow);
      padding: 0 1.375rem 0;
      overflow: auto;
      transform: translateX(1.25rem);
      opacity: 0;
      pointer-events: none;
      transition: all 0.25s ease;
      z-index: 6;
    }

    .overlay.active {
      transform: translateX(0);
      opacity: 1;
      pointer-events: auto;
    }

    .overlay header {
      padding: 0;
      justify-content: space-between;
      align-items: flex-start;
    }

    .overlay-sticky {
      position: sticky;
      top: 0;
      z-index: 3;
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 0;
      align-items: start;
      background: var(--panel);
      padding-top: 1rem;
      padding-bottom: 0.5rem;
      margin-bottom: 0.375rem;
      margin-right: -1.25rem;
    }

    .overlay-sticky h2 {
      grid-column: 1 / 2;
    }

    .overlay-sticky h2:empty {
      display: none;
    }

    .overlay-sticky .overlay-close {
      grid-column: 2 / 3;
      justify-self: end;
    }

    .overlay h2 {
      margin: 0 0 0.5rem;
      font-family: var(--font-display);
      font-weight: 600;
      font-size: 1.5rem;
      line-height: 1.08;
      color: var(--ink);
    }

    .overlay .meta {
      font-family: var(--font-ui);
      font-weight: 600;
      font-size: 0.75rem;
      text-transform: uppercase;
      letter-spacing: 0.075rem;
      color: rgba(27, 47, 73, 0.7);
      margin-bottom: 0.75rem;
    }

    .overlay .content {
      font-family: var(--font-ui);
      font-weight: 600;
      font-size: 0.9rem;
      line-height: var(--overlay-content-line-height);
      color: var(--ink);
      padding-bottom: var(--overlay-line-space);
    }

    .overlay .content > * {
      margin: 0;
    }

    .overlay .content > * + * {
      margin-top: var(--overlay-block-distance-bottom);
    }

    .overlay .content p,
    .overlay .content h3 {
      margin: 0;
    }

    .overlay .content h3 {
      font-family: var(--font-display);
      font-weight: 600;
      font-size: 1.1em;
      line-height: 1.2;
      color: var(--ink);
    }

    .overlay .content p + p {
      margin-top: 0;
      text-indent: calc(var(--overlay-line-space));
    }

    .overlay .content p + h3,
    .overlay .content h3 + h3 {
      margin-top: var(--overlay-heading-gap-before);
    }

    .overlay .content h3 + p {
      margin-top: var(--overlay-heading-gap-after);
      text-indent: 0;
    }

    .overlay .content .marker-focus-text {
      display: block;
      width: 100%;
      padding: 0;
      border: 0;
      background: transparent;
      color: inherit;
      font: inherit;
      text-align: left;
      cursor: pointer;
    }

    .overlay .content .marker-focus-text:hover .marker-focus-text__quote,
    .overlay .content .marker-focus-text:focus-visible .marker-focus-text__quote {
      text-decoration: underline;
      text-decoration-thickness: 0.0625rem;
      text-underline-offset: 0.18em;
    }

    .overlay .content .marker-focus-text:focus-visible {
      outline: 0.125rem solid rgba(27, 47, 73, 0.45);
      outline-offset: 0.25rem;
      border-radius: 0.125rem;
    }

    .overlay .content .marker-focus-text__quote,
    .overlay .content .marker-focus-text__body {
      display: block;
    }

    .overlay .content .marker-focus-text__quote {
      margin-bottom: var(--overlay-heading-gap-after);
      font-family: var(--font-display);
      font-weight: 600;
      font-size: 1.45em;
      line-height: 1.15;
      color: var(--ink);
    }

    .overlay .content .marker-focus-text__quote p,
    .overlay .content .marker-focus-text__body p {
      margin: 0;
    }

    .overlay .content .marker-focus-text__body p + p {
      margin-top: 0;
      text-indent: calc(var(--overlay-line-space));
    }

    .overlay-nav {
      position: sticky;
      bottom: 0;
      z-index: 2;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0.5rem;
      padding-top: 0.625rem;
      padding-bottom: 1.375rem;
      margin-top: 0.625rem;
      border-top: 0.0625rem solid rgba(27, 47, 73, 0.14);
      background: var(--panel);
    }

    .overlay-nav[hidden] {
      display: none !important;
    }

    .overlay .overlay-nav__button {
      width: 100%;
      min-height: 2.75rem;
      border-radius: var(--button-radius);
      border: 0.0625rem solid rgba(27, 47, 73, 0.28);
      background: var(--paper);
      color: var(--ink);
      font-family: var(--font-ui);
      font-weight: 600;
      font-size: var(--button-font-size);
      line-height: 1.25;
      letter-spacing: 0.0125rem;
      text-transform: none;
      text-align: left;
      padding: 0.625rem 0.75rem;
      white-space: normal;
    }

    .overlay .overlay-nav__button:hover {
      background: #b8d8f2;
    }

    .overlay .overlay-nav__button:disabled {
      opacity: 0.45;
      cursor: default;
      background: var(--paper);
    }

    .overlay .overlay-nav__item {
      display: grid;
      gap: 0.25rem;
      align-content: start;
    }

    .overlay .overlay-nav__item.is-ghost {
      pointer-events: none;
    }

    .overlay .overlay-nav__item.is-ghost .overlay-nav__label,
    .overlay .overlay-nav__item.is-ghost .overlay-nav__button {
      opacity: 0;
      pointer-events: none;
    }

    .overlay .overlay-nav__label {
      font-family: var(--font-ui);
      font-weight: 600;
      font-size: 0.625rem;
      line-height: 1;
      letter-spacing: 0.05rem;
      text-transform: uppercase;
      color: rgba(27, 47, 73, 0.62);
      padding: 0 0.25rem;
    }

    .overlay .content figcaption,
    .overlay .content .caption,
    .overlay .content figure figcaption,
    .overlay .content .reference-caption {
      font-family: var(--font-mono);
      font-weight: 400;
      font-size: 0.75rem;
      letter-spacing: 0.01875rem;
      color: rgba(27, 47, 73, 0.7);
      padding-top: calc(var(--overlay-line-space) * 0.5);
    }

    .overlay .content .reference-caption {
      max-width: 100%;
      overflow-wrap: anywhere;
      word-break: break-word;
      white-space: normal;
    }

    .overlay .content .block-type-fineprint {
      font-family: var(--font-mono);
      font-size: 0.75rem;
      line-height: 1.35;
      color: rgba(27, 47, 73, 0.74);
    }

    .overlay .content .block-type-fineprint p {
      margin: 0;
    }

    .overlay .content .block-type-fineprint p + p {
      margin-top: calc(var(--overlay-line-space) * 0.35);
    }

    .overlay .content .reference-caption a {
      overflow-wrap: anywhere;
      word-break: break-word;
      white-space: normal;
    }

    .overlay .content img {
      max-width: 100%;
      max-height: calc(100vh - 18rem);
      border-radius: var(--overlay-radius);
      margin: 0;
      display: block;
    }

    .overlay .content video,
    .overlay .content iframe {
      max-width: 100%;
      max-height: calc(100vh - 14rem);
      border-radius: var(--overlay-radius);
      margin: 0;
      display: block;
    }

    .overlay .content .overlay-media-lightbox-wrap {
      position: relative;
      display: inline-block;
      max-width: 100%;
      line-height: 0;
      vertical-align: top;
      z-index: 0;
    }

    .overlay .content .overlay-media-lightbox-wrap > img,
    .overlay .content .overlay-media-lightbox-wrap > video {
      margin: 0;
    }

    .overlay .content .overlay-media-lightbox-button {
      position: absolute;
      right: 0.625rem;
      bottom: 0.625rem;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 1.375rem;
      height: 1.375rem;
      padding: 0;
      border: 0;
      background: transparent;
      color: rgba(27, 47, 73, 0.7);
      cursor: pointer;
    }

    .overlay .content .overlay-media-lightbox-button:hover {
      color: rgba(27, 47, 73, 1);
    }

    .overlay .content .overlay-media-lightbox-button svg {
      width: 1.125rem;
      height: 1.125rem;
      display: block;
      fill: currentColor;
    }

    .overlay .content .overlay-meta-table-wrap {
      margin: 0 0 var(--overlay-line-space);
      overflow-x: auto;
    }

    .overlay .content .overlay-meta-table {
      width: 100%;
      border-collapse: collapse;
      table-layout: fixed;
      font-family: var(--font-ui);
      font-weight: 600;
      font-size: 0.875rem;
      line-height: 1.4;
      color: var(--ink);
    }

    .overlay .content .overlay-meta-table td {
      padding: 0.5rem 0;
      vertical-align: top;
      border-bottom: 0.0625rem solid rgba(27, 47, 73, 0.16);
    }

    .overlay .content .overlay-meta-table tr:last-child td {
      border-bottom: 0;
    }

    .overlay .content .overlay-meta-table td:first-child {
      width: 36%;
      min-width: 9.375rem;
      padding-right: 0.875rem;
      color: rgba(27, 47, 73, 0.72);
    }

    .overlay .content .overlay-meta-table td:last-child {
      width: 64%;
      word-break: break-word;
    }

    .overlay .content iframe,
    .overlay .content video {
      width: 100%;
    }

    .overlay .content .audio-block__row {
      display: flex;
      align-items: center;
      gap: calc(var(--overlay-line-space) * 0.75);
      width: 100%;
    }

    .overlay .content .audio-block__icon {
      flex: 0 0 auto;
      width: 2.7rem;
      height: 2.7rem;
      opacity: 0.84;
    }

    .overlay .content .audio-block__media {
      display: none;
    }

    .overlay .content .audio-block__controls {
      flex: 1 1 auto;
      min-width: 0;
      width: 100%;
      min-height: 3.375rem;
      display: grid;
      grid-template-columns: 2.75rem auto 1fr;
      align-items: center;
      gap: 1rem;
      padding: 0.5rem 1rem;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.72);
      color: var(--ink);
    }

    .overlay .content .audio-block__play {
      position: relative;
      width: 2.25rem;
      height: 2.25rem;
      padding: 0;
      border: 0;
      background: transparent;
      color: currentColor;
      cursor: pointer;
    }

    .overlay .content .audio-block__play::before {
      content: "";
      position: absolute;
      left: 50%;
      top: 50%;
      width: 0;
      height: 0;
      border-top: 0.5rem solid transparent;
      border-bottom: 0.5rem solid transparent;
      border-left: 0.75rem solid currentColor;
      transform: translate(-35%, -50%);
    }

    .overlay .content .audio-block__play.is-playing::before,
    .overlay .content .audio-block__play.is-playing::after {
      content: "";
      position: absolute;
      top: 50%;
      width: 0.3rem;
      height: 1.1rem;
      border: 0;
      background: currentColor;
      transform: translateY(-50%);
    }

    .overlay .content .audio-block__play.is-playing::before {
      left: 0.72rem;
    }

    .overlay .content .audio-block__play.is-playing::after {
      right: 0.72rem;
    }

    .overlay .content .audio-block__time {
      white-space: nowrap;
      font-variant-numeric: tabular-nums;
    }

    .overlay .content .audio-block__seek {
      width: 100%;
      min-width: 5rem;
      accent-color: currentColor;
    }

    .overlay .content figure {
      margin: 0;
    }

    .overlay .content blockquote {
      margin: var(--overlay-line-space) 0;
      padding: 0 0 0 var(--overlay-line-space);
      border-left: 0.1875rem solid rgba(27, 47, 73, 0.22);
    }

    .overlay .content blockquote p {
      margin: 0;
    }

    .overlay .content blockquote p + p {
      margin-top: calc(var(--overlay-line-space) * 0.5);
      text-indent: 0;
    }

    .overlay .content .blockquote-translation,
    .overlay .content .blockquote-author {
      margin-top: calc(var(--overlay-line-space) * 0.5);
    }

    .overlay .content .blockquote-author {
      font-family: var(--font-mono);
      font-size: 0.75rem;
      letter-spacing: 0.01875rem;
      color: rgba(27, 47, 73, 0.7);
    }

    .overlay .content .gallery-placeholder {
      min-height: 13.75rem;
      border: 0.125rem solid var(--stage-blue);
      border-radius: var(--overlay-radius);
      background: rgba(255, 255, 255, 0.02);
    }

    .overlay .content .overview-swiper {
      position: relative;
      width: 100%;
      margin: 0;
      overflow: hidden;
      border: 0;
      background: transparent;
    }

    .overlay .content .overview-swiper .swiper-wrapper {
      display: flex;
      align-items: flex-start;
      width: 100%;
      transition: transform 0.3s ease;
      will-change: transform;
    }

    .overlay .content .overview-swiper .swiper-slide {
      flex: 0 0 100%;
      box-sizing: border-box;
      display: grid;
      align-content: start;
      justify-items: center;
      gap: 0.625rem;
      min-height: 0;
      background: transparent;
    }

    .overlay .content .overview-swiper img {
      width: 100%;
      height: auto;
      max-height: calc(100vh - 29rem);
      object-fit: contain;
      display: block;
      margin: 0;
      border-radius: var(--overlay-radius);
    }

    .overlay .content .overview-swiper .swiper-slide figcaption {
      width: 100%;
      margin: 0;
      padding: calc(var(--overlay-line-space) * 0.5) 0 0;
      white-space: pre-line;
    }

    .overlay .content .overview-swiper .swiper-button-prev,
    .overlay .content .overview-swiper .swiper-button-next {
      position: absolute;
      top: 50%;
      color: #fff;
      width: 2.125rem;
      height: 2.125rem;
      margin-top: -1.0625rem;
      background: rgba(0, 0, 0, 0.4);
      border-radius: 62.4375rem;
    }

    .overlay .content .overview-swiper .swiper-button-prev {
      left: 0;
    }

    .overlay .content .overview-swiper .swiper-button-next {
      right: 0;
    }

    .overlay .content .overview-swiper .swiper-button-prev::after,
    .overlay .content .overview-swiper .swiper-button-next::after {
      font-size: 0.875rem;
      font-weight: 700;
    }

    .overlay .content .overview-swiper .swiper-pagination-bullet {
      appearance: none;
      -webkit-appearance: none;
      display: block;
      flex: 0 0 auto;
      width: 0.625rem;
      height: 0.625rem;
      min-width: 0.625rem;
      min-height: 0.625rem;
      aspect-ratio: 1 / 1;
      padding: 0;
      border: 0;
      border-radius: 62.4375rem;
      background: rgba(255, 255, 255, 0.65);
      opacity: 1;
      cursor: pointer;
      line-height: 0;
      font-size: 0;
    }

    .overlay .content .overview-swiper .swiper-pagination-bullet-active {
      background: #fff;
    }

    .overlay .content .overview-swiper .swiper-pagination {
      position: static;
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 0.5rem;
      margin-top: 0.5rem;
    }

    .overlay .content figure ul {
      list-style: none;
      padding: 0;
      margin: 0;
      display: grid;
      gap: 0.625rem;
    }

    .overlay .content figure li {
      margin: 0;
      display: flex;
      justify-content: center;
    }

    .overlay .content ol li[id^="fn-"] {
      font-size: 80%;
    }

    .overlay .content a[href^="#fn-"],
    .overlay .content a[href^="#fnref-"],
    .overlay .content ol li[id^="fn-"] a,
    .overlay .content a[href^="#fn-"]:hover,
    .overlay .content a[href^="#fnref-"]:hover,
    .overlay .content ol li[id^="fn-"] a:hover,
    .overlay .content a[href^="#fn-"]:focus,
    .overlay .content a[href^="#fnref-"]:focus,
    .overlay .content ol li[id^="fn-"] a:focus {
      color: inherit;
      text-decoration: none;
    }

    .overlay .content a:not([href^="#fn-"]):not([href^="#fnref-"]),
    .overlay .content .overlay-person-link {
      color: inherit;
      text-decoration: underline;
      text-decoration-thickness: 0.0625rem;
      text-underline-offset: 0.125rem;
      cursor: pointer;
      font-weight: inherit;
    }

    .overlay .content a:not([href^="#fn-"]):not([href^="#fnref-"]):hover,
    .overlay .content a:not([href^="#fn-"]):not([href^="#fnref-"]):focus,
    .overlay .content .overlay-person-link:hover,
    .overlay .content .overlay-person-link:focus {
      color: inherit;
      text-decoration-thickness: 0.125rem;
    }

    .overlay button {
      border: none;
      background: var(--accent);
      color: white;
      font-family: var(--font-ui);
      font-weight: 600;
      font-size: var(--button-font-size);
      padding: 0.4rem 0.7rem;
      border-radius: var(--button-radius);
      cursor: pointer;
    }

    .overlay .overlay-close {
      position: relative;
      width: 1.875rem;
      height: 1.875rem;
      padding: 0;
      border-radius: var(--button-radius);
      background: transparent;
      border: 0;
      margin-top: 0;
      transform: translate(0%, -50%);
    }

    .overlay .overlay-close::before,
    .overlay .overlay-close::after {
      content: "";
      position: absolute;
      top: 50%;
      left: 50%;
      width: 0.875rem;
      height: 0.125rem;
      background: rgba(20, 21, 24, 0.7);
      transform-origin: center;
    }

    .overlay .overlay-close::before {
      transform: translate(-50%, -50%) rotate(45deg);
    }

    .overlay .overlay-close::after {
      transform: translate(-50%, -50%) rotate(-45deg);
    }

    .media-lightbox {
      position: fixed;
      inset: 0;
      z-index: 40;
      display: grid;
      align-items: center;
      justify-items: center;
      padding: 1.5rem;
      background: rgba(20, 21, 24, 0.82);
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.2s ease;
    }

    .media-lightbox.active {
      opacity: 1;
      pointer-events: auto;
    }

    .media-lightbox__panel {
      position: relative;
      width: min(75rem, calc(100vw - 3rem));
      max-height: calc(100vh - 3rem);
      display: grid;
      gap: 0.75rem;
      justify-items: center;
    }

    .media-lightbox__content {
      width: 100%;
      max-height: calc(100vh - 6rem);
      display: grid;
      gap: 0.625rem;
      justify-items: center;
      align-content: center;
    }

    .media-lightbox__content video {
      max-width: 100%;
      max-height: calc(100vh - 7.5rem);
      display: block;
      border-radius: var(--overlay-radius);
      background: transparent;
    }

    .media-lightbox__content img {
      max-width: 100%;
      max-height: calc(100vh - 11.5rem);
      display: block;
      border-radius: var(--overlay-radius);
      background: transparent;
    }

    .media-lightbox__content figcaption {
      width: min(47.5rem, 100%);
      font-family: var(--font-mono);
      font-weight: 400;
      font-size: 0.8125rem;
      line-height: 1.45;
      letter-spacing: 0.01875rem;
      color: rgba(255, 255, 255, 0.96);
      text-align: left;
      padding: 0.75rem 0.875rem;
      border-radius: 0.75rem;
      background: rgba(9, 15, 24, 0.82);
      border: 0.0625rem solid rgba(255, 255, 255, 0.12);
      backdrop-filter: blur(0.625rem);
      -webkit-backdrop-filter: blur(0.625rem);
      box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.28);
    }

    .media-lightbox .overlay-close {
      position: absolute;
      top: 0;
      right: 0;
      transform: translate(50%, -50%);
      background: rgba(255, 255, 255, 0.94);
      z-index: 1;
    }

    .media-lightbox__close {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 2.75rem;
      height: 2.75rem;
      border-radius: 62.4375rem;
      border: 0.0625rem solid rgba(27, 47, 73, 0.18);
      background: rgba(255, 255, 255, 0.96);
      color: rgba(20, 21, 24, 0.88);
      font-family: var(--font-ui);
      font-size: 1.75rem;
      line-height: 1;
      box-shadow: 0 0.625rem 1.5rem rgba(0, 0, 0, 0.18);
    }

    .media-lightbox__close::before,
    .media-lightbox__close::after {
      content: none;
    }

    .media-lightbox__close:hover {
      background: #ffffff;
    }

    .legend {
      position: absolute;
      left: 1.25rem;
      bottom: 1.25rem;
      background: rgba(255, 255, 255, 0.75);
      backdrop-filter: blur(0.75rem);
      border-radius: 1rem;
      padding: 0.625rem 0.875rem;
      font-family: var(--font-ui);
      font-weight: 600;
      font-size: 0.8125rem;
      display: grid;
      gap: 0.375rem;
      border: 0.0625rem solid rgba(27, 27, 27, 0.12);
    }

    .legend .dot {
      display: inline-block;
      width: 0.625rem;
      height: 0.625rem;
      border-radius: 50%;
      margin-right: 0.5rem;
    }

    .legend .dot.normal {
      background: var(--accent-2);
    }

    .legend .dot.missing {
      background: var(--accent);
    }

    .overview-link {
      position: fixed;
      left: calc(var(--page-edge-offset) + var(--safe-left));
      bottom: calc(var(--page-edge-offset) + var(--safe-bottom));
      z-index: 6;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 0.5rem;
      pointer-events: none;
    }

    body.object-der-willkomm-becher-der-grafen-oettingen .overview-link {
      width: var(--overview-link-width);
    }

    .overview-link__button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: var(--button-padding);
      border-radius: var(--button-radius);
      background: var(--paper);
      color: var(--ink);
      font-size: var(--button-font-size);
      letter-spacing: 0.0375rem;
      text-transform: uppercase;
      text-decoration: none;
      border: 0.0625rem solid rgba(27, 47, 73, 0.28);
      backdrop-filter: blur(0.625rem);
      cursor: pointer;
      pointer-events: auto;
    }

    .overview-link__button:hover,
    .overview-link__button.is-open {
      background: #b8d8f2;
    }

    .list-link {
      display: grid;
      gap: 0;
      width: 100%;
    }

    .list-link__button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: var(--button-padding);
      border-radius: var(--button-radius);
      background: var(--paper);
      color: var(--ink);
      font-size: var(--button-font-size);
      letter-spacing: 0.0375rem;
      text-transform: uppercase;
      text-decoration: none;
      border: 0.0625rem solid rgba(27, 47, 73, 0.28);
      backdrop-filter: blur(0.625rem);
      cursor: pointer;
      pointer-events: auto;
    }

    .list-link__button:hover,
    .list-link__button[aria-expanded="true"] {
      background: #b8d8f2;
    }

    .list-link__actions {
      display: inline-flex;
      align-items: center;
      gap: 0;
      pointer-events: auto;
    }

    .list-link__button[aria-expanded="true"] {
      margin-bottom: 0;
      border-bottom: 0;
      border-bottom-left-radius: 0;
      border-bottom-right-radius: 0;
    }

    .list-link__panel {
      width: max-content;
      min-width: 100%;
      max-width: min(var(--unterschriften-panel-max-width), calc(100vw - (2 * var(--page-edge-offset))));
      overflow: hidden;
      max-height: 0;
      opacity: 0;
      pointer-events: none;
      transition: max-height 0.28s ease, opacity 0.2s ease;
      border-radius: var(--button-radius);
      border: 0.0625rem solid rgba(27, 47, 73, 0.28);
      backdrop-filter: blur(0.75rem);
      background: rgba(184, 216, 242, 0.55);
      box-shadow: 0 1.125rem 2.5rem rgba(10, 17, 26, 0.4);
    }

    .list-link__panel.is-open {
      opacity: 1;
      pointer-events: auto;
      border-top-left-radius: 0;
      background: var(--paper);
    }

    .list-link__panel-inner {
      width: max-content;
      min-width: 100%;
      max-height: calc(100vh - 20rem);
      overflow: auto;
      padding: 0.75rem;
      color: var(--ink);
      margin-top: 0;
    }

    .list-link__panel ul {
      list-style: none;
      margin: 0;
      padding: 0;
      display: grid;
      gap: 0.5rem;
    }

    .list-link__panel button {
      width: 20.3125rem;
      text-align: left;
      padding: 0.4375rem 0.5rem;
      border-radius: var(--button-radius);
      background: transparent;
      border: 0.0625rem solid transparent;
      color: inherit;
      font-size: var(--button-font-size);
      cursor: pointer;
      display: block;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
    }

    .list-link__panel button:hover {
      border-color: rgba(255, 255, 255, 0.24);
      background: rgba(255, 255, 255, 0.1);
    }

    .overview-link__wendepunkte {
      display: grid;
      gap: var(--wendepunkte-gap);
      width: 100%;
      pointer-events: none;
    }

    .overview-link__wendepunkte-root {
      display: grid;
      justify-items: start;
      gap: 0;
      width: 100%;
      pointer-events: none;
    }

    .overview-link__wendepunkte-root > .overview-link__button.is-open {
      margin-bottom: var(--wendepunkte-gap);
    }

    .overview-link__overview-root {
      display: grid;
      justify-items: start;
      gap: 0;
      width: 100%;
      pointer-events: none;
    }

    .overview-link__overview-root > .overview-link__button.is-open {
      margin-bottom: var(--wendepunkte-gap);
    }

    .overview-link__overview-children {
      display: grid;
      gap: 0;
      padding-left: 0;
      width: 100%;
      overflow: hidden;
      max-height: 0;
      opacity: 0;
      transition: max-height 0.28s ease, opacity 0.2s ease;
      pointer-events: none;
    }

    .overview-link__overview-children.is-open {
      opacity: 1;
      max-height: none;
    }

    .overview-link__wendepunkte-children {
      display: grid;
      gap: var(--wendepunkte-gap);
      padding-left: 0;
      width: 100%;
      overflow: hidden;
      max-height: 0;
      opacity: 0;
      transition: max-height 0.28s ease, opacity 0.2s ease;
      pointer-events: none;
    }

    .overview-link__wendepunkte-children.is-open {
      opacity: 1;
    }

    .overview-link__wendepunkt {
      display: grid;
      justify-items: start;
      gap: 0;
      width: 100%;
      padding: 0.625rem;
      border-radius: var(--button-radius);
      border: 0.0625rem solid rgba(27, 47, 73, 0.28);
      background: rgba(184, 216, 242, 0.55);
      backdrop-filter: blur(0.625rem);
      pointer-events: none;
    }

    .overview-link__wendepunkt-topic {
      display: inline-flex;
      align-items: center;
      justify-content: flex-start;
      padding: 0 0 var(--wendepunkte-gap);
      border: 0;
      background: transparent;
      color: var(--ink);
      font-family: var(--font-ui);
      font-size: var(--button-font-size);
      font-weight: 600;
      letter-spacing: 0.0375rem;
      line-height: 1;
      text-transform: uppercase;
    }

    .overview-link__wendepunkt-years {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      gap: 0.625rem;
      padding-left: 0;
      width: 100%;
    }

    .overview-link__wendepunkt-year {
      display: block;
      position: relative;
    }

    .rail-chip-button {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      width: fit-content;
      max-width: min(26.25rem, 68vw);
      text-align: left;
      padding: 0.5rem 0.625rem;
      border-radius: var(--button-radius);
      border: 0;
      background: var(--paper);
      color: var(--ink);
      font-family: var(--font-ui);
      font-weight: 600;
      font-size: var(--button-font-size);
      cursor: pointer;
      position: relative;
      white-space: nowrap;
      overflow: visible;
      text-overflow: ellipsis;
      pointer-events: auto;
    }

    .list-link__entry-button {
      width: 100%;
      max-width: none;
      justify-content: flex-start;
      padding: 0.5rem 0.625rem;
      border-radius: var(--button-radius);
      border: 0;
      background: var(--paper);
      color: var(--ink);
      font-family: var(--font-ui);
      font-weight: 600;
      font-size: var(--button-font-size);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .rail-chip-button:hover,
    .rail-chip-button.is-open,
    .overview-link__wendepunkt-year.is-open .overview-link__wendepunkt-button {
      background: #b8d8f2;
      border-color: transparent;
    }

    .overview-link__wendepunkt-year.is-open {
      z-index: 2;
    }

    .overview-link__wendepunkt.is-open .overview-link__wendepunkt-button {
      border-bottom-left-radius: 0;
      border-bottom-right-radius: 0;
    }

    .overview-link__wendepunkt-year.is-open .overview-link__wendepunkt-button {
      padding-bottom: 0.75rem;
    }

    .overview-link__poi-wrap {
      margin-left: 0;
      padding: 0;
      border: 0;
      background: transparent;
      width: 100%;
      pointer-events: none;
    }

    .overview-link__wendepunkt.is-open .overview-link__poi-wrap {
      margin-top: -0.25rem;
    }

    .overview-link__poi-list {
      display: grid;
      gap: 0.125rem;
      width: 100%;
      padding: 0.25rem;
      border-radius: var(--button-radius);
      background: #b8d8f2;
      border: 0;
      pointer-events: none;
    }

    .overview-link__wendepunkt.is-open .overview-link__poi-list {
      border-top-left-radius: 0;
      border-top-right-radius: 0;
    }

    .overview-link__poi-wrap.is-open-left .overview-link__poi-list {
      border-top-left-radius: 0;
    }

    .overview-link__poi-wrap.is-open-right .overview-link__poi-list {
      border-top-right-radius: 0;
    }

    .overview-link__poi-button {
      display: block;
      width: 100%;
      text-align: left;
      padding: 0.375rem 0.5rem;
      border-radius: 0.625rem;
      background: transparent;
      color: var(--ink);
      border: 0.0625rem solid transparent;
      font-size: var(--button-font-size);
      cursor: pointer;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      pointer-events: auto;
    }

    .overview-link__poi-button:hover {
      border-color: rgba(27, 47, 73, 0.2);
      background: rgba(255, 255, 255, 0.48);
    }

    .marker-entry-button-active,
    .overview-link__poi-button.is-active,
    .list-link__entry-button.is-active {
      background: rgba(255, 255, 255, 0.48);
      color: var(--ink);
      border-color: rgba(27, 47, 73, 0.2);
    }

    .marker-entry-button-active:hover,
    .overview-link__poi-button.is-active:hover,
    .list-link__entry-button.is-active:hover {
      background: rgba(255, 255, 255, 0.48);
      color: var(--ink);
      border-color: rgba(27, 47, 73, 0.2);
    }

    .overview-link__poi-empty {
      margin: 0;
      font-size: 0.75rem;
      opacity: 0.78;
      color: var(--ink);
    }

    .list-link__panel .list-year {
      display: inline-block;
      margin-right: 0.375rem;
      font-family: var(--font-mono);
      font-weight: 400;
      letter-spacing: 0.025rem;
    }

    .list-link__year-table-wrap {
      margin-top: 0;
      padding-top: 0;
      border-top: 0;
      width: 100%;
      max-width: 100%;
      min-width: 0;
    }

    .list-link__year-table-title {
      margin: 0 0 0.375rem;
      font-size: 0.6875rem;
      letter-spacing: 0.03125rem;
      text-transform: uppercase;
      opacity: 0.78;
    }

    .list-link__year-table {
      width: auto;
      min-width: 100%;
      border-collapse: collapse;
      font-size: 0.75rem;
    }

    .list-link__year-table thead {
      display: none;
    }

    .list-link__year-table th,
    .list-link__year-table td {
      padding: 0;
      border-bottom: 0.0625rem solid transparent;
      text-align: left;
      vertical-align: top;
    }

    .list-link__year-table tr.is-year-repeat td:first-child {
      border-bottom-color: transparent;
    }

    .list-link__year-table tr.is-year-repeat td:last-child {
      border-bottom-color: rgba(255, 255, 255, 0.08);
    }

    .list-link__year-table td.list-year-cell {
      padding-top: 0.5625rem;
      padding-bottom: 0.375rem;
      padding-left: 0;
      padding-right: 0;
    }

    .list-link__year-table th:last-child,
    .list-link__year-table td:last-child {
      width: 4.125rem;
      text-align: right;
      font-family: var(--font-mono);
      letter-spacing: 0.01875rem;
    }

    .list-link__year-table--year-first {
      table-layout: auto;
    }

    .list-link__year-table--year-first th:first-child,
    .list-link__year-table--year-first td:first-child {
      width: 4ch;
      min-width: 4ch;
      text-align: left;
      white-space: nowrap;
      font-family: var(--font-mono);
      letter-spacing: 0.01875rem;
    }

    .list-link__year-table--year-first th:last-child,
    .list-link__year-table--year-first td:last-child {
      width: auto;
      text-align: left;
      font-family: inherit;
      letter-spacing: normal;
    }

    .timeline-scrubber {
      position: fixed;
      left: 16.25rem;
      bottom: calc(var(--page-edge-offset) + var(--safe-bottom));
      z-index: 6;
      display: grid;
      gap: 0.5rem;
      padding: 0.625rem 0.75rem;
      border-radius: 0.875rem;
      background: rgba(20, 33, 50, 0.9);
      border: 0.0625rem solid rgba(255, 255, 255, 0.2);
      backdrop-filter: blur(0.625rem);
      color: var(--paper);
      font-size: 0.75rem;
      letter-spacing: 0.025rem;
      text-transform: uppercase;
    }

    .timeline-scrubber .timeline-list {
      display: grid;
      gap: 0.5rem;
    }

    .timeline-scrubber .timeline-row {
      display: grid;
      grid-template-columns: minmax(5.625rem, auto) minmax(10rem, 13.75rem) 2.125rem;
      align-items: center;
      gap: 0.625rem;
    }

    .timeline-scrubber .timeline-name {
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      text-transform: none;
      letter-spacing: 0.0125rem;
    }

    .timeline-scrubber input[type="range"] {
      width: 100%;
      accent-color: var(--accent);
      cursor: pointer;
    }

    .timeline-scrubber .timeline-value {
      min-width: 2.125rem;
      text-align: right;
      font-family: var(--font-mono);
      font-weight: 400;
      text-transform: none;
      letter-spacing: 0;
    }

    .timeline-scrubber[hidden] {
      display: none !important;
    }


    .empty-state {
      position: absolute;
      inset: 0;
      display: grid;
      place-items: center;
      text-align: center;
      padding: 1.5rem;
    }

    .empty-state p {
      margin: 0;
      font-size: 1rem;
      max-width: 22.5rem;
    }

    .home-list {
      padding: 2rem;
      height: 100%;
      overflow: auto;
    }

    .home-gate {
      position: absolute;
      inset: 0;
      z-index: 99999;
      min-height: 100%;
      display: grid;
      place-items: center;
      padding: 2rem;
      background: #fff;
    }

    .home-gate__panel {
      width: min(100%, 26.25rem);
      display: grid;
      gap: 1rem;
      padding: 1.5rem;
      border-radius: 1.125rem;
      background: #fff;
      border: 0.0625rem solid #111;
      box-shadow: 0 1.125rem 3rem rgba(17, 17, 17, 0.12);
    }

    .home-gate__title {
      margin: 0;
      font-size: clamp(1.5rem, 3vw, 1.875rem);
    }

    .home-gate__text {
      margin: 0;
      color: #111;
    }

    .home-gate__field {
      width: 100%;
      padding: 0.875rem 1rem;
      border: 0.0625rem solid #111;
      border-radius: 0.75rem;
      font: inherit;
      font-size: 1rem;
      color: #111;
      background: #fff;
    }

    .home-gate__submit {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 3rem;
      padding: 0.75rem 1rem;
      border: 0.0625rem solid #111;
      border-radius: 0.75rem;
      background: #111;
      color: #fff;
      font: inherit;
      font-size: 0.875rem;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      cursor: pointer;
    }

    .home-gate__submit:hover {
      background: #2a2a2a;
    }

    .home-gate__error {
      margin: 0;
      color: #9f1d1d;
      font-size: 0.875rem;
    }

    .home-list h2 {
      font-family: var(--font-display);
      font-size: clamp(1.625rem, 3vw, 2.125rem);
      margin: 0 0 0.375rem;
    }

    .home-list p {
      margin: 0 0 1.25rem;
      color: rgba(207, 232, 251, 0.82);
    }

    .home-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 1rem;
    }

    .home-card {
      display: grid;
      gap: 0.625rem;
      padding: 0;
      border: 0;
      background: transparent;
    }

    .home-card__main {
      display: grid;
      gap: 0.625rem;
      padding: 0.75rem;
      border-radius: 0.625rem;
      background: rgba(207, 232, 251, 0.98);
      border: 0.0625rem solid rgba(79, 143, 189, 0.65);
      text-decoration: none;
      color: var(--ink);
      box-shadow: 0 1rem 2rem rgba(14, 24, 37, 0.18);
      transition: box-shadow 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
    }

    .home-card__main:hover {
      box-shadow: 0 1.25rem 2.5rem rgba(14, 24, 37, 0.22);
      border-color: rgba(79, 143, 189, 0.95);
      transform: translateY(-0.0625rem);
    }

    .home-card__download {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 2.5rem;
      padding: 0 0.875rem;
      margin-top: 0.125rem;
      border-radius: 62.4375rem;
      border: 0.0625rem solid rgba(111, 176, 214, 0.7);
      background: rgba(34, 58, 86, 0.9);
      color: var(--paper);
      text-decoration: none;
      font-size: 0.75rem;
      font-weight: 600;
      letter-spacing: 0.06em;
      text-transform: uppercase;
    }

    .home-card__download:hover {
      background: rgba(79, 143, 189, 0.9);
      color: #fff;
    }

    .home-card__preview {
      width: 100%;
      aspect-ratio: 4 / 3;
      object-fit: cover;
      display: block;
      border-radius: 0.375rem;
      border: 0.0625rem solid rgba(79, 143, 189, 0.55);
      filter: none;
      background: rgba(255, 255, 255, 0.6);
    }

    .home-card__title {
      font-size: 1.125rem;
      font-weight: 600;
      color: var(--ink);
    }

    .home-card__meta {
      font-size: 0.75rem;
      letter-spacing: 0.0625rem;
      text-transform: uppercase;
      color: rgba(27, 47, 73, 0.72);
    }

    .home-empty {
      padding: 1.125rem;
      border-radius: 1rem;
      background: rgba(207, 232, 251, 0.9);
      color: var(--ink);
      border: 0.0625rem dashed rgba(111, 176, 214, 0.8);
    }

    body.is-home {
      color: var(--paper);
    }

    body.is-home .viewer {
      background: transparent;
      box-shadow: none;
    }

    body.is-home .viewer::before {
      display: none;
    }

    body.is-home .site-logo,
    body.is-home .page-header h1,
    body.is-home .lang-switch a,
    body.is-home .lang-switch button {
      color: var(--paper);
    }

    body.is-home .home-list p {
      color: rgba(207, 232, 251, 0.82);
    }

    body.is-home .home-list {
      padding-top: 6rem;
    }

    .lang-switch {
      position: fixed;
      top: calc(var(--page-edge-offset) + var(--safe-top));
      right: calc(var(--page-edge-offset) + var(--safe-right));
      z-index: 7;
      display: flex;
      gap: 0.375rem;
      align-items: center;
      font-size: 0.8125rem;
      margin-left: auto;
      transition: transform 0.25s ease;
      transform: translateX(var(--lang-switch-shift, 0));
    }

    .lang-switch a,
    .lang-switch span,
    .lang-switch button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: var(--button-padding);
      border-radius: var(--button-radius);
      text-decoration: none;
      font-size: var(--button-font-size);
      letter-spacing: 0.0375rem;
      text-transform: uppercase;
    }

    .lang-switch span {
      background: var(--ink);
      color: var(--paper);
      font-weight: 600;
    }

    .lang-switch a,
    .lang-switch button {
      background: rgba(20, 33, 50, 0.9);
      color: var(--paper);
      border: 0.0625rem solid rgba(255, 255, 255, 0.2);
      backdrop-filter: blur(0.625rem);
      cursor: pointer;
    }

    .lang-switch a:hover,
    .lang-switch button:hover {
      background: rgba(28, 43, 62, 0.95);
    }

    .lang-switch__edit {
      text-decoration: none;
    }

    details.foldout {
      border: 0.0625rem solid rgba(27, 27, 27, 0.12);
      border-radius: 0.875rem;
      margin: 0.75rem 0;
      overflow: hidden;
    }

    details.foldout summary {
      padding: 0.75rem 1rem;
      font-weight: 600;
      cursor: pointer;
      background: rgba(27, 27, 27, 0.04);
      list-style: none;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.5rem;
    }

    details.foldout summary::-webkit-details-marker {
      display: none;
    }

    details.foldout summary::after {
      content: "+";
      font-size: 1.125rem;
      line-height: 1;
      transition: transform 0.2s ease;
    }

    details.foldout[open] summary::after {
      transform: rotate(45deg);
    }

    details.foldout .foldout-content {
      padding: 0.25rem 1rem 1rem;
    }

    @media (max-width: 56.25rem) {
      .page-header {
        flex-direction: row;
        align-items: center;
      }

      .home-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      body.is-home .home-list {
        padding-top: 7.625rem;
      }

      .overlay {
        right: 0.75rem;
        left: 0.75rem;
        width: auto;
        bottom: 0.75rem;
        top: auto;
      }
    }

    @media (max-width: 80rem) and (min-width: 56.3125rem) {
      .home-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
      }
    }

    @media (max-width: 40rem) {
      .home-grid {
        grid-template-columns: 1fr;
      }
    }
