/* ==========================================================================
   Seemann Research — Design System
   Palette: Deep Navy #0B1D3A · Steel Blue #5E789A · Teal #14A7A1
            Cool Gray #6F7E8F · Light Gray #E6EEF2 · White #FFFFFF
   Type: IBM Plex Sans Condensed (display) · IBM Plex Sans (body) · IBM Plex Mono (labels)
   ========================================================================== */

/* ---- Schriften: IBM Plex, lokal gehostet (SIL Open Font License 1.1, siehe /fonts/OFL.txt) ---- */
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/ibm-plex-sans-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Sans"; font-style: italic; font-weight: 400; font-display: swap; src: url("/fonts/ibm-plex-sans-latin-400-italic.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans"; font-style: italic; font-weight: 400; font-display: swap; src: url("/fonts/ibm-plex-sans-latin-ext-400-italic.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/ibm-plex-sans-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/ibm-plex-sans-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Sans Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/ibm-plex-sans-condensed-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/ibm-plex-sans-condensed-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Sans Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/ibm-plex-sans-condensed-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/ibm-plex-sans-condensed-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/ibm-plex-mono-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --navy: #0b1d3a;
  --navy-soft: #17263f;
  --steel: #5e789a;
  --teal: #14a7a1;
  /* #14a7a1 bleibt für große Überschriften, Icons, Flächen; #0b7774 für Fließ-/Kleintext (WCAG AA) */
  --teal-dark: #0b7774;
  /* #59697b statt #6f7e8f: WCAG-AA-Kontrast für Fließtext auf Weiß */
  --gray: #59697b;
  --light: #e6eef2;
  --white: #ffffff;

  --bg: var(--white);
  --bg-alt: var(--light);
  --text: var(--navy-soft);
  --text-muted: var(--gray);
  --border: #d7e1e8;

  --font-display: "IBM Plex Sans Condensed", "IBM Plex Sans", sans-serif;
  --font-body: "IBM Plex Sans", -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  --max: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-pad: clamp(4rem, 8vw, 7.5rem);

  --radius: 3px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 600; color: var(--navy); letter-spacing: -0.01em; overflow-wrap: break-word; hyphens: auto; }
p { margin: 0; }
button { font: inherit; }

/* ---- Type scale ---- */
h1, .h1 { font-size: clamp(2.5rem, 4.6vw, 4.5rem); line-height: 1.04; font-weight: 650; }
h2, .h2 { font-size: clamp(1.9rem, 3vw, 2.75rem); line-height: 1.1; }
h3, .h3 { font-size: clamp(1.3rem, 1.8vw, 1.6rem); line-height: 1.25; }
h4, .h4 { font-size: 1.05rem; font-weight: 600; }
.lede { font-size: clamp(1.1rem, 1.4vw, 1.3rem); color: var(--text-muted); line-height: 1.55; font-weight: 400; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-dark);
}
.eyebrow::before {
  content: "";
  width: 1.4em;
  height: 1px;
  background: var(--teal);
  display: inline-block;
}

/* ---- Field / code tags (signature element) ---- */
.tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  border: 1px solid var(--border);
  padding: 0.3em 0.65em;
  border-radius: var(--radius);
  background: var(--white);
}
.tag--accent { border-color: var(--teal); color: var(--teal-dark); }
.tag--on-navy { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.25); color: rgba(255,255,255,0.85); }
.tag-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }

/* ---- Layout helpers ---- */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-pad) 0; }
.section--alt { background: var(--bg-alt); }
.section--navy { background: var(--navy); color: rgba(255,255,255,0.88); }
.section--navy h1, .section--navy h2, .section--navy h3, .section--navy h4 { color: var(--white); }
.section-head { max-width: 680px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head + .section-head { margin-top: 2rem; }

.grid { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85em 1.5em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--teal); color: var(--white); }
.btn-primary:hover { background: var(--teal-dark); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { border-color: var(--teal); color: var(--teal-dark); }
.btn-outline-light { border-color: rgba(255,255,255,0.5); color: var(--white); background: transparent; }
.btn-outline-light:hover { border-color: var(--teal); color: var(--teal); }
.btn svg { width: 1em; height: 1em; }
.btn-linkedin { background: #0a66c2; color: var(--white); }
.btn-linkedin:hover { background: #084d92; }
.btn-linkedin svg { width: 1.15em; height: 1.15em; }

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.25s var(--ease);
}
/* Hintergrund + Blur auf eigener Ebene: backdrop-filter direkt am Header würde ihn zum
   Containing Block für das fixierte Mobilmenü machen (Menü wäre nur so hoch wie der Header). */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255,255,255,0.96); backdrop-filter: blur(6px);
}
.site-header.is-scrolled { box-shadow: 0 8px 24px -18px rgba(11,29,58,0.35); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 2rem; }
.brand { display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0; }
.brand-mark { height: 34px; width: auto; }
.brand-word { font-family: var(--font-display); font-size: 1.25rem; font-weight: 650; color: var(--navy); letter-spacing: -0.01em; white-space: nowrap; }

.nav-primary { display: flex; align-items: center; gap: clamp(1.1rem, 1.8vw, 1.9rem); }
.nav-primary a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--navy-soft);
  position: relative;
  padding: 0.3rem 0;
  white-space: nowrap;
}
.nav-primary a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s var(--ease);
}
.nav-primary a:hover::after, .nav-primary a.is-active::after { transform: scaleX(1); }
.nav-primary a.is-active { color: var(--navy); }
.header-actions { display: flex; align-items: center; gap: 2rem; }
.nav-toggle { display: none; }

/* Untermenüs (Desktop: Aufklappen bei Hover/Fokus) */
.nav-group { position: relative; display: flex; align-items: center; }
.nav-group > a { padding-right: 0.95rem; }
.nav-group > a::before {
  content: ""; position: absolute; right: 0; top: 50%; width: 5px; height: 5px; margin-top: -4px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); opacity: 0.6;
}
.nav-sub {
  position: absolute; top: calc(100% + 0.9rem); left: -1rem; min-width: 15rem; z-index: 10;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: 0 16px 32px -20px rgba(11,29,58,0.4); padding: 0.5rem 0;
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity 0.15s var(--ease), transform 0.15s var(--ease), visibility 0s linear 0.15s;
}
.nav-sub::before { content: ""; position: absolute; left: 0; right: 0; top: -1rem; height: 1rem; } /* Hover-Brücke */
.nav-group:hover .nav-sub, .nav-group:focus-within .nav-sub {
  opacity: 1; visibility: visible; transform: none; transition: opacity 0.15s var(--ease), transform 0.15s var(--ease), visibility 0s;
}
.nav-sub a { display: block; padding: 0.55rem 1rem; font-size: 0.9rem; }
.nav-sub a::after { display: none; }
.nav-sub a:hover, .nav-sub a.is-active { background: var(--light); color: var(--navy); }
.nav-sub-indent a { padding-left: 2rem; font-size: 0.86rem; color: var(--gray); position: relative; }
.nav-sub-indent a::before { content: ""; position: absolute; left: 1.15rem; top: 50%; width: 0.45rem; height: 1px; background: var(--border); }
.header-actions .btn-primary.is-active { background: var(--teal-dark); }

/* Ab 1140px passt die volle Navigation samt Kontakt-Button nicht mehr in eine Zeile */
@media (max-width: 1140px) {
  .site-header .wrap { height: 68px; }
  .brand-mark { height: 28px; }
  .brand-word { font-size: 1.05rem; }
  .nav-toggle {
    display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border: 1px solid var(--border); background: none;
    border-radius: var(--radius); cursor: pointer;
  }
  .nav-toggle span, .nav-toggle::before, .nav-toggle::after { content: ""; display: block; width: 18px; height: 2px; background: var(--navy); }
  .nav-toggle { flex-direction: column; gap: 4px; }
  .nav-primary {
    position: fixed; inset: 68px 0 0 0; background: var(--white);
    flex-direction: column; align-items: flex-start; padding: 2rem var(--gutter);
    gap: 1.4rem; transform: translateX(100%); transition: transform 0.3s var(--ease), visibility 0s linear 0.3s;
    overflow-y: auto;
    /* geschlossen: aus Layout-Breite, Tab-Reihenfolge und Screenreader nehmen */
    visibility: hidden;
  }
  .nav-primary.is-open { transform: translateX(0); visibility: visible; transition: transform 0.3s var(--ease), visibility 0s; }
  .nav-primary a { font-size: 1.15rem; }
  /* Mobil: Untermenüs immer sichtbar, eingerückt */
  .nav-group { flex-direction: column; align-items: flex-start; }
  .nav-group > a { padding-right: 0; }
  .nav-group > a::before { display: none; }
  .nav-sub {
    position: static; opacity: 1; visibility: inherit; transform: none; transition: none;
    box-shadow: none; border: none; border-left: 2px solid var(--border); border-radius: 0;
    padding: 0; margin: 0.6rem 0 0 0.2rem; min-width: 0;
  }
  .nav-sub::before { display: none; }
  .nav-sub a { font-size: 1rem; padding: 0.35rem 0 0.35rem 1rem; color: var(--gray); }
  .nav-sub-indent a { padding-left: 2rem; font-size: 0.95rem; }
  .nav-sub-indent a::before { left: 1rem; }
  .nav-sub a:hover, .nav-sub a.is-active { background: none; color: var(--navy); }
  .header-actions { gap: 0.6rem; }
  .header-actions .btn-primary { padding: 0.65em 1.1em; font-size: 0.88rem; }
}
@media (max-width: 520px) {
  .site-header .wrap { gap: 0.75rem; }
  .header-actions .btn-primary { padding: 0.6em 0.9em; }
}
@media (max-width: 360px) {
  .site-header .wrap { gap: 0.5rem; }
  .brand { gap: 0.4rem; }
  .brand-mark { height: 24px; }
  .brand-word { font-size: 0.95rem; }
  .header-actions { gap: 0.4rem; }
  .header-actions .btn-primary { padding: 0.55em 0.7em; font-size: 0.82rem; }
  .nav-toggle { width: 36px; height: 36px; }
}

/* ---- Hero ---- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 10vw, 8rem) 0 clamp(3.5rem, 7vw, 6rem);
  background: var(--bg-alt);
}
.hero-facets { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; }
.hero-content { max-width: 760px; }
.hero-content .eyebrow { margin-bottom: 1.4rem; }
.hero-content h1 { margin-bottom: 0.5rem; }
.hero-claim { font-family: var(--font-display); font-size: clamp(1.3rem, 2.2vw, 1.75rem); font-weight: 600; color: var(--teal-dark); margin-bottom: 1.4rem; }
.hero-content .lede { max-width: 620px; margin-bottom: 2.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3rem; }
.hero-fields { display: flex; flex-wrap: wrap; gap: 0.6rem; }

/* ---- Cards ---- */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 2.5vw, 2.1rem);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.card:hover { border-color: var(--teal); transform: translateY(-3px); box-shadow: 0 16px 32px -24px rgba(11,29,58,0.35); }
.card .tag { margin-bottom: 1rem; }
.card h3 { margin-bottom: 0.6rem; }
.card p { color: var(--text-muted); font-size: 0.95rem; }
.card-list { margin-top: 1rem; }
.card-list li { font-size: 0.92rem; color: var(--text); padding: 0.35rem 0; border-top: 1px solid var(--border); }
.card-list li:first-child { border-top: none; }

/* ---- Research fields page ---- */
.field-row { display: grid; grid-template-columns: 200px 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.field-marker { display: flex; flex-direction: column; gap: 0.9rem; border-left: 3px solid var(--teal); padding-left: 1.25rem; }
.field-index { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; color: var(--text-muted); }
.field-code-big { font-family: var(--font-display); font-size: clamp(3rem, 6vw, 4.25rem); font-weight: 700; line-height: 0.85; color: var(--navy); letter-spacing: -0.01em; }
@media (max-width: 640px) {
  .field-row { grid-template-columns: 1fr; }
  .field-marker { flex-direction: row; align-items: baseline; gap: 1rem; border-left: none; padding-left: 0; border-bottom: 1px solid var(--border); padding-bottom: 0.75rem; }
  .field-code-big { font-size: 2.25rem; }
}

/* ---- Expertise page ---- */
.expertise-index a { scroll-margin-top: 6rem; }
.code-badge {
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  width: 4rem; height: 4rem; border-radius: 50%;
  border: 1px solid var(--border); background: var(--white);
  font-family: var(--font-mono); font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.02em; color: var(--teal-dark); text-align: center; line-height: 1.1;
}
.expertise-block { scroll-margin-top: 6rem; }
.expertise-block-head { display: flex; gap: 1.5rem; align-items: flex-start; margin-bottom: 1.75rem; }
.expertise-block-head > div { min-width: 0; }
.bullet-grid { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.65rem 2rem; margin-left: calc(4rem + 1.5rem); }
.bullet-grid li { position: relative; padding-left: 1.1rem; font-size: 0.95rem; color: var(--text); }
.bullet-grid li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 6px; height: 6px; background: var(--teal); }
@media (max-width: 640px) {
  .bullet-grid { grid-template-columns: 1fr; margin-left: 0; margin-top: 1rem; }
  .expertise-block-head { gap: 1rem; }
  .code-badge { width: 3.25rem; height: 3.25rem; font-size: 0.68rem; }
}
.pull-quote {
  font-family: var(--font-display); font-weight: 600; letter-spacing: -0.01em;
  font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.3; color: var(--navy);
  max-width: 46rem; border-left: 3px solid var(--teal); padding-left: 1.5rem;
}

/* ---- Process strip ---- */
.process { display: flex; flex-wrap: wrap; gap: 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.process-step { flex: 1 1 160px; padding: 1.5rem 1.4rem; border-left: 1px solid var(--border); position: relative; }
.process-step:first-child { border-left: none; }
.process-step .step-index { font-family: var(--font-mono); font-size: 0.72rem; color: var(--teal-dark); letter-spacing: 0.1em; }
.process-step h4 { margin-top: 0.5rem; font-size: 0.98rem; }

/* ---- Checklist ---- */
.checklist li { display: flex; gap: 0.9rem; padding: 0.9rem 0; border-top: 1px solid var(--border); align-items: flex-start; }
.checklist li:first-child { border-top: none; }
.checklist .check-icon { flex-shrink: 0; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: rgba(20,167,161,0.12); color: var(--teal-dark); display: flex; align-items: center; justify-content: center; font-size: 0.85rem; margin-top: 0.1rem; }

/* ---- Team ---- */
.team-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: border-color 0.2s var(--ease), transform 0.2s var(--ease); }
.team-card:hover { border-color: var(--teal); transform: translateY(-3px); }
.team-card img { width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; filter: grayscale(0.15); }
.team-card-body { padding: 1.5rem; }
.team-card-body .role { color: var(--teal-dark); font-size: 0.85rem; font-weight: 600; margin-bottom: 0.15rem; }
.team-card-body h3 { font-size: 1.2rem; margin-bottom: 0.2rem; }
.team-card-body p { color: var(--text-muted); font-size: 0.88rem; margin-top: 0.7rem; }

.profile { display: grid; grid-template-columns: 190px 1fr; gap: clamp(1.75rem, 3.5vw, 3rem); align-items: start; scroll-margin-top: 6rem; }
.profile img { border-radius: var(--radius); aspect-ratio: 4/5; object-fit: cover; width: 100%; height: auto; }
.profile .role { color: var(--teal-dark); font-weight: 600; font-size: 0.95rem; margin: 0.3rem 0 1.2rem; }
.profile-highlight {
  margin-top: 1.1rem; padding: 0.9rem 1.1rem; border-left: 3px solid var(--teal);
  background: rgba(20,167,161,0.07); color: var(--navy-soft); border-radius: 0 var(--radius) var(--radius) 0;
}
.profile-highlight strong { color: var(--navy); display: block; margin-bottom: 0.2rem; }
.profile-links { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; }
.profile + .profile { margin-top: clamp(3.5rem, 6vw, 5.5rem); padding-top: clamp(3.5rem, 6vw, 5.5rem); border-top: 1px solid var(--border); }
@media (max-width: 720px) {
  .profile { grid-template-columns: 1fr; }
  .profile img { max-width: 180px; }
}

/* ---- Stats / values ---- */
.values-grid dt { font-family: var(--font-mono); font-size: 0.75rem; color: var(--teal-dark); letter-spacing: 0.08em; text-transform: uppercase; }
.values-grid dd { margin: 0.4rem 0 0; font-family: var(--font-display); font-size: 1.3rem; color: var(--navy); }

/* ---- CTA band ---- */
.cta-band { text-align: left; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { max-width: 560px; min-width: 0; }
@media (max-width: 360px) { h2, .h2 { font-size: 1.6rem; } }

/* ---- Forms ---- */
.form-field { margin-bottom: 1.4rem; display: flex; flex-direction: column; gap: 0.5rem; }
.form-field label { font-size: 0.85rem; font-weight: 600; color: var(--navy); }
.form-field input, .form-field select, .form-field textarea {
  font: inherit; font-size: 0.98rem; padding: 0.8em 1em; border: 1px solid var(--border);
  border-radius: var(--radius); background: var(--white); color: var(--text); width: 100%;
}
.form-field textarea { resize: vertical; min-height: 140px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(20,167,161,0.16);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.4rem; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.form-note { font-size: 0.82rem; color: var(--text-muted); margin-top: 0.5rem; }
.form-status { margin-top: 1rem; font-size: 0.92rem; padding: 0.9rem 1.1rem; border-radius: var(--radius); display: none; }
.form-status.is-visible { display: block; }
.form-status.is-success { background: rgba(20,167,161,0.1); color: var(--teal-dark); border: 1px solid rgba(20,167,161,0.3); }
.form-status.is-error { background: rgba(178,58,58,0.08); color: #a53c3c; border: 1px solid rgba(178,58,58,0.25); }

/* ---- Contact info list ---- */
.info-list li { display: flex; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--border); }
.info-list li:first-child { border-top: none; }
.info-list .label { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); width: 6.5rem; flex-shrink: 0; padding-top: 0.15rem; }

/* ---- Footer ---- */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.7); position: relative; overflow: hidden; }
.footer-top { padding: clamp(3rem, 6vw, 5rem) 0 3rem; position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand-lockup { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1rem; }
.footer-brand-lockup img { height: 26px; width: auto; filter: brightness(0) invert(1); }
.footer-brand-lockup span { font-family: var(--font-display); font-size: 1.1rem; font-weight: 650; color: var(--white); }
.footer-brand p { font-size: 0.88rem; max-width: 320px; color: rgba(255,255,255,0.55); }
.footer-col h4 { color: var(--white); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; font-family: var(--font-mono); font-weight: 500; margin-bottom: 1rem; }
.footer-col li { margin-bottom: 0.6rem; }
.footer-contact { scroll-margin-top: 6rem; }
.footer-contact a { overflow-wrap: anywhere; }
/* Sprungziel hervorheben, wenn man über einen Kontakt-Button kommt */
.footer-contact:target h4 { color: var(--teal); }
.footer-col a { font-size: 0.92rem; color: rgba(255,255,255,0.72); }
.footer-col a:hover { color: var(--teal); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: 1.5rem 0; position: relative; z-index: 1; }
.footer-bottom .wrap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: 0.82rem; color: rgba(255,255,255,0.45); }
.footer-bottom a { color: rgba(255,255,255,0.6); }
.footer-bottom a:hover { color: var(--teal); }
.footer-facets { position: absolute; right: -5%; bottom: -20%; width: 42%; opacity: 0.9; z-index: 0; }

/* ---- Reveal on scroll ---- */
[data-reveal] { transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
[data-reveal].reveal-pending { opacity: 0; transform: translateY(16px); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ---- Focus visibility ---- */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--teal); outline-offset: 2px;
}

/* ---- Skip link ---- */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 200;
  background: var(--navy);
  color: var(--white);
  padding: 0.75em 1.2em;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.92rem;
  transition: top 0.2s var(--ease);
}
.skip-link:focus {
  top: 1rem;
}

/* ---- Page hero (inner pages) ---- */
.page-hero { padding: clamp(3rem, 7vw, 5rem) 0 clamp(2.5rem, 5vw, 3.5rem); background: var(--bg-alt); position: relative; overflow: hidden; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { max-width: 780px; }
.breadcrumb { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 1.2rem; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--teal-dark); }

/* ---- Notice / badge (im Aufbau) ---- */
.notice {
  display: flex; gap: 0.9rem; align-items: flex-start;
  background: rgba(94,120,154,0.08); border: 1px solid var(--border);
  border-left: 3px solid var(--steel); border-radius: var(--radius);
  padding: 1.1rem 1.3rem; font-size: 0.92rem; color: var(--navy-soft);
}
.notice strong { color: var(--navy); }

/* ---- Two column text ---- */
.prose { max-width: 720px; }
.prose p + p, .prose ul + p, .prose p + ul { margin-top: 1.1rem; }
.prose ul li { padding-left: 1.2rem; position: relative; margin-top: 0.5rem; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 6px; height: 6px; background: var(--teal); }

/* ---- Inline links in Fließtext ---- */
.prose a, .text-link, .source a, .programme-list a, .partner-link {
  color: var(--teal-dark); text-decoration: underline; text-underline-offset: 0.18em; text-decoration-thickness: 1px;
}
.prose a:hover, .text-link:hover, .source a:hover, .programme-list a:hover, .partner-link:hover { color: var(--navy); }
.prose h2 { margin-top: 2.6rem; margin-bottom: 1rem; }
.prose h3 { margin-top: 2rem; margin-bottom: 0.7rem; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose p, .prose li { overflow-wrap: anywhere; }

/* ---- Projekt-Unterseiten (NIXE III) ---- */
.subnav { background: var(--white); border-bottom: 1px solid var(--border); }
.subnav ul { display: flex; gap: 0.25rem; overflow-x: auto; scrollbar-width: thin; position: relative; }
@media (max-width: 640px) { .subnav-label { display: none; } }
.subnav a {
  display: block; padding: 1rem 0.9rem; font-size: 0.92rem; font-weight: 500; color: var(--navy-soft);
  border-bottom: 2px solid transparent; white-space: nowrap;
}
.subnav a:hover { color: var(--teal-dark); }
.subnav a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--teal); font-weight: 600; }
.subnav-label { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); padding: 1.1rem 0.9rem 1rem 0; white-space: nowrap; }

.status-badge {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--navy); background: rgba(94,120,154,0.12); border: 1px solid rgba(94,120,154,0.35);
  padding: 0.35em 0.75em; border-radius: var(--radius);
}
.status-badge::before { content: ""; width: 0.55em; height: 0.55em; border-radius: 50%; background: var(--teal); }
.tag--goal { border-color: var(--steel); color: var(--steel); background: rgba(94,120,154,0.06); }

.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); margin: 0; }
.spec-grid > div { padding: 1.25rem 1.4rem; border-top: 1px solid var(--border); border-left: 1px solid var(--border); margin: -1px 0 0 -1px; }
.spec-grid dt { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal-dark); }
.spec-grid dd { margin: 0.45rem 0 0; color: var(--navy); font-size: 0.98rem; line-height: 1.45; }
.spec-grid dd strong { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; display: block; }
.spec-grid .tag { margin-top: 0.6rem; }
@media (max-width: 900px) { .spec-grid { grid-template-columns: repeat(2, 1fr); } }
.spec-note { margin-top: 1.2rem; max-width: 80ch; font-size: 0.9rem; color: var(--text-muted); }
@media (max-width: 560px) { .spec-grid { grid-template-columns: 1fr; } }

.feature-list { counter-reset: feature; }
.feature { display: grid; grid-template-columns: 4rem 1fr; gap: 1.5rem; padding: 1.8rem 0; border-top: 1px solid var(--border); }
.feature:first-child { border-top: none; padding-top: 0; }
.feature h3 { margin-bottom: 0.6rem; }
.feature p { color: var(--text-muted); max-width: 70ch; }
.feature p + p { margin-top: 0.7rem; }
@media (max-width: 640px) { .feature { grid-template-columns: 1fr; gap: 0.8rem; } }

.phases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); list-style: none; }
.phases li { padding: clamp(1.5rem, 3vw, 2.2rem) clamp(1.4rem, 3vw, 2.2rem); border-left: 1px solid var(--border); position: relative; }
.phases li:nth-child(odd) { border-left: none; }
.phases li:nth-child(n+3) { border-top: 1px solid var(--border); }
.phases li::after {
  content: ""; position: absolute; top: 2.05rem; right: -7px; width: 12px; height: 12px; z-index: 1;
  background: var(--white); border-top: 1px solid var(--border); border-right: 1px solid var(--border); transform: rotate(45deg);
}
.phases li:nth-child(even)::after { display: none; }
.phases .step-index { font-family: var(--font-mono); font-size: 0.72rem; color: var(--teal-dark); letter-spacing: 0.1em; }
.phases h3 { font-size: 1.15rem; margin: 0.5rem 0; }
.phases p { color: var(--text-muted); font-size: 0.95rem; max-width: 34rem; }
@media (max-width: 900px) {
  .phases { grid-template-columns: 1fr; }
  .phases li { border-left: none; border-top: 1px solid var(--border); }
  .phases li:first-child { border-top: none; }
  .phases li::after { display: none; }
}

.link-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.link-card { display: flex; flex-direction: column; gap: 0.5rem; padding: 1.5rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); transition: border-color 0.2s var(--ease), transform 0.2s var(--ease); }
.link-card:hover { border-color: var(--teal); transform: translateY(-2px); }
.link-card strong { font-family: var(--font-display); font-size: 1.2rem; color: var(--navy); display: flex; align-items: center; gap: 0.5rem; }
.link-card strong svg { width: 1em; height: 1em; color: var(--teal-dark); }
.link-card span { color: var(--text-muted); font-size: 0.92rem; }
.section--navy .link-card { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.18); }
.section--navy .link-card strong { color: var(--white); }
.section--navy .link-card span { color: rgba(255,255,255,0.7); }
.section--navy .link-card strong svg { color: var(--teal); }
@media (max-width: 900px) { .link-cards { grid-template-columns: 1fr; } }

/* Abschlussarbeiten */
.thesis-group + .thesis-group { margin-top: clamp(3.5rem, 6vw, 5rem); }
.thesis-group > h2 { margin-bottom: 0.6rem; }
.thesis-group > .lede { margin-bottom: 2rem; font-size: 1.05rem; }
.thesis { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.2rem); scroll-margin-top: 7rem; }
.thesis + .thesis { margin-top: 1.25rem; }
.thesis-head { display: flex; gap: 1.2rem; align-items: flex-start; }
.thesis-head h3 { margin-top: 0.15rem; }
.thesis-status { margin-top: 0.8rem; }
.thesis-body { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem 2.5rem; margin-top: 1.6rem; }
.thesis-body h4 { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal-dark); font-weight: 500; margin-bottom: 0.6rem; }
.thesis-body p { color: var(--text); font-size: 0.95rem; }
.thesis-full { grid-column: 1 / -1; }
.bullet-list li { position: relative; padding-left: 1.1rem; font-size: 0.93rem; margin-top: 0.35rem; }
.bullet-list li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 6px; height: 6px; background: var(--teal); }
.programme-list li { padding: 0.75rem 0; border-top: 1px solid var(--border); font-size: 0.93rem; }
.programme-list li:first-child { border-top: none; padding-top: 0; }
.programme-list .uni { display: block; font-weight: 600; color: var(--navy); }
.programme-list .note { display: block; color: var(--text-muted); font-size: 0.85rem; margin-top: 0.25rem; }
.dependency { margin-top: 1.4rem; font-size: 0.9rem; }
@media (max-width: 760px) { .thesis-body { grid-template-columns: 1fr; } }


/* Abschlussarbeiten – Themenbereiche SHIP / POWER / HOTEL */
.area--ship { --area: var(--navy); --area-ink: var(--navy); --area-bg: rgba(11,29,58,0.08); }
.area--power { --area: var(--teal); --area-ink: var(--teal-dark); --area-bg: rgba(20,167,161,0.13); }
.area--hotel { --area: var(--steel); --area-ink: var(--steel); --area-bg: rgba(94,120,154,0.15); }
.area-icon { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--area-bg); color: var(--area-ink); }
.area-icon svg { width: 1.6rem; height: 1.6rem; }

.sysmap { --sys-link: 3.5rem; margin: 0; }
.sysmap-hub { position: relative; max-width: 32rem; margin: 0 auto; padding: 1.4rem 1.5rem 1.3rem; display: flex; flex-direction: column; align-items: center; gap: 0.4rem; text-align: center; background: var(--navy); color: var(--white); border-radius: var(--radius); }
.sysmap-hub strong { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.3rem); font-weight: 700; line-height: 1; letter-spacing: -0.01em; }
.sysmap-hub span { font-size: 0.95rem; color: rgba(255,255,255,0.85); }
.sysmap-hub .sysmap-hub-label { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal); }
.sysmap-hub .sysmap-hub-count { margin-top: 0.3rem; padding-top: 0.6rem; border-top: 1px solid rgba(255,255,255,0.18); font-family: var(--font-mono); font-size: 0.75rem; color: rgba(255,255,255,0.75); }
.sysmap-bus { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) var(--sys-link) minmax(0, 1fr) var(--sys-link) minmax(0, 1fr); height: 2.75rem; }
.sysmap-bus::before { content: ""; position: absolute; left: 50%; top: 0; height: 50%; border-left: 2px solid var(--steel); transform: translateX(-1px); }
.sysmap-bus span { position: relative; }
.sysmap-bus span::after { content: ""; position: absolute; top: 50%; left: 0; right: 0; border-top: 2px solid var(--steel); transform: translateY(-1px); }
.sysmap-bus span:first-child::after { left: 50%; }
.sysmap-bus span:last-child::after { right: 50%; }
.sysmap-bus span:nth-child(odd)::before { content: ""; position: absolute; left: 50%; top: 50%; bottom: 0; border-left: 2px solid var(--steel); transform: translate(-1px, -1px); }
.sysmap-areas { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) var(--sys-link) minmax(0, 1fr) var(--sys-link) minmax(0, 1fr); align-items: stretch; }
.sysmap-area { position: relative; display: flex; flex-direction: column; gap: 0.55rem; min-width: 0; padding: 1.4rem 1.3rem 1.2rem; background: var(--white); border: 1px solid var(--border); border-top: 4px solid var(--area); border-radius: var(--radius); color: var(--text); text-decoration: none; transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s; }
.sysmap-area:hover { transform: translateY(-3px); box-shadow: 0 16px 32px -24px rgba(11,29,58,0.35); border-color: var(--area); }
.sysmap-area:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.sysmap-code { font-family: var(--font-mono); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.14em; color: var(--area-ink); margin-top: 0.35rem; }
.sysmap-title { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; line-height: 1.2; color: var(--navy); overflow-wrap: break-word; }
.sysmap-short { font-size: 0.88rem; color: var(--text-muted); }
.sysmap-meta { margin-top: auto; padding-top: 0.8rem; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.2rem 0.45rem; font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-muted); }
.sysmap-count { font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; line-height: 1; color: var(--navy); }
.sysmap-go { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.85rem; font-weight: 600; color: var(--teal-dark); }
.sysmap-go svg { width: 0.9rem; height: 0.9rem; transition: transform 0.2s var(--ease); }
.sysmap-area:hover .sysmap-go svg { transform: translateX(3px); }
.sysmap-link { position: relative; }
.sysmap-link::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 2px dashed var(--steel); }
.sysmap-caption { max-width: 46rem; margin: 1.6rem auto 0; text-align: center; font-size: 0.88rem; color: var(--text-muted); }
@media (max-width: 1040px) {
  .sysmap-hub { max-width: none; }
  .sysmap-bus { display: block; height: 1.5rem; }
  .sysmap-bus span { display: none; }
  .sysmap-bus::before { left: 1rem; height: 100%; }
  .sysmap-areas { grid-template-columns: minmax(0, 1fr); padding-left: 2.25rem; }
  .sysmap-areas::before { content: ""; position: absolute; left: 1rem; top: 0; bottom: 0; border-left: 2px solid var(--steel); transform: translateX(-1px); }
  .sysmap-area::before { content: ""; position: absolute; left: calc(-1.25rem - 1px); top: 2.3rem; width: 1.25rem; border-top: 2px solid var(--steel); }
  .sysmap-area:last-child::after { content: ""; position: absolute; left: calc(-1.25rem - 5px); top: calc(2.3rem + 2px); bottom: -1px; width: 8px; background: var(--bg); }
  .sysmap-area:hover { transform: none; }
  .sysmap-link { height: 2rem; }
  .sysmap-link::before { left: 50%; right: auto; top: 0; bottom: 0; border-top: none; border-left: 2px dashed var(--steel); transform: translateX(-1px); }
  .sysmap-caption { text-align: left; margin-top: 1.25rem; }
}

.thesis-group { scroll-margin-top: 6rem; }
.thesis-group + .thesis-group { padding-top: clamp(2.5rem, 5vw, 3.5rem); border-top: 1px solid var(--border); }
.thesis-group-head { display: flex; align-items: center; gap: 0.9rem; }
.thesis-group > h2 { margin-top: 0.9rem; overflow-wrap: break-word; hyphens: auto; }
.thesis-group > .lede { margin-bottom: 1.25rem; }
.thesis-index { margin-bottom: 1.75rem; }
.thesis { position: relative; }
.thesis::before { content: ""; position: absolute; left: -1px; top: -1px; bottom: -1px; width: 4px; background: var(--area); border-radius: var(--radius) 0 0 var(--radius); }
.thesis-code { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; min-width: 5.75rem; padding: 0.55rem 0.75rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--area-bg); font-family: var(--font-mono); font-size: 0.95rem; font-weight: 600; letter-spacing: 0.05em; color: var(--area-ink); }
@media (max-width: 560px) {
  .thesis-head { flex-direction: column; gap: 0.75rem; }
}

/* Partner */
.partner-group + .partner-group { margin-top: clamp(3rem, 5vw, 4rem); }
.partner-group > h2 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); margin-bottom: 1.4rem; }
.partner { display: flex; flex-direction: column; gap: 0.75rem; }
.partner h3 { margin: 0; }
.partner .partner-link { font-size: 0.9rem; word-break: break-all; }
.partner p { color: var(--text-muted); font-size: 0.95rem; }
.partner .tag { align-self: flex-start; margin: 0; }
.partner-claim { font-family: var(--font-display); font-weight: 600; color: var(--teal-dark) !important; font-size: 1rem !important; line-height: 1.35; }
.partner-logo, .partner-photo { margin: 0; }
.partner-logo-frame {
  height: 104px; padding: 0.9rem 1.1rem; display: flex; align-items: center; justify-content: center;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
}
.partner-logo-frame img { max-height: 100%; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.partner-logo--dark .partner-logo-frame { background: #000; border-color: #000; }
.partner-photo { margin-top: auto; padding-top: 0.6rem; }
.partner-photo-frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); background: var(--light); }
.partner .source { display: block; margin-top: 0.35rem; font-size: 0.78rem; color: var(--text-muted); }
.partner-photo--contain .partner-photo-frame img { object-fit: contain; background: var(--white); border: 1px solid var(--border); padding: 0.75rem; }

/* Abbildungen mit Quellenangabe */
.figure { margin: 0; }
.figure img { width: 100%; height: auto; border-radius: var(--radius); background: var(--light); border: 1px solid var(--border); }
.figure figcaption { margin-top: 0.7rem; font-size: 0.88rem; color: var(--text); line-height: 1.5; }
.figure .source { display: block; margin-top: 0.3rem; font-size: 0.8rem; color: var(--text-muted); }
.figure-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 2.5vw, 2rem); align-items: start; }
.figure-grid img { aspect-ratio: 4 / 3; object-fit: cover; object-position: center 25%; }
/* Zweispaltig für breite Visualisierungen (2:1) – ohne Beschnitt */
.figure-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.figure-grid--2 img { aspect-ratio: auto; object-fit: contain; }
/* Porträt so breit, dass es gleich hoch ist wie das Querformat daneben (673×435 bzw. 560×789 px) */
.figure-grid--2 .figure--match-nixe img { width: calc(100% * (435 / 673) * (560 / 789)); }
@media (max-width: 760px) { .figure-grid--2 { grid-template-columns: minmax(0, 1fr); } }
.figure-wide { max-width: 1000px; }
/* Porträt im Fließtext: rechts umflossen, am Handy oberhalb */
.figure--portrait { width: 220px; max-width: 100%; margin: 0.4rem 0 1rem; }
@media (min-width: 640px) { .figure--portrait { float: right; margin: 0.3rem 0 1rem 1.75rem; } }
.prose h3 { clear: both; }
.figure-grid--contain img { object-fit: contain; background: var(--white); }
@media (max-width: 900px) { .figure-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .figure-grid { grid-template-columns: 1fr; } }
.split { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.timeline { border-left: 2px solid var(--border); margin: 0 0 0 0.4rem; padding: 0; list-style: none; }
.timeline li { position: relative; padding: 0 0 1.6rem 1.6rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 0.35rem; width: 12px; height: 12px; border-radius: 50%; background: var(--white); border: 2px solid var(--teal); }
.timeline .when { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.06em; color: var(--teal-dark); }
.timeline h3 { font-size: 1.15rem; margin: 0.2rem 0 0.3rem; }
.timeline p { color: var(--text-muted); font-size: 0.93rem; }

/* ---- Startseite: hervorgehobenes Projekt, Forschungsfeld-Karten ---- */
.featured-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 860px) { .featured-grid { grid-template-columns: minmax(0, 1fr); } }
.featured-subtitle { display: block; font-size: 0.55em; font-weight: 500; color: var(--teal); margin-top: 0.4rem; letter-spacing: 0; }
.fact-panel { border: 1px solid rgba(255,255,255,0.18); border-radius: var(--radius); background: rgba(255,255,255,0.04); padding: clamp(1.4rem, 3vw, 2rem); }
.fact-panel dl { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem 1.2rem; margin: 0; }
.fact-panel dt { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal); }
.fact-panel dd { margin: 0.35rem 0 0; font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; color: var(--white); }
.fact-status { margin-top: 1.5rem; }
.status-badge--on-navy { color: var(--white); background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.25); }
.checklist--on-navy li { border-color: rgba(255,255,255,0.14); color: rgba(255,255,255,0.88); }
.checklist--on-navy .check-icon { background: rgba(20,167,161,0.2); color: var(--teal); }

.field-card { display: flex; flex-direction: column; }
.field-card .tag { align-self: flex-start; }
.field-card .card-list { margin-bottom: 1.4rem; }
.card-more { margin-top: auto; display: inline-flex; align-items: center; gap: 0.5em; font-weight: 600; font-size: 0.92rem; color: var(--teal-dark); }
.card-more svg { width: 1em; height: 1em; }

/* Ansprechpartner NIXE III / Kontaktseite */
.nixe-contact { margin-top: 1.4rem; font-size: 0.92rem; line-height: 1.6; color: var(--text); overflow-wrap: anywhere; }
.nixe-contact a { color: var(--teal-dark); text-decoration: underline; text-underline-offset: 0.18em; }
.nixe-contact-label { display: block; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal-dark); margin-bottom: 0.2rem; }
.nixe-contact--on-navy { color: rgba(255,255,255,0.85); margin: 0 0 2rem; }
.featured-project .nixe-contact--on-navy { margin: 1.6rem 0 0; }
.nixe-contact--on-navy a { color: var(--white); }
.nixe-contact--on-navy .nixe-contact-label { color: var(--teal); }
.contact-card .info-list li { align-items: baseline; }
.contact-card .info-list li > :last-child { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 400px) { .contact-card .info-list .label { width: 4.8rem; } }

/* Projektkarte (Projekte, Forschungsfeld) */
.project-card { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); overflow: hidden; }
.project-card-body { padding: clamp(1.5rem, 3vw, 2.4rem); }
.project-card-body > p { color: var(--text-muted); margin-top: 0.6rem; }
.project-card-side { background: var(--navy); padding: clamp(1.5rem, 3vw, 2.4rem); display: flex; align-items: center; }
.project-card-side .fact-panel { width: 100%; }
@media (max-width: 860px) { .project-card { grid-template-columns: 1fr; } }

/* Forschungsfeld-Detail: Person, Kompetenzbereiche */
.person-line { display: flex; gap: 1rem; align-items: center; padding: 0.8rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); transition: border-color 0.2s var(--ease); }
.person-line:hover { border-color: var(--teal); }
.person-line img { width: 56px; height: 70px; object-fit: cover; border-radius: var(--radius); }
.person-line span { font-size: 0.9rem; color: var(--text-muted); line-height: 1.4; }
.person-line strong { color: var(--navy); }
.area { display: flex; flex-direction: column; }
.area .tag { align-self: flex-start; }

/* Partner: Status-Legende */
.status-legend { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem 1.5rem; margin: 1.5rem 0 0; }
.status-legend dd { margin: 0.4rem 0 0; font-size: 0.88rem; color: var(--text-muted); }
@media (max-width: 760px) { .status-legend { grid-template-columns: 1fr; } }

/* ---- Utility ---- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.mt-0 { margin-top: 0 !important; }
.text-center { text-align: center; }
.center-head { margin-left: auto; margin-right: auto; text-align: center; }
