/* Dachzeile: der gemeinsame Kopf aller Seiten – Einstiegsseite und alle Projekte.
   Liegt unter /assets/dach.css; die Projektseiten laden sie mit (../assets/dach.css,
   aus en/ ../../assets/dach.css). Alle Werte stehen hier, damit sie auf jeder
   Projektseite gleich aussieht, egal welches Stylesheet die Seite sonst hat. */

.dach {
  --dach-bg: #F6F5F2; --dach-ink: #1B1C1E; --dach-soft: #5B5E63; --dach-rule: #E2DFD9; --dach-focus: #C9731C;
  position: relative; z-index: 11;
  background: var(--dach-bg); color: var(--dach-ink); border-bottom: 1px solid var(--dach-rule);
  font: 400 16px/1.4 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased; text-align: left;
}
@media (prefers-color-scheme: dark) {
  .dach { --dach-bg: #141517; --dach-ink: #ECEBE8; --dach-soft: #A3A6AB; --dach-rule: #2E3034; --dach-focus: #F0A14B; }
}
/* Auf der Einstiegsseite bleibt sie beim Scrollen stehen; auf Projektseiten übernimmt das der Projektkopf. */
.dach--fest { position: sticky; top: 0; background: color-mix(in srgb, var(--dach-bg) 88%, transparent); backdrop-filter: blur(8px); }

.dach *, .dach *::before, .dach *::after { box-sizing: border-box; }
.dach-wrap { max-width: 72rem; margin-inline: auto; padding-inline: 16px; min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.dach-brand { display: flex; align-items: center; gap: .65rem; color: inherit; text-decoration: none; font-size: 1rem; font-weight: 750; letter-spacing: -.01em; white-space: nowrap; }
.dach-mono { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 8px; background: var(--dach-ink); color: var(--dach-bg); font-size: .8rem; font-weight: 800; letter-spacing: .04em; }
.dach-nav { display: flex; align-items: center; gap: 1.3rem; }
.dach-nav a { color: var(--dach-soft); text-decoration: none; font-size: .95rem; font-weight: 600; white-space: nowrap; }
.dach-nav a:hover { color: var(--dach-ink); }
.dach a:focus-visible { outline: 3px solid var(--dach-focus); outline-offset: 3px; border-radius: 4px; }
.dach-nav .dach-lang { border: 1.5px solid var(--dach-rule); border-radius: 999px; padding: .3rem .65rem; font-size: .82rem; letter-spacing: .06em; }
/* Schmal: nur Marke, Sprache und Links mit .dach-immer */
@media (max-width: 560px) { .dach-nav a:not(.dach-lang):not(.dach-immer) { display: none; } }
