/* gregor-server.de – gemeinsames Stylesheet für alle Seiten
   Farben wie bisher: Dunkelgrau + Rot (rgb 200 10 10 / 100 5 10) + Glut-Orange */

*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
}
img,
picture,
svg,
canvas {
  display: block;
  max-width: 100%;
}
input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}
ul[role='list'],
ol[role='list'] {
  list-style: none;
  padding: 0;
}

:root {
  color-scheme: dark;

  --bg: #181a1b;
  --bg-deep: #101112; /* Auslauf unter dem Startbild */
  --bg-raised: #212426;
  --bg-alt: #33373a;
  --panel: rgb(50 10 20 / 0.72);
  --panel-solid: #2a1015;
  --line: rgb(255 255 255 / 0.1);
  --line-strong: rgb(255 255 255 / 0.22);

  --text: #e9e6e6;
  --muted: #c6c4c4;
  --heading: #f5f3f3;

  --brand: rgb(200 10 10);
  --brand-hot: rgb(250 10 10);
  --brand-deep: rgb(100 5 10);
  --brand-dark: rgb(80 5 10);
  --ember: #f5474d;
  --glow: #ff5c24;
  --amber: rgb(150 80 10);
  /* Akzent der aktuellen Minecraft-Szene (Höhle = Glut, See = Abendlicht) */
  --scene-shadow: var(--amber);
  --scene-ring: var(--ember);
  /* Rot für Text auf dunklem Grund (Kontrast > 4.5:1) */
  --link: #ff7070;
  --link-hover: #ffa3a3;

  --radius: 1rem;
  --radius-sm: 0.6rem;
  --gutter: clamp(1rem, 4vw, 3rem);
  --max: 72rem;
  --header-h: 4.25rem;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  --font: system-ui, -apple-system, 'Segoe UI', Roboto, 'Noto Sans', Ubuntu, Cantarell, 'Helvetica Neue', Arial,
    sans-serif;
  --font-mono: ui-monospace, 'Cascadia Code', 'JetBrains Mono', Menlo, Consolas, monospace;

  /* wächst mit dem Bildschirm mit – auch auf Fernsehern gut lesbar */
  font-size: clamp(100%, 0.85rem + 0.32vw, 160%);
}

html {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  hanging-punctuation: first last;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  overflow-x: clip;
}

main {
  flex: 1;
}

h1,
h2,
h3,
h4 {
  color: var(--heading);
  line-height: 1.15;
  text-wrap: balance;
}

p,
li {
  text-wrap: pretty;
}

p {
  color: var(--muted);
}

a {
  color: var(--link);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
  transition: color 0.2s;
}
a:hover {
  color: var(--link-hover);
}

:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
  border-radius: 4px;
  box-shadow: 0 0 0 6px var(--brand);
}

::selection {
  background: var(--brand);
  color: #fff;
}

[hidden] {
  display: none !important;
}

@view-transition {
  navigation: auto;
}

.container {
  width: 92%;
  max-width: var(--max);
  width: min(100% - 2 * var(--gutter), var(--max));
  margin-inline: auto;
}

.section {
  padding-block: clamp(4rem, 10vw, 8rem);
}

.section-title {
  font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.6rem);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}
.section-title::after {
  content: '';
  display: block;
  width: 3rem;
  height: 3px;
  margin: 0.9rem auto 0;
  background: linear-gradient(90deg, var(--brand), var(--glow));
  border-radius: 3px;
}

/* ---------- Sprunglink ---------- */
.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--brand);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-200%);
}
.skip-link:focus {
  transform: none;
}

/* ---------- Belebte Szenen (WebGL, siehe lebendig.js) ---------- */
.szene-canvas {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.szene-canvas.ist-bereit {
  opacity: 1;
}

/* ---------- Szenen-Stimmung ---------- */
[data-scene='see'] {
  --scene-shadow: rgb(40 80 70);
  --scene-ring: #e9d27a;
}

/* ---------- Startbereich ---------- */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: calc(var(--header-h) + 2rem) var(--gutter) 6rem;
  touch-action: pan-y;
}
.hero-bg,
.hero-canvas {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.35) saturate(1.4) hue-rotate(-12deg) brightness(0.55);
  transform: scale(1.06);
}
.hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background:
    radial-gradient(ellipse at center, transparent 30%, rgb(10 2 4 / 0.65)),
    linear-gradient(to bottom, transparent 86%, var(--bg-deep));
}
[data-motion='on'] .hero-bg img {
  animation: ken-burns 30s ease-in-out infinite alternate;
}
.hero-canvas {
  opacity: 0;
  transition: opacity 1.2s ease;
}
[data-gl] .hero-canvas {
  opacity: 1;
}

.hero-content {
  display: grid;
  justify-items: center;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  text-align: center;
  pointer-events: none;
}
.hero-content a {
  pointer-events: auto;
}
.hero-mark {
  width: clamp(11rem, 36vmin, 26rem);
  height: auto;
  aspect-ratio: 1;
  filter: drop-shadow(0 0 30px rgb(245 71 77 / 0.6));
  transition: opacity 0.6s ease;
}
[data-motion='on'] .hero-mark {
  animation: glow-pulse 4s ease-in-out infinite;
}
/* Partikel bilden das Logo – das Bild bleibt nur als Platzhalter für die Position */
[data-gl] .hero-mark {
  opacity: 0.16;
  filter: blur(6px) drop-shadow(0 0 40px rgb(245 71 77 / 0.9));
  animation: none;
}
[data-motion='on'] .hero-content > * {
  animation: rise-in 1.1s var(--ease-out) both;
}
[data-motion='on'] .hero-content > :nth-child(2) {
  animation-delay: 0.25s;
}
[data-motion='on'] .hero-content > :nth-child(3) {
  animation-delay: 0.45s;
}
[data-gl] .hero-content > .hero-mark {
  animation: none;
}

.scene-picker {
  position: absolute;
  right: var(--gutter);
  bottom: max(1.5rem, env(safe-area-inset-bottom));
  display: flex;
  gap: 0.6rem;
}
.scene-dot {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 2px solid rgb(255 255 255 / 0.45);
  background: var(--thumb) center / cover, var(--panel-solid);
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.25s, transform 0.25s var(--ease-out), border-color 0.25s;
}
.scene-dot:hover,
.scene-dot:focus-visible {
  opacity: 1;
  transform: scale(1.08);
}
.scene-dot[aria-pressed='true'] {
  opacity: 1;
  border-color: var(--scene-ring);
  box-shadow: 0 0 0 3px rgb(0 0 0 / 0.35), 0 0 18px var(--scene-ring);
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: max(1.5rem, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 50%;
  color: #fff;
  border: 1px solid var(--line-strong);
  background: rgb(0 0 0 / 0.3);
}
.scroll-hint svg {
  width: 1.3rem;
}
@media (max-width: 40rem) {
  /* auf dem Handy ist Platz für die Szenenwahl wichtiger */
  [data-gl] .scroll-hint {
    display: none;
  }
  .scene-picker {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }
}
@supports not (aspect-ratio: 1) {
  .infinite-demo {
    height: 16rem;
  }
}
[data-motion='on'] .scroll-hint svg {
  animation: nudge 2.4s ease-in-out infinite;
}

/* Abschnitt direkt unter dem Startbild: vom dunklen Auslauf sanft in den Seitenhintergrund */
.hero + .section {
  background: linear-gradient(to bottom, var(--bg-deep), var(--bg) 14rem);
}

/* ---------- Karten / Projekte ---------- */
.cards {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
  list-style: none;
  padding: 0;
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgb(70 10 18 / 0.55), rgb(30 8 12 / 0.75)), var(--bg-raised);
  border: 1px solid var(--line);
  box-shadow: 0 20px 40px -20px rgb(0 0 0 / 0.6);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.card:hover,
.card:focus-within {
  border-color: rgb(245 71 77 / 0.45);
  box-shadow: 0 20px 44px -20px rgb(200 10 10 / 0.4);
}
.card h3 {
  font-size: 1.4rem;
}
.card-wide {
  grid-column: 1 / -1;
}
@media (min-width: 52rem) {
  .card-wide {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    gap: 2rem;
  }
  .card-wide .card-body {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
  }
}
.card-body {
  display: contents;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  padding: 0;
}
.tags li {
  font-size: 0.8rem;
  font-family: var(--font-mono);
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: auto;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: 2px solid var(--brand);
  background: transparent;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s, transform 0.25s var(--ease-out), box-shadow 0.25s;
}
.btn:hover {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 0 22px rgb(200 10 10 / 0.55);
}
.btn:active {
  transform: scale(0.97);
}
.btn-primary {
  background: var(--brand);
}
.btn-primary:hover {
  background: var(--brand-hot);
}
.btn svg {
  width: 1.1em;
  height: 1.1em;
  flex: none;
}

/* Animierte „unendliche Arbeitsfläche“ für Infinite Desktop */
.infinite-demo {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: #120709;
  box-shadow: inset 0 0 60px rgb(0 0 0 / 0.7);
}
.infinite-demo .canvas-layer {
  position: absolute;
  top: -50%;
  right: -50%;
  bottom: -50%;
  left: -50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='160'%3E%3Cpath d='M0 .5h240M.5 0v160' stroke='%23ffffff' stroke-opacity='.07'/%3E%3Cg%3E%3Crect x='18' y='22' width='92' height='60' rx='5' fill='%232a1015' stroke='%23f5474d' stroke-opacity='.7'/%3E%3Crect x='18' y='22' width='92' height='11' rx='5' fill='%23c80a0a'/%3E%3Crect x='26' y='42' width='50' height='4' rx='2' fill='%23ffffff' fill-opacity='.25'/%3E%3Crect x='26' y='51' width='70' height='4' rx='2' fill='%23ffffff' fill-opacity='.18'/%3E%3C/g%3E%3Cg%3E%3Crect x='138' y='92' width='80' height='52' rx='5' fill='%2333373a' stroke='%23ff5c24' stroke-opacity='.6'/%3E%3Crect x='138' y='92' width='80' height='11' rx='5' fill='%23640510'/%3E%3Ccircle cx='178' cy='124' r='9' fill='%23ff5c24' fill-opacity='.5'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 240px 160px;
}
[data-motion='on'] .infinite-demo .canvas-layer {
  animation: pan-canvas 18s linear infinite, zoom-canvas 18s ease-in-out infinite;
}
.infinite-demo .taskbar {
  position: absolute;
  top: auto;
  right: 0;
  bottom: 0;
  left: 0;
  height: 9%;
  background: rgb(20 4 6 / 0.85);
  border-top: 1px solid var(--line);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.infinite-demo .taskbar::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 3px;
  background: var(--ember);
  box-shadow: 1.6em 0 0 rgb(255 255 255 / 0.3), -1.6em 0 0 rgb(255 255 255 / 0.3);
}
.infinite-demo .minimap {
  position: absolute;
  right: 4%;
  top: 6%;
  width: 18%;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: rgb(0 0 0 / 0.45);
}
.infinite-demo .minimap::after {
  content: '';
  position: absolute;
  width: 34%;
  height: 34%;
  border: 1.5px solid var(--ember);
  border-radius: 2px;
  left: 33%;
  top: 33%;
}
[data-motion='on'] .infinite-demo .minimap::after {
  animation: minimap 18s linear infinite;
}

.more-link {
  margin-top: 2rem;
  text-align: center;
}

/* ---------- Fußzeile (kompakt) ---------- */
.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: auto;
  padding-block: clamp(3rem, 8vw, 5rem) max(1.25rem, env(safe-area-inset-bottom));
  background: var(--footer-image, none) 36% 30% / cover, var(--bg);
  border-top: 1px solid #2c2f31;
  font-size: 0.9rem;
}
.site-footer .szene-canvas {
  z-index: -2;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  background: linear-gradient(to bottom, var(--bg), rgb(24 26 27 / 0.45) 35%, rgb(24 26 27 / 0.7));
}
.copyright a {
  color: inherit;
  text-decoration: none;
}
.copyright a:hover {
  color: #fff;
  text-decoration: underline;
}
.footer-inner {
  display: grid;
  gap: 1rem;
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr));
  gap: 1.5rem 2rem;
  text-shadow: 0 1px 3px rgb(0 0 0 / 0.8);
}
.site-footer h2 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ember);
  margin-bottom: 0.4rem;
}
.site-footer ul {
  display: grid;
  list-style: none;
  padding: 0;
}
.site-footer li a {
  display: inline-flex;
  align-items: center;
  min-height: 1.75rem;
  color: #e2e0e0;
  text-decoration: none;
}
.site-footer li a:hover {
  color: #fff;
  text-decoration: underline;
}
.copyright {
  font-size: 0.8rem;
}

/* ---------- Unterseiten (Recht) ---------- */
.page-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  min-height: clamp(16rem, 42vh, 26rem);
  padding: calc(var(--header-h) + 2rem) 0 2.5rem;
  overflow: hidden;
}
.page-hero picture,
.page-hero picture img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-hero picture img {
  filter: sepia(0.35) saturate(1.3) hue-rotate(-12deg) brightness(0.45);
}
.page-hero::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  background: linear-gradient(to bottom, rgb(24 26 27 / 0.2), var(--bg));
}
[data-motion='on'] .page-hero picture img {
  animation: ken-burns 40s ease-in-out infinite alternate;
}
.page-hero h1 {
  font-size: clamp(2rem, 1.4rem + 3vw, 3.75rem);
  text-shadow: 3px 2px 0 var(--scene-shadow), 0 0 30px rgb(0 0 0 / 0.5);
}
.page-hero .eyebrow:empty {
  display: none;
}
.page-hero .eyebrow {
  color: var(--ember);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
}

.prose {
  max-width: 70ch;
  margin-inline: auto;
  padding-block: 1rem clamp(3rem, 8vw, 6rem);
}
.prose > * + * {
  margin-top: 1rem;
}
.prose h2 {
  font-size: 1.45rem;
  margin-top: 2.75rem;
  padding-top: 0.25rem;
}
.prose h3 {
  font-size: 1.15rem;
  margin-top: 2rem;
  color: var(--ember);
}
.prose h4 {
  font-size: 1rem;
  margin-top: 1.5rem;
}
.prose ul,
.prose ol {
  padding-left: 1.4rem;
  color: var(--muted);
}
.prose li + li {
  margin-top: 0.35rem;
}
.prose li::marker {
  color: var(--ember);
}
.prose .meta {
  font-size: 0.9rem;
  border-left: 3px solid var(--brand);
  padding-left: 1rem;
}
.prose nav ol {
  columns: 2 14rem;
}
.prose .del {
  text-decoration: line-through;
}

.link-list {
  display: grid;
  gap: 0.75rem;
  list-style: none;
  padding: 0 !important;
}
.link-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius-sm);
  background: var(--bg-raised);
  border: 1px solid var(--line);
  color: var(--heading);
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.25s, background-color 0.25s;
}
.link-list a:hover {
  border-color: rgb(245 71 77 / 0.5);
  background: var(--panel-solid);
}
.link-list span {
  color: var(--muted);
  font-weight: 400;
  font-size: 0.9rem;
}

/* ---------- Fehlerseiten ---------- */
.error-hero {
  min-height: 100vh;
  min-height: 100dvh;
}
.error-code {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: clamp(6rem, 4rem + 14vw, 14rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: transparent;
  background: linear-gradient(180deg, #ffe0b8, var(--glow) 40%, var(--brand) 75%, var(--brand-deep));
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 0 28px rgb(255 92 36 / 0.45));
}
[data-motion='on'] .error-code {
  animation: flicker 5s steps(1) infinite;
}
.error-hero h1 {
  font-size: clamp(1.4rem, 1rem + 2vw, 2.4rem);
}
.error-hero .lead {
  max-width: 46ch;
  color: var(--text);
  font-size: 1.1rem;
}
.error-hero .hint {
  font-size: 0.9rem;
}
.error-hero .actions {
  justify-content: center;
  margin-top: 0.5rem;
  pointer-events: auto;
}


.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.center {
  text-align: center;
}

/* ---------- Bewegungen ---------- */
@keyframes ken-burns {
  from {
    transform: scale(1.06) translate(0, 0);
  }
  to {
    transform: scale(1.14) translate(-1.5%, -1%);
  }
}
@keyframes glow-pulse {
  50% {
    filter: drop-shadow(0 0 46px rgb(245 71 77 / 0.9));
  }
}
@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(1.5rem) scale(0.98);
    filter: blur(6px);
  }
}
@keyframes nudge {
  50% {
    transform: translateY(5px);
  }
}
@keyframes pan-canvas {
  to {
    background-position: -480px -320px;
  }
}
@keyframes zoom-canvas {
  0%,
  35%,
  100% {
    transform: scale(1);
  }
  50%,
  60% {
    transform: scale(0.55);
  }
}
@keyframes minimap {
  0% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(60%, -40%);
  }
  50% {
    transform: translate(-50%, 50%);
  }
  75% {
    transform: translate(-40%, -50%);
  }
  100% {
    transform: translate(0, 0);
  }
}
@keyframes flicker {
  0%,
  92%,
  100% {
    opacity: 1;
  }
  93% {
    opacity: 0.55;
  }
  95% {
    opacity: 1;
  }
  96% {
    opacity: 0.7;
  }
}

/* Inhalte beim Scrollen einblenden (nur wo unterstützt und erwünscht) */
@supports (animation-timeline: view()) {
  [data-motion='on'] .reveal {
    animation: rise-in linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 60%;
  }
}

/* ---------- Barrierefreiheit ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
[data-motion='off'] *,
[data-motion='off'] *::before,
[data-motion='off'] *::after {
  animation-duration: 0.001ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.001ms !important;
}
[data-motion='off'] {
  scroll-behavior: auto;
}

@media (prefers-contrast: more) {
  :root {
    --muted: #f0eeee;
    --text: #fff;
    --line: rgb(255 255 255 / 0.4);
    --line-strong: rgb(255 255 255 / 0.7);
    --link: #ff9b9b;
  }
  .hero-bg img,
  .page-hero picture img {
    filter: brightness(0.3);
  }
}

@media (forced-colors: active) {
  .card,
  .link-list a,
  .btn,
  .scene-dot {
    border: 1px solid CanvasText;
  }
  .error-code {
    color: CanvasText;
    background: none;
  }
  .hero-canvas {
    display: none;
  }
}

@media print {
  .hero-canvas,
  .scene-picker,
  .scroll-hint {
    display: none !important;
  }
  :root {
    --bg: #fff;
    --text: #000;
    --muted: #222;
    --heading: #000;
  }
  .page-hero {
    min-height: 0;
    padding: 0;
  }
  .page-hero picture {
    display: none;
  }
  .page-hero h1 {
    color: #000;
    text-shadow: none;
  }
}
