
  :root {
    --bg:#f4f7fb; --card:#fff; --text:#1f3321; --muted:#5f6c7b;
    --accent:#2563eb; --accent-dark:#1e40af; --border:#d8dee9;
  }
* { box-sizing:border-box; }
body { margin:0; font-family:Arial, Helvetica, sans-serif; background:var(--bg); color:var(--text); line-height:1.4; }
/*header { background:linear-gradient(135deg,#1e40af,#2563eb); color:white; padding:5px 10px; text-align:center; }*/

header { background: linear-gradient(135deg, #00529b, #f5cf46); color: white;  padding: 5px 10px;  text-align: center; }

header h1 { margin:0; font-size:clamp(2rem,5vw,3.2rem); }
header .overview-title { margin:1em 0; font-size:1.17em; }
header p { margin:12px auto 0; max-width:850px; font-size:1.1rem; opacity:.95; }
.home-menu {
  max-width: 1050px;
  margin: 18px auto 0;
  padding: 0 18px;
}
.home-menu ul {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .04);
}
main { max-width:1050px; margin:0 auto; padding:28px 18px 48px; }
section { background:var(--card); border:1px solid var(--border); border-radius:14px; padding:24px; margin:18px 0; box-shadow:0 4px 14px rgba(0,0,0,.04); }
h2 { margin-top:0; color:var(--accent-dark); }
.section-heading { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:baseline; gap:8px 16px; }
.section-heading h2 { margin-bottom:0; }
.grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:16px; }
.project-card { border:1px solid var(--border); border-radius:12px; padding:6px; background:#fbfdff; }
.topic-preview-image { display:block; width:100%; max-width:250px; height:auto; margin:0 auto; }
.image-fullsize-preview {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(15, 23, 42, .82);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .15s ease, visibility .15s ease;
}
.image-fullsize-preview.is-visible {
  opacity: 1;
  visibility: visible;
}
.image-fullsize-preview img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 100%;
  pointer-events: auto;
  box-shadow: 0 12px 36px rgba(0, 0, 0, .4);
}
.project-card-center {  max-width: 600px;   margin: 1em auto;   text-align: center; }
.project-card h3 { margin-top:0; margin-bottom:4px; }
.image-row { display:flex; flex-wrap:wrap; gap:16px; justify-content:center; align-items:flex-start; margin:1em 0; }
.image-row a { display:inline-block; }
a { color:var(--accent); text-decoration:none; font-weight:bold; }
a:hover { text-decoration:underline; }
.status { display:inline-block; padding:3px 9px; border-radius:999px; background:#e0ecff; color:#1e40af; font-size:.55rem; font-weight:bold; }
.status[aria-label="In Arbeit"] { display:inline-grid; place-items:center; width:1.75rem; height:1.75rem; padding:0; border-radius:50%; font-size:1rem; line-height:1; vertical-align:middle; }
footer { border-top:1px solid var(--border); color:var(--muted); text-align:center; padding:24px 18px; font-size:0.9em; }
.note { color:var(--muted); }
pre {  background: #0f172a;  color: #e5e7eb;  padding: 16px;  border-radius: 12px;  overflow-x: auto;  font-size: 0.95rem; line-height: 1.5; }
code { font-family: Consolas, "Courier New", monospace; }
main li {
  margin-bottom: 0.6em;
}
a,
code {
    overflow-wrap: anywhere;
}
.project-card table {  border-collapse: collapse;  width: 100%;  margin: 12px 0;}

.project-card th,
.project-card td { border: 1px solid var(--border);  padding: 8px 10px;  text-align: left;}

.project-card th {  background: #eef4ff; }

.merkbox {   background: #f1f7ff;   border-left: 5px solid var(--accent);   padding: 10px 14px;   border-radius: 8px; }

nav[aria-label="Shelly Schritt Navigation"],
nav.section-nav {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  margin: 18px 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .04);
}
nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}
nav li {
  margin: 0;
}
nav a {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: #eef4ff;
  color: var(--accent);
  font-weight: 600;
}
nav a:hover {
  background: linear-gradient(135deg, #e0ecff, #cfe6ff);
  text-decoration: none;
}
nav a.active {
  background: var(--accent);
  color: #fff;
}
article {
  margin-bottom: 24px;
}
aside {
  background: #f5f9ff;
  border-left: 4px solid var(--accent);
  padding: 16px 18px;
  border-radius: 12px;
  margin: 18px 0;
}
figure {
  margin: 20px 0;
}
figcaption {
  font-size: 0.95rem;
  color: var(--muted);
  text-align: center;
  margin-top: 10px;
}
ul > li,
ol > li {
  margin-bottom: 0.7rem;
}
@media (max-width: 720px) {
  nav ul {
    flex-direction: column;
  }
  .home-menu {
    margin-top: 12px;
  }
}

.content-row {
      display: flex;
      align-items: flex-start;
      gap: 1.5rem;
      flex-wrap: wrap;
      margin: 1rem 0 1.5rem;
    }

    .content-row > p,
    .content-row > figure {
      flex: 1 1 280px;
      margin: 0;
    }

    .content-row img {
      max-width: 100%;
      height: auto;
    }

    .content-row > figure.half-width {
      flex: 0 1 calc(50% - .75rem);
      max-width: calc(50% - .75rem);
    }

    .content-row > figure.uniform-image-height {
      height: 300px;
      display: flex;
      justify-content: flex-end;
    }

    .content-row > figure.uniform-image-height > a {
      display: flex;
      width: 100%;
      height: 300px;
      max-width: 100%;
      justify-content: flex-end;
    }

    .content-row > figure.uniform-image-height img {
      width: 100%;
      height: 300px;
      max-width: 100%;
      object-fit: contain;
      object-position: right center;
    }

    @media (max-width: 720px) {
      .content-row > figure.half-width {
        flex-basis: 100%;
        max-width: 100%;
      }
    }

    .code-wrap {
      position: relative;
      margin: 1rem 0;
    }

    .code-panel {
      display: flex;
      align-items: stretch;
      background: #0f172a;
      border-radius: 12px;
      overflow: hidden;
    }

    .copy-button {
      position: absolute;
      right: .6rem;
      top: .6rem;
      z-index: 2;
      border: 1px solid #6d8296;
      border-radius: 7px;
      background: #243544;
      color: #fff;
      padding: .35rem .6rem;
      cursor: pointer;
      font-size: .9rem;
    }

    .copy-button:hover {
      background: #334b60;
    }

    pre.codebereich {
      margin: 0;
      overflow-x: auto;
      overflow-y: visible;
      height: auto;
      max-height: none;
      line-height: 1.5;
      padding: 1rem;
      border-radius: 0;
      background: transparent;
      flex: 1 1 auto;
      min-width: 0;
    }

    pre.codebereich.line-numbers {
      display: block;
    }

    .code-panel .line-numbers-rows {
      display: block;
      flex: 0 0 3.2em;
      margin: 0;
      border-right: 1px solid #cbd5e1;
      user-select: none;
      pointer-events: none;
      padding: 1rem .8rem 1rem 0;
      font-family: Consolas, "Courier New", monospace;
      font-size: 0.95rem;
      line-height: 1.5;
    }

    .code-panel .line-numbers-rows > span {
      display: block;
      line-height: 1.5;
      text-align: right;
      color: #94a3b8;
    }

    pre.codebereich.line-numbers > code {
      display: block;
      min-width: 0;
      font-family: Consolas, "Courier New", monospace;
      font-size: 0.95rem;
      line-height: 1.5;
      white-space: pre;
    }

    @media (max-width: 768px) {
      .content-row {
        flex-direction: column;
      }
    }
