/* Reset + Grundstil */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: #0b0b0b url("background.png") center/cover no-repeat fixed;
  color: #f5f5f5;
}

/* Navbar */
nav {
  position: sticky; top: 0; z-index: 1000;
  background: #000;
  box-shadow: 0 2px 8px rgba(0,0,0,.35);
}
nav ul {
  list-style: none;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
nav li { height: 56px; }
nav a {
  height: 100%;
  padding: 0 20px;
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #f5f5f5;
}
nav a:hover { background: rgba(255,255,255,.08); }
nav li:first-child { margin-right: auto; }
.brand { font-weight: 700; letter-spacing: .2px; }

/* Inhalt */
section {
  padding: 80px 20px;
  max-width: 1000px; margin: 0 auto;
  border-bottom: 1px solid rgba(255,255,255,.08);
  scroll-margin-top: 64px;
}
section h2 { margin-bottom: 16px; }
section p { color: #f5f5f5; line-height: 1.6; }
ul {
  margin-left: 20px; /* Einzug nach links */
  padding-left: 20px; /* zusätzlicher Abstand zwischen Marker und Text */
}

/* Einheitlicher Stil für Unterüberschriften */
h3 {
  margin-top: 20px;      /* Abstand nach oben */
  margin-bottom: 10px;   /* Abstand nach unten */
  font-weight: bold;     /* wie jetzt auch */
}

/* Absatz oder Liste direkt nach h3 */
h3 + p,
h3 + ul {
  margin-top: 0;         /* kein extra Abstand nach oben */
  margin-bottom: 16px;   /* etwas Platz nach unten */
}

/* Pacman Canvas */
#pacmanCanvas {
  display: block;
  margin: 16px auto;
  image-rendering: pixelated;
  background: #000;
  border: 1px solid rgba(255,255,255,.2);
}

/* Sketchfab responsive embed */
.sketchfab-embed {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
  overflow: hidden;
}
.sketchfab-embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}
img {
  max-width: 100%;
  height: auto;
  border: 1px solid #444;
  border-radius: 8px;
}
.model-description a {
  color: #ff8800;          /* Orange */
  font-weight: bold;
}

.model-description a:hover {
  color: #00ffaa;          /* Grün beim Hover */
}
