/* ==========================================================================
   Fensterinhalte: Fließtext (Markdown), Willkommen, Textseiten
   ========================================================================== */

/* ---------- Fließtext aus Markdown ---------- */
.prose {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--text);
  overflow-wrap: break-word;
}
.prose > * + * { margin-top: 0.85em; }
.prose > :first-child { margin-top: 0; }
.prose h1 { font-size: 26px; font-weight: 720; letter-spacing: -0.02em; line-height: 1.2; }
.prose h2 { margin-top: 1.9em; font-size: 20px; font-weight: 680; letter-spacing: -0.012em; line-height: 1.3; }
.prose h3 { margin-top: 1.6em; font-size: 16.5px; font-weight: 650; line-height: 1.35; }
.prose h4 { margin-top: 1.4em; font-size: 15px; font-weight: 650; }
.prose :is(h2, h3, h4) + * { margin-top: 0.5em; }
.prose strong { font-weight: 650; }
.prose a { color: var(--akzent); text-decoration-thickness: 1px; text-underline-offset: 2px; }
.prose a:hover { color: var(--akzent-hover); }
.prose ul, .prose ol { padding-left: 1.35em; }
.prose li + li { margin-top: 0.3em; }
.prose li::marker { color: var(--akzent); }
.prose blockquote {
  padding: 12px 18px;
  border-left: 3px solid var(--akzent);
  border-radius: 0 10px 10px 0;
  background: var(--flaeche-2);
  color: var(--text-2);
}
.prose code {
  padding: 0.1em 0.35em;
  border-radius: 5px;
  background: var(--flaeche-3);
  font-family: var(--schrift-mono);
  font-size: 0.88em;
}
.prose pre {
  overflow: auto;
  padding: 14px 16px;
  border: 1px solid var(--linie);
  border-radius: 10px;
  background: var(--flaeche-2);
  line-height: 1.5;
}
.prose pre code { padding: 0; background: none; }
.prose img { height: auto; border: 1px solid var(--linie); border-radius: 10px; }
.prose figure.bild { margin-block: 1.5em; }
.prose figure.bild img { margin-inline: auto; }
.prose figcaption { margin-top: 8px; font-size: 13px; color: var(--text-3); text-align: center; }
.prose hr { margin-block: 2em; border: 0; border-top: 1px solid var(--linie); }
.prose .tabelle { overflow-x: auto; border: 1px solid var(--linie); border-radius: 10px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.5; }
.prose th, .prose td { padding: 9px 14px; border-bottom: 1px solid var(--linie); text-align: left; vertical-align: top; }
.prose th { background: var(--flaeche-2); font-weight: 620; }
.prose tr:last-child td { border-bottom: 0; }
.prose [align='center'] { text-align: center; }
.prose [align='right'] { text-align: right; }

/* ---------- Willkommen ---------- */
.willkommen { display: grid; gap: 18px; padding: 30px 32px 24px; }
.willkommen-kopf { display: flex; align-items: center; gap: 18px; }
.willkommen-foto {
  flex: none;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 3px var(--flaeche), 0 0 0 4.5px var(--akzent-sanft);
}
.willkommen-gruss { font-size: 27px; font-weight: 720; letter-spacing: -0.022em; line-height: 1.2; }
.willkommen-untertitel { margin-top: 5px; font-size: 14px; font-weight: 500; color: var(--text-2); }
.willkommen-text { color: var(--text-2); }
.willkommen-knoepfe { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 4px; }
.willkommen-hinweis { font-size: 13px; color: var(--text-3); text-align: center; }
@container fenster (max-width: 500px) {
  .willkommen { padding: 24px 22px 20px; }
  .willkommen-knoepfe { grid-template-columns: 1fr; }
}

/* Direktlink auf ein Projekt, das es nicht gibt */
.fehlermeldung.projekt-fehlt { margin: 0 auto; padding: 30px 28px 32px; border: 0; background: none; }

/* ---------- Einfache Textseite (Impressum, Datenschutz) ---------- */
.textseite { max-width: 74ch; padding: 28px 36px 44px; }
.textseite .prose h1 { margin-bottom: 0.6em; }

/* ==========================================================================
   Über mich
   ========================================================================== */
.ueber-mich { display: grid; gap: 26px; padding: 28px 32px 32px; }
.ueber-kopf {
  display: flex;
  align-items: center;
  gap: 22px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--linie);
}
.ueber-foto {
  flex: none;
  width: 112px;
  height: 112px;
  border-radius: 30px;
  object-fit: cover;
  box-shadow: var(--schatten-m);
}
.ueber-name { font-size: 27px; font-weight: 720; letter-spacing: -0.022em; line-height: 1.15; }
.ueber-untertitel { margin-top: 5px; color: var(--text-2); }
.ueber-ort { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 13.5px; color: var(--text-3); }
.ueber-ort .ico { width: 16px; height: 16px; }
.ueber-raster { display: grid; gap: 26px; }
.ueber-text h2 { font-size: 18px; }
.ueber-skills {
  display: grid;
  gap: 16px;
  align-content: start;
  padding: 18px;
  border: 1px solid var(--linie);
  border-radius: var(--radius-m);
  background: var(--flaeche-2);
}
.ueber-skills-titel {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-3);
}
.skill-gruppe { display: grid; gap: 8px; }
.skill-gruppe-name { font-size: 13px; font-weight: 620; color: var(--text-2); }
.ueber-weiter { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 22px; border-top: 1px solid var(--linie); }
@container fenster (min-width: 680px) {
  .ueber-raster { grid-template-columns: minmax(0, 1fr) 250px; align-items: start; }
  .ueber-skills { position: sticky; top: 20px; }
}

/* ==========================================================================
   Projekte-Ordner (Kacheln)
   ========================================================================== */
.ordner { display: grid; gap: 30px; padding: 24px 26px 30px; }
.ordner-leer { padding: 48px 24px; text-align: center; color: var(--text-3); }
.ordner-gruppe-kopf { display: flex; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.ordner-gruppe-titel {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-2);
}
.ordner-anzahl { font-size: 12.5px; color: var(--text-3); }
.kachel-raster {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.kachel {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  height: 100%;
  padding: 16px;
  border: 1px solid var(--linie);
  border-radius: 14px;
  background: var(--flaeche);
  color: var(--text);
  text-decoration: none;
  transition: border-color var(--dauer-kurz), box-shadow var(--dauer-kurz), translate var(--dauer-kurz) var(--kurve);
}
.kachel:hover {
  border-color: color-mix(in srgb, var(--akzent) 45%, transparent);
  box-shadow: var(--schatten-m);
  translate: 0 -2px;
}
.kachel:focus-visible { outline-offset: 2px; border-radius: 14px; }
.kachel-icon { flex: none; width: 52px; height: 52px; border-radius: 14px; box-shadow: var(--schatten-s); }
.kachel-text { display: grid; gap: 4px; min-width: 0; }
.kachel-titel { font-size: 15.5px; font-weight: 660; line-height: 1.3; }
.kachel-kurz {
  display: -webkit-box;
  overflow: hidden;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--text-2);
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}
.kachel-meta { font-size: 12.5px; color: var(--text-3); }
.kachel-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.kachel-tags .tag { padding: 2px 8px; font-size: 11.5px; }
.kachel-fehler { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--gefahr); }
.kachel-fehler .ico { width: 15px; height: 15px; }

/* Ersatz-Icon, wenn ein Projekt kein icon.svg hat */
.projekt-icon { object-fit: cover; }
.projekt-icon-ersatz {
  display: grid;
  place-items: center;
  background: var(--flaeche-3);
  color: var(--text-2);
}
.projekt-icon-ersatz .ico { width: 55%; height: 55%; }

/* ==========================================================================
   Projekttyp „app“
   ========================================================================== */
.projekt { display: grid; gap: 22px; padding: 26px 30px 40px; }
.projekt-kopf { display: grid; gap: 14px; }
.projekt-kopf-oben { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 18px; }
.projekt-kopf-icon { flex: none; width: 68px; height: 68px; border-radius: 19px; box-shadow: var(--schatten-m); }
.projekt-kopf-text { flex: 1 1 260px; min-width: 0; }
.projekt-titel { font-size: 27px; font-weight: 730; letter-spacing: -0.022em; line-height: 1.15; }
.projekt-kurz { margin-top: 5px; font-size: 15px; color: var(--text-2); }
.projekt-aktionen { display: flex; flex-wrap: wrap; gap: 8px; }
.projekt-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13.5px;
  color: var(--text-2);
}
.projekt-meta-eintrag { display: inline-flex; align-items: center; gap: 7px; }
.projekt-meta-eintrag .ico { width: 16px; height: 16px; color: var(--text-3); }
.status-punkt {
  width: 8px;
  height: 8px;
  margin-inline: 4px;
  border-radius: 50%;
  background: var(--akzent);
  box-shadow: 0 0 0 3px var(--akzent-sanft);
}
.projekt-einleitung { color: var(--text-2); }

/* ---------- Tabs ---------- */
.tabs-leiste {
  position: sticky;
  top: 0;
  z-index: 4;
  display: flex;
  gap: 2px;
  margin-inline: -30px;
  padding: 6px 30px 0;
  overflow-x: auto;
  border-bottom: 1px solid var(--linie);
  background: var(--flaeche);
  scrollbar-width: none;
}
.tab {
  position: relative;
  padding: 10px 14px 12px;
  border: 0;
  border-radius: 8px 8px 0 0;
  background: transparent;
  color: var(--text-2);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: color var(--dauer-kurz), background var(--dauer-kurz);
}
.tab:hover { color: var(--text); background: var(--flaeche-2); }
.tab:focus-visible { outline-offset: -2px; }
.tab[aria-selected='true'] { color: var(--akzent-sanft-text); }
.tab[aria-selected='true']::after {
  content: '';
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: -1px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--akzent);
}
.tab-panel { padding-top: 22px; }
.tab-panel:focus-visible { outline-offset: 6px; }

/* ---------- Galerie ---------- */
.galerie { display: grid; gap: 10px; }
.galerie-rahmen {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--linie);
  border-radius: 14px;
  background:
    radial-gradient(600px 300px at 50% 0%, var(--akzent-sanft), transparent 70%),
    var(--flaeche-2);
}
.galerie-buehne {
  display: grid;
  place-items: center;
  height: clamp(220px, 36cqw, 440px);
  padding: 14px 64px;
  container-type: size;
}
.medium-rahmen {
  position: relative;
  display: inline-block;
  max-width: 100cqw;
  max-height: 100cqh;
  line-height: 0;
}
.galerie-medium {
  display: block;
  width: auto;
  height: auto;
  max-width: 100cqw;
  max-height: 100cqh;
  border-radius: 9px;
  box-shadow: var(--schatten-m);
}
.vergroesserbar { cursor: zoom-in; }
.galerie-knopf {
  position: absolute;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--glas-rand);
  border-radius: 50%;
  background: var(--glas-stark);
  color: var(--text);
  box-shadow: var(--schatten-m);
  backdrop-filter: blur(10px);
  transition: scale var(--dauer-kurz), background var(--dauer-kurz);
}
.galerie-knopf:hover { scale: 1.06; background: var(--flaeche); }
.galerie-pfeil { top: 50%; translate: 0 -50%; }
.galerie-zurueck { left: 12px; }
.galerie-weiter { right: 12px; }
.galerie-vollbild { top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 10px; }
.galerie-vollbild .ico { width: 18px; height: 18px; }
.galerie-zaehler {
  position: absolute;
  bottom: 12px;
  right: 12px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--glas-stark);
  color: var(--text-2);
  font-size: 12px;
  font-weight: 620;
  font-variant-numeric: tabular-nums;
}
.galerie-text { font-size: 13.5px; color: var(--text-2); text-align: center; }
.galerie-vorschau { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.galerie-vorschaubild {
  width: 78px;
  height: 52px;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 10px;
  background: var(--flaeche-2);
  opacity: 0.65;
  transition: opacity var(--dauer-kurz), border-color var(--dauer-kurz);
}
.galerie-vorschaubild:hover { opacity: 1; }
.galerie-vorschaubild.aktiv { border-color: var(--akzent); opacity: 1; }
.galerie-vorschaubild img { width: 100%; height: 100%; object-fit: cover; }
.galerie-vorschau-video { display: grid; place-items: center; width: 100%; height: 100%; color: var(--text-2); }

/* ---------- Hotspots ---------- */
.hotspot {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  translate: -50% -50%;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--akzent);
  color: var(--akzent-auf);
  box-shadow: 0 2px 10px rgb(0 0 0 / 0.3);
  font-size: 12px;
  font-weight: 750;
  line-height: 1;
  transition: scale var(--dauer-kurz), background var(--dauer-kurz);
}
.hotspot:hover { scale: 1.1; }
.hotspot::before {
  content: '';
  position: absolute;
  inset: -7px;
  border: 2px solid var(--akzent);
  border-radius: 50%;
  opacity: 0;
  animation: hotspot-puls 2.4s var(--kurve) infinite;
  pointer-events: none;
}
.hotspot[aria-expanded='true'] { background: var(--text); color: var(--flaeche); }
.hotspot[aria-expanded='true']::before { animation: none; }
@keyframes hotspot-puls {
  0% { scale: 0.7; opacity: 0.8; }
  70%, 100% { scale: 1.5; opacity: 0; }
}
.hotspot-blase {
  position: absolute;
  z-index: 3;
  width: max-content;
  max-width: min(270px, 70cqw);
  padding: 10px 13px;
  translate: -16px 22px;
  border: 1px solid var(--linie);
  border-radius: 11px;
  background: var(--flaeche);
  color: var(--text);
  box-shadow: var(--schatten-fenster);
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.45;
}
.hotspot-blase.nach-links { translate: calc(-100% + 16px) 22px; }
.hotspot-blase.nach-oben { translate: -16px calc(-100% - 22px); }
.hotspot-blase.nach-links.nach-oben { translate: calc(-100% + 16px) calc(-100% - 22px); }
.hotspot-hilfe {
  position: absolute;
  z-index: 5;
  padding: 4px 8px;
  translate: 8px 8px;
  border-radius: 6px;
  background: #111;
  color: #fff;
  font: 600 12px/1.4 var(--schrift-mono);
  white-space: pre;
  pointer-events: none;
}

/* ---------- Lightbox (Vollbild) ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgb(8 12 16 / 0.9);
  color: #fff;
  animation: einblenden var(--dauer) var(--kurve);
}
.lightbox[open] { display: grid; grid-template-rows: minmax(0, 1fr) auto; }
.lightbox::backdrop { background: transparent; }
.lightbox-buehne { display: grid; place-items: center; min-height: 0; padding: 64px 84px 8px; }
.lightbox .medium-rahmen { max-width: none; max-height: none; }
.lightbox .galerie-medium {
  max-width: min(calc(100vw - 168px), 1800px);
  max-height: calc(100vh - 150px);
  border-radius: 10px;
  box-shadow: 0 20px 60px rgb(0 0 0 / 0.5);
}
.lightbox .hotspot-blase { max-width: 300px; }
.lightbox-leiste {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding: 14px 24px 24px;
  font-size: 14px;
  color: rgb(255 255 255 / 0.86);
}
.lightbox-zaehler { color: rgb(255 255 255 / 0.6); font-variant-numeric: tabular-nums; }
.lightbox-knopf {
  position: fixed;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.12);
  color: #fff;
  transition: background var(--dauer-kurz);
}
.lightbox-knopf:hover { background: rgb(255 255 255 / 0.24); }
.lightbox-knopf:focus-visible { outline-color: #fff; }
.lightbox-knopf .ico { width: 22px; height: 22px; }
.lightbox-schliessen { top: 18px; right: 18px; }
.lightbox-pfeil { top: 50%; translate: 0 -50%; }
.lightbox-zurueck { left: 18px; }
.lightbox-weiter { right: 18px; }
@keyframes einblenden { from { opacity: 0; } }

/* ==========================================================================
   Projekttyp „dokument“
   ========================================================================== */
.dokument {
  display: grid;
  grid-template-columns: minmax(0, 780px);
  justify-content: center;
  gap: 24px;
  min-height: 100%;
  padding: 28px 24px 56px;
  background: var(--flaeche-2);
}
.dokument-blatt {
  min-width: 0;
  padding: clamp(26px, 6cqw, 60px) clamp(22px, 6.5cqw, 68px) 60px;
  border: 1px solid var(--linie);
  border-radius: 14px;
  background: var(--flaeche);
  box-shadow: var(--schatten-m);
}
.dokument-kopf {
  display: grid;
  gap: 10px;
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--linie);
}
.dokument-kopf-oben { display: flex; align-items: center; gap: 10px; }
.dokument-icon { width: 34px; height: 34px; border-radius: 10px; }
.dokument-art {
  font-size: 12px;
  font-weight: 720;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--akzent-sanft-text);
}
.dokument-titel { font-size: clamp(27px, 3.6cqw, 36px); font-weight: 740; letter-spacing: -0.026em; line-height: 1.15; }
.dokument-kurz { font-size: 17px; line-height: 1.5; color: var(--text-2); }
.dokument-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  font-size: 13.5px;
  color: var(--text-2);
}
.dokument-meta li { display: inline-flex; align-items: center; gap: 7px; }
.dokument-meta .ico { width: 16px; height: 16px; color: var(--text-3); }
.dokument-pdf { justify-self: start; margin-top: 8px; }
.dokument-blatt .galerie { margin-bottom: 30px; }
.dokument-text { font-size: 16px; line-height: 1.72; }
.dokument-text :is(h2, h3) { scroll-margin-top: 24px; }
.dokument-text h2 { font-size: 21px; }
.dokument-text h2:focus, .dokument-text h3:focus { outline: none; }

.dokument-toc {
  align-self: start;
  padding: 16px 18px;
  border: 1px solid var(--linie);
  border-radius: 12px;
  background: var(--flaeche);
}
.toc-titel {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 720;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}
.toc-titel .ico { width: 16px; height: 16px; }
.toc-liste { display: grid; gap: 1px; margin: 0; padding: 0; list-style: none; border-left: 2px solid var(--linie); }
.toc-link {
  display: block;
  margin-left: -2px;
  padding: 5px 12px;
  border-left: 2px solid transparent;
  color: var(--text-2);
  font-size: 13.5px;
  line-height: 1.35;
  text-decoration: none;
  transition: color var(--dauer-kurz), border-color var(--dauer-kurz);
}
.toc-link.toc-h3 { padding-left: 24px; font-size: 13px; }
.toc-link:hover { color: var(--text); }
.toc-link[aria-current='true'] { border-left-color: var(--akzent); color: var(--akzent-sanft-text); font-weight: 620; }
@container fenster (min-width: 860px) {
  .dokument.mit-verzeichnis { grid-template-columns: 200px minmax(0, 740px); align-items: start; }
  .dokument.mit-verzeichnis .dokument-toc { position: sticky; top: 28px; padding: 4px 0 0; border: 0; background: none; }
}

/* ==========================================================================
   Lebenslauf
   ========================================================================== */
.lebenslauf { display: flex; flex-direction: column; height: 100%; }
.lebenslauf-leiste {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 18px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--linie);
}
.lebenslauf-titel { font-size: 16px; font-weight: 660; }
.lebenslauf-stand { margin-top: 2px; font-size: 13px; color: var(--text-3); }
.lebenslauf-aktionen { display: flex; flex-wrap: wrap; gap: 8px; }
.lebenslauf-vorschau { flex: 1; min-height: 320px; background: var(--flaeche-3); }
.lebenslauf-pdf { display: block; width: 100%; height: 100%; border: 0; }
.lebenslauf-ersatz {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 14px;
  height: 100%;
  padding: 32px;
  color: var(--text-2);
  text-align: center;
}
.lebenslauf-ersatz > .ico { width: 44px; height: 44px; color: var(--text-3); }
.lebenslauf-ersatz p { max-width: 36ch; }

/* ==========================================================================
   Kontakt
   ========================================================================== */
.kontakt { display: grid; gap: 16px; padding: 24px 24px 26px; }
.kontakt-intro { font-size: 15.5px; color: var(--text-2); }
.kontakt-liste { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.kontakt-eintrag {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 14px 13px 16px;
  border: 1px solid var(--linie);
  border-radius: 14px;
  background: var(--flaeche);
  transition: border-color var(--dauer-kurz), box-shadow var(--dauer-kurz);
}
.kontakt-eintrag:has(a:hover) { border-color: color-mix(in srgb, var(--akzent) 45%, transparent); box-shadow: var(--schatten-s); }
.kontakt-symbol {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--akzent-sanft);
  color: var(--akzent);
}
.kontakt-symbol .ico { width: 20px; height: 20px; }
.kontakt-text { display: grid; flex: 1; min-width: 0; }
.kontakt-art { font-size: 12px; font-weight: 640; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-3); }
.kontakt-wert {
  overflow: hidden;
  color: var(--text);
  font-size: 15px;
  font-weight: 560;
  text-decoration: none;
  white-space: nowrap;
  text-overflow: ellipsis;
}
a.kontakt-wert:hover { color: var(--akzent); text-decoration: underline; text-underline-offset: 2px; }
/* Bei LinkedIn/GitHub ist die ganze Zeile anklickbar */
.kontakt-eintrag:not(.kontakt-email) a.kontakt-wert::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.kontakt-eintrag:not(.kontakt-email) a.kontakt-wert:focus-visible { outline: none; }
.kontakt-eintrag:not(.kontakt-email):has(a:focus-visible) { outline: 2px solid var(--akzent); outline-offset: 2px; }
.kontakt-extern { color: var(--text-3); }
.kontakt-extern .ico { width: 16px; height: 16px; }
.kontakt-kopieren.erfolg { border-color: var(--akzent); color: var(--akzent-sanft-text); }

/* ==========================================================================
   Terminal (Easter Egg) – immer dunkel
   ========================================================================== */
.fenster-terminal .fenster-inhalt { background: #0e1318; }
.terminal {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 14px 16px 16px;
  color: #d5dde5;
  font-family: var(--schrift-mono);
  font-size: 13.5px;
  line-height: 1.6;
  cursor: text;
}
.terminal-ausgabe { flex: none; }
.terminal-text { white-space: pre-wrap; overflow-wrap: anywhere; }
.terminal-text.gedimmt { color: #8b98a6; }
.terminal-text.eingabe { color: #f2f5f8; }
.terminal-text.fehler { color: #ff9b8f; }
.terminal-zeile { display: flex; gap: 8px; align-items: baseline; }
.terminal-prompt { flex: none; color: #4fd1c1; }
.terminal-eingabe {
  flex: 1;
  min-width: 0;
  padding: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: #f2f5f8;
  font: inherit;
  caret-color: #4fd1c1;
}
