/* Gemeinsame Gestaltung der Unterseiten (Veröffentlichungen, Impressum, Datenschutz) – gleiche Farben und Seitenmenü wie die Startseite */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #FAFAF7;
  --ink: #14181F;
  --muted: #5E6570;
  --accent: #1F3A5F;
  --accent-soft: #E9EEF4;
  --rule: #E2E2DC;
  --side: 250px;
}
body {
  background: var(--bg); color: var(--ink);
  font-family: 'Manrope', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  display: grid; grid-template-columns: var(--side) minmax(0, 1fr);
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }

/* ---------- Seitenmenü ---------- */
.side {
  position: sticky; top: 0; height: 100vh;
  padding: 48px 32px 32px;
  border-right: 1px solid var(--rule);
  display: flex; flex-direction: column; gap: 56px;
}
.brand { font-weight: 800; font-size: 22px; letter-spacing: -.02em; line-height: 1.1; }
.brand small { display: block; margin-top: 8px; font-weight: 500; font-size: 13px; color: var(--muted); letter-spacing: 0; }
.menu { list-style: none; display: flex; flex-direction: column; }
.menu a {
  display: grid; grid-template-columns: 30px 1fr; align-items: baseline;
  padding: 11px 0 11px 14px;
  border-left: 2px solid transparent;
  border-bottom: 1px solid var(--rule);
  font-weight: 500; font-size: 15px; color: var(--muted);
  transition: color .2s, border-color .2s, background .2s;
}
.menu .n { font-size: 11px; font-weight: 600; color: var(--accent); letter-spacing: .06em; }
.menu a:hover, .menu a:focus-visible { color: var(--ink); border-left-color: var(--accent); background: var(--accent-soft); }
.legal { margin-top: auto; font-size: 12.5px; color: var(--muted); display: flex; flex-direction: column; gap: 6px; }
.legal a:hover, .legal a[aria-current="page"] { color: var(--accent); }
.legal a[aria-current="page"] { font-weight: 700; }

/* ---------- Rechtstext ---------- */
main { padding: 0 clamp(24px, 5vw, 80px); }
.wrap { max-width: 760px; padding: 112px 0 96px; }
.label { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 28px; }
h1 { font-weight: 800; font-size: clamp(36px, 4.2vw, 60px); line-height: 1.06; letter-spacing: -.03em; margin-bottom: 56px; }
h2 { font-size: 20px; font-weight: 700; letter-spacing: -.01em; margin: 48px 0 14px; padding-top: 28px; border-top: 1px solid var(--rule); }
h2:first-of-type { margin-top: 0; }
h3 { font-size: 16px; font-weight: 700; margin: 24px 0 8px; }
p, li { font-size: 16px; line-height: 1.75; color: #353a42; }
p + p { margin-top: 12px; }
ul { margin: 10px 0 0 20px; }
ul + p { margin-top: 14px; }
li + li { margin-top: 4px; }
address { font-style: normal; font-size: 17px; line-height: 1.75; }
.inline-link { color: var(--accent); font-weight: 600; border-bottom: 1px solid currentColor; }
.inline-link:hover { opacity: .75; }
.stand { margin-top: 56px; font-size: 13px; color: var(--muted); }

/* Lücken, die vor dem Online-Stellen gefüllt werden müssen */
.todo { background: #FFF3C4; color: #6B5300; padding: 1px 6px; font-weight: 600; border-radius: 2px; }

footer { border-top: 1px solid var(--rule); padding: 24px 0 40px; font-size: 13px; color: var(--muted); display: none; gap: 20px; }
footer a[aria-current="page"] { color: var(--accent); font-weight: 700; }

/* ---------- schmale Bildschirme ---------- */
@media (max-width: 860px) {
  body { display: block; }
  .side { position: sticky; z-index: 5; height: auto; padding: 12px 16px; flex-direction: row; align-items: center; gap: 16px; border: 0; border-bottom: 1px solid var(--rule); background: var(--bg); }
  .brand { font-size: 17px; white-space: nowrap; } .brand small, .legal { display: none; }
  .side nav { min-width: 0; }
  .menu { flex-direction: row; overflow-x: auto; gap: 16px; scrollbar-width: none; }
  .menu a { display: block; padding: 4px 0; border: 0; background: none !important; white-space: nowrap; font-size: 14px; }
  .menu .n { display: none; }
  main { padding: 0 16px; }
  .wrap { padding: 56px 0 48px; }
  h1 { margin-bottom: 40px; }
  footer { display: flex; }
}
@media (prefers-reduced-motion: reduce) {
  .menu a { transition: none; }
}

/* ---------- Seite „Veröffentlichungen“ ---------- */
.menu a[aria-current="page"] { color: var(--ink); border-left-color: var(--accent); background: var(--accent-soft); }
.wrap.wide { max-width: 1000px; }
.intro { font-size: 18px; line-height: 1.7; color: var(--muted); max-width: 56ch; margin: -24px 0 56px; }
.btn { display: inline-block; padding: 14px 24px; font-weight: 600; font-size: 15px; border: 1.5px solid var(--accent); color: var(--accent); transition: background .2s, color .2s; }
.btn.primary { background: var(--accent); color: #fff; }
.btn.primary:hover { opacity: .88; }
.pub { display: flex; flex-direction: column; gap: 24px; background: #fff; border: 1px solid var(--rule); padding: clamp(24px, 4vw, 48px); }
.pub + .pub { margin-top: 24px; }
.pub-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; font-size: 14px; color: var(--muted); line-height: 1.5; }
.pub-type { padding: 3px 10px; border: 1px solid var(--accent); color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.pub-new { padding: 3px 10px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.pub h3 { font-size: clamp(22px, 2.4vw, 32px); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; margin: 0; }
.pub-sub { margin-top: 8px; font-size: 17px; font-weight: 600; color: var(--accent); }
.pub-text { margin: 20px 0 28px; font-size: 16px; line-height: 1.7; color: #353a42; max-width: 62ch; }
.pub-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.pub-source { color: var(--accent); font-weight: 600; border-bottom: 1px solid currentColor; }
.pub-source:hover { opacity: .75; }
.dl { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--rule); font-size: 13px; font-weight: 600; color: var(--muted); transition: color .2s, border-color .2s; }
.dl svg { width: 14px; height: 14px; }
.dl span { font-weight: 500; opacity: .75; }
.dl:hover, .dl:focus-visible { color: var(--accent); border-color: var(--accent); }
.back { display: inline-block; margin-top: 48px; font-weight: 600; color: var(--accent); }
.back:hover { opacity: .75; }
@media (max-width: 860px) {
  .menu a[aria-current="page"] { color: var(--accent); }
  .intro { margin: -16px 0 40px; }
}

/* ---------- Seite „Fotografie“ ---------- */
.placeholder { border: 1px dashed var(--rule); background: #fff; padding: clamp(32px, 6vw, 72px); text-align: center; color: var(--muted); font-size: 17px; line-height: 1.7; }
.placeholder strong { display: block; color: var(--ink); font-size: 20px; margin-bottom: 6px; }

/* =====================================================================
   Unterseiten des KI-Bereichs (body.unter): Kopfzeile oben statt Seitenmenü,
   Impressum/Datenschutz zentriert am Seitenende – wie arbeit.html.
   Gilt nur für body.unter, die Fotoseiten haben ihre eigene Kopfzeile.
   ===================================================================== */
body.unter { display: block; }
body.unter .site-head { position: sticky; top: 0; z-index: 20; background: rgba(250,250,247,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--rule); }
body.unter .site-head .in { box-sizing: content-box; max-width: 1160px; margin: 0 auto; padding: 22px clamp(24px, 5vw, 80px); display: flex; justify-content: space-between; align-items: center; gap: 16px 40px; flex-wrap: wrap; }
body.unter .brand { display: flex; flex-direction: column; gap: 5px; }
body.unter .brand strong { font-size: 19px; font-weight: 800; letter-spacing: -.02em; line-height: 1; }
body.unter .brand small { margin: 0; font-weight: 500; font-size: 12.5px; color: var(--muted); }
body.unter .head-nav { display: flex; align-items: center; gap: 8px 28px; flex-wrap: wrap; }
body.unter .menu { list-style: none; display: flex; flex-direction: row; flex-wrap: wrap; gap: 6px 24px; margin: 0; }
body.unter .menu li + li { margin-top: 0; }
body.unter .menu a { display: inline-flex; align-items: baseline; gap: 6px; padding: 4px 0; font-weight: 500; font-size: 14.5px; color: var(--muted); border: 0; border-bottom: 1.5px solid transparent; background: none; transition: color .2s, border-color .2s; }
body.unter .menu .n { font-size: 10.5px; font-weight: 700; color: var(--accent); letter-spacing: .06em; }
body.unter .menu a:hover, body.unter .menu a:focus-visible, body.unter .menu a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); background: none; }
body.unter .to-home { font-size: 13.5px; font-weight: 500; color: var(--muted); padding-left: 28px; border-left: 1px solid var(--rule); }
body.unter .to-home:hover, body.unter .to-home:focus-visible { color: var(--accent); }
body.unter .wrap { margin: 0 auto; padding-top: 88px; }
body.unter footer { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 28px; margin-top: 64px; padding: 40px 0 56px; border-top: 1px solid var(--rule); }
body.unter footer a:hover, body.unter footer a:focus-visible { color: var(--accent); }
@media (max-width: 860px) {
  body.unter .site-head { position: sticky; }
  body.unter .site-head .in { padding: 12px 16px; flex-direction: column; align-items: flex-start; gap: 8px; }
  body.unter .brand strong { font-size: 17px; } body.unter .brand small { display: none; }
  body.unter .head-nav { width: 100%; min-width: 0; }
  body.unter .head-nav nav { flex: 1; min-width: 0; }
  body.unter .menu { flex-wrap: nowrap; overflow-x: auto; gap: 18px; scrollbar-width: none; width: 100%; }
  body.unter .menu a { white-space: nowrap; font-size: 14px; }
  body.unter .menu .n, body.unter .to-home { display: none; }
  body.unter .wrap { padding-top: 48px; }
}
