/* Ergänzungen zum unverändert übernommenen Layout der Halbzeitpräsentation. */
html { scroll-behavior: smooth; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; padding: 12px; background: white; z-index: 2000; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.scanner-details { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 24px; align-items: start; }
.scanner-details .image-card { margin-top: 12px; }
.grid-2 + .grid-2 { margin-top: 20px; }
.hero-statement { font-size: clamp(24px, 3vw, 34px); font-weight: 700; line-height: 1.35; }
.timing { color: var(--muted); font-size: 13px; font-weight: 400; white-space: nowrap; }
.slide-number { text-align: right; flex-shrink: 0; }
.slide-number .timing { display: block; }
.toc ol { columns: 2; column-gap: 36px; padding-left: 22px; }
.toc li { break-inside: avoid; padding: 4px 0; }
.toc .timing { display: block; }
.slide { scroll-margin-top: 16px; }
.image-zoom { display: block; width: 100%; padding: 0; border: 0; background: white; cursor: zoom-in; }
.image-card img { max-height: 310px; }
.image-card figcaption { overflow-wrap: anywhere; }
.route-video { margin: 16px 0; }
.route-video img { display: block; width: 100%; height: auto; max-height: 390px; object-fit: contain; }
.route-video figcaption { margin-top: 6px; font-size: 13px; color: var(--muted); }
body.presenting .route-video img { max-height: 43vh; }
.localization-video { margin: 18px 0; }
.localization-video video { display: block; width: 100%; height: auto; max-height: 500px; background: #303030; }
.localization-video figcaption { margin-top: 6px; font-size: 13px; color: var(--muted); }
.comparison-frame { display: block; width: 100%; height: 680px; border: 1px solid var(--line); margin: 18px 0; }
body.presenting .localization-video video { max-height: 52vh; }
button { font: inherit; cursor: pointer; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--htw-orange); outline-offset: 4px; }
.cover-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-bottom: 0; }
.cover-actions button { background: var(--ink); color: white; padding: 11px 18px; border: 1px solid var(--ink); }
.workflow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 0; list-style: none; counter-reset: step; }
.workflow li { counter-increment: step; border: 1px solid var(--line); border-top: 4px solid var(--htw-orange); padding: 18px; }
.workflow li::before { content: '0' counter(step); display: block; color: var(--muted); margin-bottom: 10px; }
.workflow b, .workflow span { display: block; }
.workflow span { margin-top: 8px; color: var(--muted); }
.height-result { display: flex; align-items: center; gap: 30px; padding: 28px 0 18px; }
.height-result strong { color: var(--accent); font-size: 42px; white-space: nowrap; }
.table-scroll { overflow-x: auto; }
.status-table { font-size: 17px; }
.status-table th, .status-table td { padding: 16px; }
.status-table tbody th { width: 42%; background: white; }
.status { display: inline-block; padding: 3px 8px; margin-right: 8px; font-size: 13px; font-weight: bold; }
.done { background: #e0f5ec; color: #115c43; }
.reported { background: #e4f0f8; color: #235b7c; }
.open { background: #fff0dc; color: #8d3c0c; }
.process-card h3 { margin-top: 0; }
.measurement-files { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 4px; }
.measurement-files .grid-2 { gap: 10px 24px; }
.measurement-files h4 { margin: 4px 0; font-size: 14px; }
.measurement-files ul { list-style: none; padding: 0; margin: 0; }
.measurement-files li { margin: 2px 0; }
.measurement-files code { font-size: 12px; overflow-wrap: anywhere; }
.measurement-path { font-size: 13px; color: var(--muted); }
.draft-note { border-left: 4px solid var(--htw-orange); padding: 10px 14px; background: #fffaf0; color: var(--muted); }
.source-box code, .slide code { overflow-wrap: anywhere; }
.presentation-controls[hidden] { display: none; }
.presentation-controls { position: fixed; bottom: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 12px; background: #f6f8faf5; border-top: 1px solid var(--line); }
.presentation-controls button { padding: 8px 14px; border: 1px solid var(--line); background: white; }
.presentation-controls button:disabled { color: #777; cursor: default; }
body.presenting .page { max-width: 1320px; padding: 20px 24px 100px; }
body.presenting .topbar, body.presenting .cover, body.presenting .toc, body.presenting .funding-note, body.presenting .site-footer { display: none; }
body.presenting .slide { display: none; margin: 0; }
body.presenting .slide.active { display: block; }
body.presenting .slide-content { font-size: 20px; }
body.presenting .source-box { font-size: 12px; }
body.presenting .slide .image-card img { max-height: 34vh; }
dialog { width: min(96vw, 1500px); max-width: 96vw; max-height: 96vh; padding: 18px; border: 1px solid var(--line); background: white; }
dialog::backdrop { background: #0f172ae8; }
dialog img { display: block; max-width: 100%; max-height: 78vh; margin: 12px auto; object-fit: contain; }
dialog p { margin: 8px 0 0; color: var(--muted); }
@media (max-width: 820px) {
  .grid-3, .workflow, .scanner-details { grid-template-columns: 1fr; }
  .page { padding: 18px 12px 50px; }
  .cover, .slide { padding: 22px 18px; }
  .cover h1 { font-size: 30px; }
  .logo { max-width: 100%; height: auto; width: 300px; }
  .toc ol { columns: 1; }
  .site-footer { position: static; }
  .height-result { flex-direction: column; align-items: flex-start; gap: 10px; }
  .presentation-controls { flex-wrap: wrap; gap: 6px; }
  body.presenting .page { padding: 12px 10px 150px; }
  body.presenting .slide-content { font-size: 17px; }
  .status-table { min-width: 580px; }
  .comparison-frame { height: 780px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body.slides-focus-ready .slide { transition: none; }
}
@media print {
  body.slides-focus-ready .slide,
  body.slides-focus-ready .slide.is-dimmed {
    filter: none; opacity: 1; transform: none; transition: none;
  }
  @page { size: A4 landscape; margin: 10mm; }
  .presentation-controls, .cover-actions, .skip-link, dialog, .funding-note { display: none !important; }
  body.presenting .cover, body.presenting .slide { display: block; }
  .page, body.presenting .page { max-width: none; padding: 0; }
  .slide { padding: 6mm; margin: 0; break-after: page; break-inside: avoid; }
  .slide:last-child { break-after: auto; }
  .slide h2 { font-size: 21px; }
  .slide-content { font-size: 14px !important; }
  .image-card img, body.presenting .slide .image-card img { max-height: 70mm; }
  .message { font-size: 15px; padding: 8px 12px; }
  .source-box { font-size: 10px; margin-top: 8px; padding: 6px; }
  .status-table { font-size: 14px; }
  .status-table th, .status-table td { padding: 10px; }
  .height-result strong { font-size: 32px; }
  .route-video img, body.presenting .route-video img { max-height: 70mm; }
  .localization-video video, body.presenting .localization-video video { max-height: 85mm; }
  .comparison-frame { display: none; }
  .cover { padding: 15mm 10mm; }
  * { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
}
