  /* ---------- Grundlagen ---------- */
  :root {
    --bg: #f7f6f4;
    --surface: #ffffff;
    --text: #1b1a18;
    --muted: #6b655d;
    --line: #e2ded8;
    --accent: #8c2f1f;
    --max: 68rem;
    --radius: 10px;
  }

  @media (prefers-color-scheme: dark) {
    :root {
      --bg: #16151a;
      --surface: #1e1d23;
      --text: #ecebe8;
      --muted: #a09a92;
      --line: #2f2d35;
      --accent: #e0836f;
    }
  }

  *, *::before, *::after { box-sizing: border-box; }

  html { -webkit-text-size-adjust: 100%; }

  body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 1.0625rem;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
  }

  /* ---------- Skip-Link (Tastatur) ---------- */
  .skip {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--accent);
    color: #fff;
    padding: .6rem 1rem;
    z-index: 10;
  }
  .skip:focus { left: .5rem; top: .5rem; }

  /* ---------- Kopfbereich ---------- */
  header {
    background: var(--surface);
    border-bottom: 1px solid var(--line);
  }

  .wrap {
    max-width: var(--max);
    margin-inline: auto;
    padding: 1.5rem 1.25rem;
  }

  h1 {
    margin: 0;
    font-family: ui-serif, Georgia, "Times New Roman", serif;
    font-size: clamp(1.9rem, 5vw, 2.9rem);
    font-weight: 600;
    letter-spacing: -.015em;
    line-height: 1.1;
  }

  .lead {
    margin: .5rem 0 0;
    max-width: 46ch;
    color: var(--muted);
    font-size: 1rem;
  }

  /* ---------- Inhalt ---------- */
  main { padding-block: 2.5rem 3rem; }

  section + section { margin-top: 3.25rem; }

  h2 {
    margin: 0 0 .35rem;
    font-family: ui-serif, Georgia, "Times New Roman", serif;
    font-size: clamp(1.3rem, 3vw, 1.65rem);
    font-weight: 600;
    line-height: 1.2;
  }

  h2::before {
    content: "";
    display: block;
    width: 2.5rem;
    height: 3px;
    margin-bottom: .6rem;
    background: var(--accent);
  }

  .intro {
    margin: 0 0 1.5rem;
    max-width: 62ch;
    color: var(--muted);
  }

  /* ---------- Galerie ---------- */
  .gallery {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  @media (min-width: 40rem) {
    .gallery { grid-template-columns: repeat(2, 1fr); }
    .gallery > .span-all { grid-column: 1 / -1; }
    /* Einzelne Hochformat-Bilder: zentriert statt halbe Zeile links */
    .gallery > .solo { grid-column: 1 / -1; }
    .gallery > .solo > figure { max-width: 34rem; margin-inline: auto; }
  }

  figure {
    margin: 0;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
  }

  /* width/height im Markup geben dem Browser das Seitenverhältnis vor ->
     kein Layoutsprung beim Nachladen, und nichts wird beschnitten. */
  figure img {
    display: block;
    width: 100%;
    height: auto;
    background: var(--line);
  }

  /* ---------- Fuß ---------- */
  footer {
    border-top: 1px solid var(--line);
    background: var(--surface);
    color: var(--muted);
    font-size: .875rem;
  }

  footer p { margin: .25rem 0; }

  a { color: var(--accent); }
  a:focus-visible, .skip:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
  }
