/* ==========================================================================
   Stiftung für Mikronährstoffe – Gestaltung „Glas & Beere“
   Leitidee: das Glasmolekül des Logos und die bordeauxfarbenen Initialen
   ========================================================================== */

/* ---------- Schriften (lokal, keine externen Abrufe) ---------- */
@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-latin-opsz-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-latin-opsz-italic.woff2") format("woff2");
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-latin-wght-italic.woff2") format("woff2");
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
}

/* ---------- Grundwerte ---------- */
:root {
  --porzellan: #F2F5F4;
  --papier: #FFFFFF;
  --nebel: #E5ECEB;
  --tinte: #12262E;
  --tinte-2: #44565D;
  --tinte-3: #5C6E74;
  --beere: #7A1D45;
  --beere-dunkel: #5C1233;
  --beere-hell: #F5E9EE;
  --beere-licht: #E7AFC6;
  --minze: #DCEDE5;
  --salbei: #2B6A54;
  --silber: #B7C5C6;
  --linie: #D5DEDD;

  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Source Sans 3", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --mass: 1200px;
  --rand: clamp(16px, 4vw, 48px);
  --abschnitt: clamp(4rem, 3rem + 5vw, 8rem);
  --kopfhoehe: 76px;

  --r-klein: 6px;
  --r-mittel: 14px;
  --r-gross: 28px;

  --kugel-silber: radial-gradient(circle at 34% 30%, #fff 0 7%, #EDF3F3 17%, #A9BCBE 50%, #5F7779 84%, #3D5456 100%);
  --kugel-rose: radial-gradient(circle at 34% 30%, #fff 0 7%, #F6ECF0 17%, #CDA9B8 50%, #875A6E 84%, #5C3346 100%);

  color-scheme: light;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--kopfhoehe) + 1.5rem);
}

body {
  margin: 0;
  background: var(--porzellan);
  color: var(--tinte);
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.6;
  font-kerning: normal;
  font-variant-ligatures: common-ligatures;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body.menue-offen { overflow: hidden; }

img, svg { display: block; max-width: 100%; height: auto; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.012em;
  margin: 0 0 0.5em;
  text-wrap: balance;
  hyphens: none; /* weiche Trennstellen (&shy;) nur auf schmalen Bildschirmen nutzen, siehe unten */
}
h1 { font-size: clamp(2.2rem, 1.3rem + 4.4vw, 4.75rem); }
h2 { font-size: clamp(2rem, 1.45rem + 2.1vw, 3.1rem); }
h3 { font-size: clamp(1.35rem, 1.2rem + 0.5vw, 1.6rem); font-weight: 600; line-height: 1.2; letter-spacing: -0.005em; }
h4 { font-family: var(--sans); font-size: 1.05rem; font-weight: 700; letter-spacing: 0; }

p, ul, ol, dl, figure, blockquote { margin: 0 0 1.1em; }
p { text-wrap: pretty; }

a {
  color: var(--beere);
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  text-decoration-color: color-mix(in srgb, currentColor 45%, transparent);
  transition: text-decoration-color 0.15s, color 0.15s;
}
a:hover { text-decoration-color: currentColor; text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--beere);
  outline-offset: 3px;
  border-radius: 4px;
}

strong { font-weight: 650; }
address { font-style: normal; }

.ini { color: var(--beere); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.sprunglink {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  padding: 0.6rem 1rem; border-radius: var(--r-klein);
  background: var(--tinte); color: #fff; font-weight: 600; text-decoration: none;
}
.sprunglink:focus { top: 1rem; }

main:focus { outline: none; }

/* ---------- Raster & Abschnitte ---------- */
.rahmen {
  width: 100%;
  max-width: var(--mass);
  margin-inline: auto;
  padding-inline: var(--rand);
}

.abschnitt { padding-block: var(--abschnitt); }
.abschnitt--papier { background: var(--papier); }
.abschnitt--eng { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); }

.fliesstext { max-width: 68ch; }
.fliesstext > :last-child { margin-bottom: 0; }

.einleitung {
  font-size: clamp(1.2rem, 1.1rem + 0.4vw, 1.4rem);
  line-height: 1.55;
  color: var(--tinte-2);
  max-width: 60ch;
}

/* Zweispaltig: Überschrift links, Inhalt rechts */
.spalten {
  display: grid;
  grid-template-columns: minmax(0, 11fr) minmax(0, 13fr);
  gap: clamp(2rem, 1rem + 4vw, 6rem);
  align-items: start;
}
.spalten__kopf { position: sticky; top: calc(var(--kopfhoehe) + 2rem); }
.spalten__kopf > :last-child { margin-bottom: 0; }
.spalten__kopf h2 { font-size: clamp(2rem, 1.4rem + 1.7vw, 2.75rem); }

@media (max-width: 860px) {
  .spalten { grid-template-columns: minmax(0, 1fr); }
  .spalten__kopf { position: static; }
}

/* ---------- Knöpfe ---------- */
.knoepfe { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; align-items: center; margin-top: 2rem; }

.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  min-height: 48px;
  padding: 0.7em 1.45em;
  border: 1.5px solid var(--beere);
  border-radius: 999px;
  background: var(--beere);
  color: #fff;
  font: 600 1.05rem/1.2 var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s, border-color 0.18s, color 0.18s, transform 0.18s;
}
.knopf:hover { background: var(--beere-dunkel); border-color: var(--beere-dunkel); color: #fff; }
.knopf:active { transform: translateY(1px); }
.knopf svg { width: 1.1em; height: 1.1em; flex: none; }

.knopf--linie { background: transparent; color: var(--tinte); border-color: color-mix(in srgb, var(--tinte) 35%, transparent); }
.knopf--linie:hover { background: var(--tinte); border-color: var(--tinte); color: #fff; }

.knopf--hell { background: var(--porzellan); border-color: var(--porzellan); color: var(--tinte); }
.knopf--hell:hover { background: #fff; border-color: #fff; color: var(--beere); }

.knopf--klein { min-height: 40px; padding: 0.45em 1.05em; font-size: 0.98rem; }

.textlink {
  font-weight: 600;
  text-decoration-thickness: 1.5px;
}

/* ---------- Kopfbereich ---------- */
.kopf {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
/* Weichzeichner auf eigener Ebene: backdrop-filter am Kopf selbst würde das fixierte Mobilmenü einsperren */
.kopf::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: color-mix(in srgb, var(--porzellan) 88%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
}
.menue-offen .kopf::before { background: var(--porzellan); }
.kopf.ist-gescrollt { border-bottom-color: var(--linie); }

.kopf__innen {
  display: flex; align-items: center; gap: 1.5rem;
  max-width: calc(var(--mass) + 2 * 48px);
  height: var(--kopfhoehe);
  margin-inline: auto;
  padding-inline: var(--rand);
}

.marke {
  display: flex; align-items: center; gap: 0.7rem;
  color: var(--tinte); text-decoration: none;
  flex: none;
}
.marke__bild { width: 64px; height: auto; margin-top: -4px; }
.marke__text { display: flex; flex-direction: column; }
.marke__name { font-family: var(--serif); font-size: 1.2rem; font-weight: 550; line-height: 1.1; letter-spacing: -0.01em; }
.marke__zusatz { font-size: 0.86rem; color: var(--tinte-2); line-height: 1.3; margin-top: 0.15rem; }

.hauptnav { margin-left: auto; }
.hauptnav__liste { display: flex; gap: 0.15rem; list-style: none; margin: 0; padding: 0; }
.hauptnav__liste a {
  position: relative;
  display: block;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  color: var(--tinte);
  font-weight: 600;
  font-size: 1.02rem;
  text-decoration: none;
  transition: background-color 0.15s, color 0.15s;
}
.hauptnav__liste a:hover { background: var(--nebel); }
.hauptnav__liste a[aria-current="page"] { color: var(--beere); background: var(--beere-hell); }
.hauptnav__kontakt { display: none; }

/* Sprachumschalter (EN ist Platzhalter) */
.sprache {
  position: relative;
  display: flex; align-items: center;
  padding: 3px;
  border: 1px solid var(--linie);
  border-radius: 999px;
  background: color-mix(in srgb, var(--papier) 60%, transparent);
  flex: none;
}
.sprache__wahl {
  display: inline-grid; place-items: center;
  min-width: 38px; height: 32px;
  padding: 0 0.55rem;
  border: 0; border-radius: 999px;
  background: none;
  color: var(--tinte-3);
  font: 700 0.82rem/1 var(--sans);
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
}
.sprache__wahl[aria-current="true"] { background: var(--tinte); color: #fff; cursor: default; }
.sprache__wahl[aria-disabled="true"]:hover { color: var(--tinte); }
.sprache__hinweis {
  position: absolute; right: 0; top: calc(100% + 10px);
  width: max-content; max-width: 220px;
  padding: 0.55rem 0.8rem;
  border-radius: var(--r-klein);
  background: var(--tinte); color: #fff;
  font-size: 0.9rem; line-height: 1.35;
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity 0.18s, transform 0.18s, visibility 0s linear 0.18s;
  pointer-events: none;
}
.sprache__hinweis.ist-sichtbar { opacity: 1; visibility: visible; transform: none; transition: opacity 0.18s, transform 0.18s; }

.menueknopf {
  display: none;
  align-items: center; gap: 0.6rem;
  height: 44px; padding: 0 0.9rem 0 0.75rem;
  border: 1px solid var(--linie); border-radius: 999px;
  background: var(--papier); color: var(--tinte);
  font: 600 1rem/1 var(--sans);
  cursor: pointer;
}
.menueknopf__linien { position: relative; width: 18px; height: 12px; }
.menueknopf__linien span {
  position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform 0.25s ease, top 0.25s ease;
}
.menueknopf__linien span:first-child { top: 1px; }
.menueknopf__linien span:last-child { top: 9px; }
.menueknopf[aria-expanded="true"] .menueknopf__linien span:first-child { top: 5px; transform: rotate(45deg); }
.menueknopf[aria-expanded="true"] .menueknopf__linien span:last-child { top: 5px; transform: rotate(-45deg); }

@media (max-width: 1080px) {
  .marke__zusatz { display: none; }
}

@media (max-width: 960px) {
  .menueknopf { display: inline-flex; }
  .sprache { margin-left: auto; }
  .hauptnav {
    position: fixed; inset: var(--kopfhoehe) 0 0 0;
    display: flex; flex-direction: column; justify-content: space-between;
    padding: 1.5rem var(--rand) 2.5rem;
    background: var(--porzellan);
    border-top: 1px solid var(--linie);
    overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0.22s;
  }
  .hauptnav.ist-offen { visibility: visible; opacity: 1; transform: none; transition: opacity 0.22s ease, transform 0.22s ease; }
  .hauptnav__liste { flex-direction: column; gap: 0; }
  .hauptnav__liste li { border-bottom: 1px solid var(--linie); }
  .hauptnav__liste a {
    padding: 1rem 0.25rem; border-radius: 0;
    font-family: var(--serif); font-size: 1.9rem; font-weight: 500;
  }
  .hauptnav__liste a:hover { background: none; color: var(--beere); }
  .hauptnav__liste a[aria-current="page"] { background: none; }
  .hauptnav__kontakt { display: block; margin: 2rem 0 0; color: var(--tinte-2); line-height: 1.9; }
  .hauptnav__kontakt a { color: var(--tinte); }
}

@media (max-width: 520px) {
  :root { --kopfhoehe: 68px; }
  .marke__bild { width: 52px; }
  .marke__name { font-size: 1.02rem; max-width: 9.5em; }
  .menueknopf__text { display: none; }
  .menueknopf { padding: 0 0.8rem; }
  .kopf__innen { gap: 0.75rem; }
}

/* ---------- Bühne (Startseite) ---------- */
.buehne {
  position: relative;
  overflow: clip;
  padding-block: clamp(2.5rem, 1rem + 5vw, 5.5rem) clamp(3.5rem, 2rem + 5vw, 6.5rem);
}
.buehne__raster {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
}
.buehne__titel {
  font-size: clamp(2.3rem, 0.9rem + 6.2vw, 5.4rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-bottom: 0.35em;
}
.buehne__titel .zeile { display: block; }
.buehne__titel .zeile--klein {
  margin-top: 0.3em;
  font-size: 0.42em;
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.005em;
  color: var(--tinte-2);
}

.leitzitat { margin: 2.2rem 0 0; max-width: 36rem; }
.leitzitat blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.05rem + 0.75vw, 1.6rem);
  line-height: 1.42;
  font-weight: 450;
  text-indent: -0.42em;
}
.leitzitat figcaption {
  margin-top: 1rem;
  padding-left: 2.6rem;
  position: relative;
  font-size: 0.98rem;
  color: var(--tinte-2);
}
.leitzitat figcaption::before {
  content: "";
  position: absolute; left: 0; top: 0.8em;
  width: 1.9rem; height: 1px; background: var(--beere);
}
.leitzitat cite { font-style: normal; font-weight: 650; color: var(--tinte); }

.buehne__bild { position: relative; }
.molekuel { width: 100%; overflow: visible; }
.molekuel__linie { stroke: var(--beere); stroke-width: 1.4; opacity: 0.55; }
.molekuel__bindungen line { stroke: #A3B4B6; stroke-width: 4.5; stroke-linecap: round; }
.molekuel__kugel > g { transform-box: fill-box; }

@media (prefers-reduced-motion: no-preference) {
  .molekuel__kugel {
    animation: schweben 7s ease-in-out infinite;
    animation-delay: calc(var(--i) * -0.9s);
  }
  .molekuel__kugel--zentrum { animation-duration: 9s; }
  .molekuel__kugel--g { animation-duration: 8s; }

  .js .buehne .molekuel__kugel > g { animation: auftauchen 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both; animation-delay: calc(0.15s + var(--i) * 0.08s); transform-origin: center; }
  .js .buehne .molekuel__bindungen line { stroke-dasharray: 400; stroke-dashoffset: 400; animation: zeichnen 1s ease-out forwards; animation-delay: calc(0.5s + var(--i) * 0.05s); }
  .js .buehne .molekuel__linie { animation: einblenden 1.2s ease-out 0.9s both; }
  .js .buehne__text > * { animation: einblenden-hoch 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
  .js .buehne__text > :nth-child(2) { animation-delay: 0.12s; }
  .js .buehne__text > :nth-child(3) { animation-delay: 0.24s; }
  .js .buehne__text > :nth-child(4) { animation-delay: 0.36s; }
}

@keyframes schweben { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes auftauchen { from { opacity: 0; scale: 0.6; } to { opacity: 1; scale: 1; } }
@keyframes zeichnen { to { stroke-dashoffset: 0; } }
@keyframes einblenden { from { opacity: 0; } }
@keyframes einblenden-hoch { from { opacity: 0; transform: translateY(14px); } }

@media (max-width: 860px) {
  .buehne__raster { grid-template-columns: minmax(0, 1fr); }
  .buehne__bild { order: -1; width: min(100%, 440px); margin: 0 auto -0.5rem; }
}

/* ---------- Seitenkopf (Unterseiten) ---------- */
.seitenkopf {
  position: relative;
  overflow: clip;
  padding-block: clamp(3rem, 2rem + 4vw, 6rem) clamp(2.5rem, 2rem + 3vw, 4.5rem);
}
.seitenkopf h1 { max-width: 16ch; }
.seitenkopf .einleitung { margin-bottom: 0; }
.seitenkopf__bild {
  position: absolute; top: 50%; translate: 0 -50%;
  right: max(var(--rand), calc((100vw - var(--mass)) / 2 + var(--rand)));
  width: clamp(220px, 22vw, 320px);
  pointer-events: none;
}
@media (max-width: 1000px) { .seitenkopf__bild { display: none; } }

/* ---------- Kugel-Symbole ---------- */
.kugel {
  display: block; flex: none;
  width: 46px; aspect-ratio: 1; border-radius: 50%;
  background: var(--kugel-silber);
  box-shadow: inset 0 -6px 10px rgba(255, 255, 255, 0.45), 0 12px 14px -10px rgba(18, 38, 46, 0.45);
}
.kugel--rose { background: var(--kugel-rose); }
.kugel--klein { width: 30px; margin: 8px; }

/* ---------- Ziele / Arbeitsfelder ---------- */
.felder { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--linie); }
.feld {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 1.5rem;
  padding-block: 2rem;
  border-top: 1px solid var(--linie);
}
.feld h3 { margin-bottom: 0.4em; }
.feld p { color: var(--tinte-2); margin-bottom: 0.6em; }
.feld p:last-child { margin-bottom: 0; }

/* ---------- Dunkles Band (Studiengang) ---------- */
.band {
  background: var(--tinte);
  color: #D9E3E4;
  border-radius: var(--r-gross);
  overflow: hidden;
}
.band h2, .band h3 { color: #fff; }
.band a:not(.knopf) { color: var(--beere-licht); }
.band__raster {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  align-items: stretch;
}
.band h2 { font-size: clamp(1.9rem, 1.3rem + 1.6vw, 2.7rem); }
.band__bild { position: relative; min-height: 320px; }
.band__bild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band__text { padding: clamp(2rem, 1.5rem + 3vw, 4.5rem); }
.band__text .einleitung { color: #C8D5D7; }
.band .knopf--linie { color: #fff; border-color: rgba(255, 255, 255, 0.45); }
.band .knopf--linie:hover { background: #fff; color: var(--tinte); border-color: #fff; }

.fakten {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 2rem;
  margin: 2rem 0 0;
}
.fakten div { border-top: 1px solid rgba(255, 255, 255, 0.18); padding-top: 0.8rem; }
.fakten dt { font-size: 0.92rem; color: #A9BBBE; }
.fakten dd { margin: 0.15rem 0 0; font-family: var(--serif); font-size: 1.3rem; line-height: 1.25; color: #fff; }

@media (max-width: 860px) {
  .band__raster { grid-template-columns: minmax(0, 1fr); }
  .band__bild { min-height: 0; aspect-ratio: 3 / 2; }
}
@media (max-width: 520px) { .fakten { grid-template-columns: minmax(0, 1fr); } }

/* helle Variante der Fakten */
.fakten--hell div { border-top-color: var(--linie); }
.fakten--hell dt { color: var(--tinte-3); }
.fakten--hell dd { color: var(--tinte); }

/* ---------- Studien-Vorschau ---------- */
.kopfzeile {
  display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between;
  gap: 1rem 2rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem);
}
.kopfzeile > div { max-width: 46rem; }
.kopfzeile h2 { margin-bottom: 0.3em; }
.kopfzeile p { color: var(--tinte-2); margin: 0; }

.vorschau { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.75rem); list-style: none; margin: 0; padding: 0; }
.vorschau__eintrag { display: flex; flex-direction: column; }
.vorschau__grafik {
  aspect-ratio: 16 / 10;
  margin-bottom: 1.25rem;
  padding: 0.9rem;
  border: 1px solid var(--linie);
  border-radius: var(--r-mittel);
  background: var(--papier);
  overflow: hidden;
}
.vorschau__grafik img { width: 100%; height: 100%; object-fit: contain; }
.vorschau__eintrag h3 a { color: inherit; text-decoration: none; }
.vorschau__eintrag h3 a:hover { color: var(--beere); }
.vorschau__eintrag p { color: var(--tinte-2); font-size: 1.02rem; }
.vorschau__eintrag .quelle { margin-top: auto; font-size: 0.92rem; color: var(--tinte-3); }
@media (max-width: 960px) { .vorschau { grid-template-columns: minmax(0, 1fr); max-width: 560px; } }

/* ---------- Großes Zitat ---------- */
.stimme { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(1.25rem, 3vw, 3rem); align-items: start; }
.stimme .kugel { width: clamp(56px, 7vw, 92px); margin-top: 0.5rem; }
.stimme blockquote {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.4rem);
  line-height: 1.3;
  max-width: 30em;
  text-indent: -0.4em;
}
.stimme figcaption { margin-top: 1.25rem; color: var(--tinte-2); }

/* ---------- Aufruf / Kontaktfläche ---------- */
.aufruf {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem); align-items: center;
  padding: clamp(2rem, 1.5rem + 3vw, 4rem);
  border-radius: var(--r-gross);
  background: var(--papier);
  border: 1px solid var(--linie);
}
.aufruf h2 { margin-bottom: 0.4em; }
.aufruf p { color: var(--tinte-2); }
.aufruf__wege { display: grid; gap: 0.75rem; }
.aufruf__wege .knopf { justify-content: flex-start; }
@media (max-width: 860px) { .aufruf { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Zeitleiste ---------- */
.zeitleiste { list-style: none; margin: 0; padding: 0; position: relative; }
.zeitleiste::before {
  content: ""; position: absolute; left: 7.5rem; top: 0.6rem; bottom: 0.6rem; width: 1px; background: var(--linie);
}
.zeitleiste li { display: grid; grid-template-columns: 6.25rem minmax(0, 1fr); gap: 2.5rem; padding-bottom: 2.25rem; position: relative; }
.zeitleiste li:last-child { padding-bottom: 0; }
.zeitleiste li::before {
  content: ""; position: absolute; left: calc(7.5rem - 7px); top: 0.45rem;
  width: 15px; height: 15px; border-radius: 50%; background: var(--kugel-silber);
  box-shadow: 0 0 0 4px var(--papier);
}
.zeitleiste li.ist-markiert::before { background: var(--kugel-rose); }
.zeitleiste li.ist-gedenken::before { background: var(--papier); box-shadow: 0 0 0 4px var(--papier), inset 0 0 0 2px var(--tinte-3); }
.zeitleiste time { font-family: var(--serif); font-size: 1.5rem; line-height: 1.15; font-weight: 500; text-align: right; }
.zeitleiste h3 { font-size: 1.25rem; margin-bottom: 0.3em; }
.zeitleiste p { color: var(--tinte-2); margin: 0; }
.zeitleiste figure { margin: 1rem 0 0; }
.zeitleiste figure img { border-radius: var(--r-mittel); }
.zeitleiste figcaption { font-size: 0.92rem; color: var(--tinte-3); margin-top: 0.5rem; }
@media (max-width: 600px) {
  .zeitleiste::before { left: 7px; }
  .zeitleiste li { grid-template-columns: minmax(0, 1fr); gap: 0.25rem; padding-left: 2.25rem; }
  .zeitleiste li::before { left: 0; }
  .zeitleiste time { text-align: left; font-size: 1.3rem; }
}

/* ---------- Personen ---------- */
/* Erinnerung an den Gründer */
.gedenkkarte {
  display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 1.1rem; align-items: start;
  margin-top: 2.25rem; padding: 1.25rem 1.4rem;
  border-radius: var(--r-gross); background: var(--porzellan);
}
.gedenkkarte img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; background: var(--papier); }
.gedenkkarte__titel { font-size: 1.2rem; font-weight: 550; line-height: 1.25; margin-bottom: 0.35rem; }
.gedenkkarte p { font-size: 1rem; color: var(--tinte-2); margin-bottom: 0.5rem; }
.gedenkkarte p:last-child { margin-bottom: 0; }

.gedenken { margin-top: 3rem; padding-top: 2.5rem; border-top: 1px solid var(--linie); }
.gedenken h3 { font-size: clamp(1.5rem, 1.3rem + 0.7vw, 1.9rem); font-weight: 500; }
.gedenken__schluss {
  margin-top: 1.75rem; padding-left: 1.1rem;
  border-left: 2px solid var(--silber);
  font-family: var(--serif); font-style: italic; font-size: 1.25rem; line-height: 1.5; color: var(--tinte);
}

.portraitkarte {
  display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 1.5rem; align-items: center;
  padding: 1.5rem; border-radius: var(--r-gross); background: var(--papier); border: 1px solid var(--linie);
}
.portraitkarte img { border-radius: 50%; width: 132px; height: 132px; object-fit: cover; }
.portraitkarte p { margin: 0; color: var(--tinte-2); font-size: 1rem; }
.portraitkarte .portraitkarte__name { font-family: var(--serif); font-size: 1.35rem; color: var(--tinte); line-height: 1.2; margin-bottom: 0.2rem; }
@media (max-width: 420px) { .portraitkarte { grid-template-columns: 88px 1fr; } .portraitkarte img { width: 88px; height: 88px; } }

.lehrende { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 2.5rem 1.75rem; }
.person { text-align: left; }
.person__bild {
  width: 148px; height: 148px; margin-bottom: 1rem;
  border-radius: 50%; object-fit: cover;
  box-shadow: 0 0 0 1px var(--linie), 0 0 0 7px var(--papier), 0 0 0 8px var(--linie);
}
.person h3 { font-size: 1.2rem; margin-bottom: 0.25rem; }
.person p { font-size: 1rem; color: var(--tinte-2); margin: 0; }

.leitung {
  display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center;
  margin-bottom: clamp(2.5rem, 4vw, 4rem);
}
.leitung img { border-radius: 50%; width: 220px; height: 220px; object-fit: cover; background: var(--papier); }
.leitung h3 { font-size: clamp(1.5rem, 1.3rem + 0.8vw, 2rem); }
.leitung p { color: var(--tinte-2); }
@media (max-width: 640px) { .leitung { grid-template-columns: minmax(0, 1fr); } .leitung img { width: 160px; height: 160px; } }

/* ---------- Alumni ---------- */
.alumni { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2rem); }
.alumni__eintrag {
  display: flex; flex-direction: column;
  padding: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem);
  border-radius: var(--r-gross);
  background: var(--papier);
}
.alumni__eintrag blockquote { margin: 0 0 1.5rem; font-family: var(--serif); font-size: 1.15rem; line-height: 1.55; }
.alumni__eintrag blockquote p { margin-bottom: 0.8em; }
.alumni__eintrag blockquote p:last-child { margin-bottom: 0; }
.alumni__person { margin-top: auto; display: flex; align-items: center; gap: 0.9rem; }
.alumni__person img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.alumni__person strong { display: block; line-height: 1.25; }
.alumni__person span { font-size: 0.95rem; color: var(--tinte-2); }
@media (max-width: 760px) { .alumni { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Schriftenreihe ---------- */
.hefte {
  list-style: none; margin: 0; padding: 0 0 0.5rem;
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr);
  gap: 1.25rem;
  overflow-x: auto; scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
}
.heft { scroll-snap-align: start; }
.heft a { display: block; color: var(--tinte); text-decoration: none; }
.heft img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: var(--r-mittel);
  box-shadow: 0 1px 0 var(--linie), 0 18px 30px -22px rgba(18, 38, 46, 0.6);
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.heft a:hover img { transform: translateY(-4px); }
.heft__titel { display: block; margin-top: 0.9rem; font-family: var(--serif); font-size: 1.15rem; font-weight: 550; }
.heft__thema { display: block; font-size: 0.95rem; color: var(--tinte-2); line-height: 1.4; margin-top: 0.2rem; }

/* ---------- Bilder mit Unterschrift ---------- */
.foto { margin: 0; }
.foto img { width: 100%; border-radius: var(--r-gross); }
.foto figcaption { margin-top: 0.75rem; font-size: 0.95rem; color: var(--tinte-3); }

.zweigeteilt { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 4.5rem); align-items: center; }
@media (max-width: 860px) { .zweigeteilt { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Forschung: Unternavigation ---------- */
.reiter {
  position: sticky; top: var(--kopfhoehe); z-index: 20;
  background: color-mix(in srgb, var(--porzellan) 92%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-block: 1px solid var(--linie);
}
.reiter ul { display: flex; gap: 0.25rem; list-style: none; margin: 0; padding: 0.5rem 0; overflow-x: auto; }
.reiter a {
  display: block; white-space: nowrap;
  padding: 0.5rem 1rem; border-radius: 999px;
  color: var(--tinte); font-weight: 600; text-decoration: none;
}
.reiter a:hover { background: var(--nebel); }
.reiter a.ist-aktiv { background: var(--tinte); color: #fff; }
.reiter .anzahl { font-weight: 400; opacity: 0.7; }

.studien { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.studien__verzeichnis { position: sticky; top: calc(var(--kopfhoehe) + 5rem); }
.studien__verzeichnis h2 { font-family: var(--sans); font-size: 0.95rem; font-weight: 700; letter-spacing: 0; color: var(--tinte-3); margin-bottom: 0.75rem; }
.studien__verzeichnis ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--linie); }
.studien__verzeichnis a {
  display: block; padding: 0.45rem 0 0.45rem 1rem; margin-left: -1px;
  border-left: 2px solid transparent;
  color: var(--tinte-2); font-size: 0.98rem; line-height: 1.35; text-decoration: none;
}
.studien__verzeichnis a:hover { color: var(--tinte); }
.studien__verzeichnis a.ist-aktiv { color: var(--beere); border-left-color: var(--beere); font-weight: 600; }

.studie { padding-block: 0 clamp(3rem, 5vw, 4.5rem); }
.studie + .studie { padding-top: clamp(3rem, 5vw, 4.5rem); border-top: 1px solid var(--linie); }
.studie h3 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.15rem); font-weight: 500; max-width: 24ch; }
.studie__meta { font-size: 0.95rem; color: var(--tinte-3); margin-top: -0.3rem; }
.studie p { max-width: 68ch; }

.grafik { margin: 2rem 0; }
.grafik__knopf {
  display: block; width: 100%; padding: clamp(0.75rem, 2vw, 1.5rem);
  border: 1px solid var(--linie); border-radius: var(--r-mittel);
  background: var(--papier);
  cursor: zoom-in;
  transition: border-color 0.15s;
}
.grafik__knopf:hover { border-color: var(--silber); }
.grafik__knopf img { margin-inline: auto; max-height: 520px; width: auto; }
.grafik figcaption { margin-top: 0.7rem; font-size: 0.95rem; color: var(--tinte-3); max-width: 68ch; }
.grafik--schmal .grafik__knopf { max-width: 560px; }

.fazit {
  max-width: 68ch;
  margin: 1.75rem 0;
  padding: 1.25rem 1.5rem;
  border-radius: var(--r-mittel);
  background: var(--minze);
}
.fazit h4 { color: var(--salbei); margin-bottom: 0.3rem; }
.fazit p { margin: 0; }

.downloads { list-style: none; margin: 1.75rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.downloads .knopf { font-size: 0.98rem; }
.downloads small { font-weight: 400; color: var(--tinte-3); }
.downloads .knopf:hover small { color: inherit; }

@media (max-width: 960px) {
  .studien { grid-template-columns: minmax(0, 1fr); }
  .studien__verzeichnis { position: static; }
}

/* ---------- Masterarbeiten ---------- */
.filter { display: grid; gap: 1.25rem; margin-bottom: 2rem; }
.suche { position: relative; max-width: 560px; }
.suche label { display: block; font-weight: 650; margin-bottom: 0.4rem; }
.suche input {
  width: 100%; height: 52px;
  padding: 0 1rem 0 2.9rem;
  border: 1.5px solid var(--silber); border-radius: 999px;
  background: var(--papier);
  color: var(--tinte); font: 1.05rem var(--sans);
}
.suche input:focus { outline: none; border-color: var(--beere); box-shadow: 0 0 0 4px var(--beere-hell); }
.suche svg { position: absolute; left: 1.05rem; bottom: 15px; width: 22px; height: 22px; color: var(--tinte-3); }

.chips { border: 0; margin: 0; padding: 0; min-width: 0; }
.chips legend { font-weight: 650; margin-bottom: 0.5rem; padding: 0; }
.chips__liste { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  min-height: 38px; padding: 0.35rem 0.95rem;
  border: 1px solid var(--linie); border-radius: 999px;
  background: var(--papier); color: var(--tinte);
  font: 500 0.98rem/1.2 var(--sans);
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.chip:hover { border-color: var(--silber); }
.chip[aria-pressed="true"] { background: var(--tinte); border-color: var(--tinte); color: #fff; }

.trefferzeile { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; align-items: center; justify-content: space-between; margin-bottom: 0.5rem; color: var(--tinte-2); }
.trefferzeile p { margin: 0; }

.arbeiten { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--linie); }
.arbeit { padding-block: 1.15rem; border-top: 1px solid var(--linie); }
.arbeit[hidden] { display: none; }
@media (min-width: 1000px) {
  .arbeiten { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2rem, 4vw, 4rem); border-bottom: 0; }
}
.arbeit__titel { margin: 0; font-size: 1.08rem; line-height: 1.5; max-width: 75ch; }
.arbeit__info { display: flex; flex-wrap: wrap; gap: 0.4rem 0.6rem; margin-top: 0.5rem; font-size: 0.9rem; color: var(--tinte-3); }
.marke-design {
  display: inline-flex; align-items: center;
  padding: 0.1rem 0.6rem; border-radius: 999px;
  font-weight: 600; font-size: 0.86rem;
}
.marke-design--retro { background: var(--minze); color: var(--salbei); }
.marke-design--rct { background: var(--beere-hell); color: var(--beere); }
.arbeit mark { background: #F6E7A8; color: inherit; border-radius: 2px; padding: 0 1px; }

.leer { padding: 2rem 0; }
.leer[hidden] { display: none; }

.fussnote { font-size: 0.95rem; color: var(--tinte-3); margin-top: 1.25rem; max-width: 75ch; }

/* ---------- Fallbeispiele ---------- */
.faelle { list-style: none; margin: 0; padding: 0; }
.fall {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(1rem, 4vw, 4rem);
  padding-block: clamp(2rem, 4vw, 3.25rem);
  border-top: 1px solid var(--linie);
}
.fall:last-child { border-bottom: 1px solid var(--linie); }
.fall__person { display: flex; gap: 1rem; align-items: flex-start; }
.fall__person .kugel { width: 34px; margin-top: 0.2rem; }
.fall__person p { margin: 0; font-weight: 650; line-height: 1.4; }
.fall__person p span { display: block; font-weight: 400; color: var(--tinte-2); font-size: 1rem; margin-top: 0.25rem; }
.fall blockquote {
  margin: 0;
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.8rem);
  line-height: 1.4;
  text-indent: -0.4em;
}
@media (max-width: 760px) { .fall { grid-template-columns: minmax(0, 1fr); } }

.hinweis {
  max-width: 68ch; margin-top: 2rem; padding-left: 1rem;
  border-left: 3px solid var(--silber);
  font-size: 0.98rem; color: var(--tinte-2);
}

/* ---------- Kontakt ---------- */
.kontaktwege { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--linie); }
.kontaktweg { display: grid; grid-template-columns: 8rem minmax(0, 1fr); gap: 1rem; padding-block: 1.4rem; border-top: 1px solid var(--linie); align-items: baseline; }
.kontaktweg__art { color: var(--tinte-3); font-size: 1rem; }
.kontaktweg__wert { font-family: var(--serif); font-size: clamp(1.3rem, 1.1rem + 0.9vw, 1.9rem); line-height: 1.25; overflow-wrap: anywhere; }
.kontaktweg__wert--mail { font-size: clamp(1.15rem, 0.95rem + 0.8vw, 1.5rem); }
.kontaktweg__wert a { color: var(--tinte); text-decoration-color: var(--silber); }
.kontaktweg__wert a:hover { color: var(--beere); }
.kontaktweg__extra { grid-column: 2; display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; align-items: center; margin-top: 0.25rem; font-size: 0.98rem; }
.kopieren {
  border: 0; padding: 0; background: none; color: var(--beere);
  font: 600 0.98rem var(--sans); text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer;
}
.kopieren__status { color: var(--salbei); font-weight: 600; }
@media (max-width: 560px) { .kontaktweg { grid-template-columns: minmax(0, 1fr); gap: 0.2rem; } .kontaktweg__extra { grid-column: 1; } }

.anschrift { font-size: 1.15rem; line-height: 1.7; }
.anschrift strong { font-family: var(--serif); font-size: 1.35rem; font-weight: 550; }

/* ---------- Rechtstexte ---------- */
.rechtstext { max-width: 72ch; }
.rechtstext h2 { font-size: clamp(1.5rem, 1.3rem + 0.8vw, 2rem); margin-top: 2.5rem; }
.rechtstext h3 { font-size: 1.2rem; margin-top: 1.75rem; }
.rechtstext p, .rechtstext li { color: var(--tinte-2); }
.platzhalter {
  background: #FFF4C7; color: #5B4300;
  padding: 0.05rem 0.35rem; border-radius: 4px;
  font-weight: 600; font-size: 0.95em;
}
.entwurf {
  margin-bottom: 2rem; padding: 1rem 1.25rem;
  border-radius: var(--r-mittel); background: #FFF4C7; color: #5B4300;
}

/* ---------- Fuß ---------- */
.fuss { margin-top: var(--abschnitt); background: var(--tinte); color: #B9C9CB; font-size: 1rem; }
.fuss a { color: #fff; text-decoration-color: rgba(255, 255, 255, 0.35); }
.fuss a:hover { text-decoration-color: #fff; }
.fuss .ini { color: var(--beere-licht); }
.fuss__innen {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1.5fr) minmax(0, 0.8fr);
  gap: 2.5rem;
  max-width: var(--mass); margin-inline: auto;
  padding: clamp(3rem, 6vw, 5rem) var(--rand) 3rem;
}
.fuss__name { font-family: var(--serif); font-size: 1.5rem; color: #fff; line-height: 1.2; margin-bottom: 0.5rem; }
.fuss__klein { font-size: 0.92rem; color: #93A7AA; max-width: 30ch; }
.fuss__titel { font-family: var(--sans); font-size: 0.92rem; font-weight: 700; letter-spacing: 0; color: #93A7AA; margin-bottom: 0.75rem; }
.fuss__liste, .fuss__recht { list-style: none; margin: 0; padding: 0; }
.fuss__liste li { margin-bottom: 0.3rem; }
main:has(> .abschnitt--papier:last-child) + .fuss { margin-top: 0; }
@media (min-width: 961px) { .fuss a[href^="mailto:"] { white-space: nowrap; } }
.fuss__unten {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 2rem;
  max-width: var(--mass); margin-inline: auto;
  padding: 1.5rem var(--rand) 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.92rem;
}
.fuss__unten p { margin: 0; }
.fuss__recht { display: flex; gap: 1.5rem; }
@media (max-width: 960px) { .fuss__innen { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fuss__marke { grid-column: 1 / -1; } }
@media (max-width: 520px) { .fuss__innen { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Lupe (Grafik vergrößern) ---------- */
.lupe {
  width: min(1100px, calc(100vw - 2rem)); max-height: calc(100vh - 2rem);
  padding: 0; border: 0; border-radius: var(--r-mittel);
  background: var(--papier); color: var(--tinte);
  box-shadow: 0 30px 80px -20px rgba(18, 38, 46, 0.5);
}
.lupe::backdrop { background: rgba(18, 38, 46, 0.6); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.lupe__leiste { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.75rem 0.75rem 0.75rem 1.25rem; border-bottom: 1px solid var(--linie); }
.lupe__titel { margin: 0; font-weight: 600; font-size: 1rem; }
.lupe__zu { border: 1px solid var(--linie); border-radius: 999px; padding: 0.45rem 1rem; background: var(--papier); font: 600 0.95rem var(--sans); cursor: pointer; }
.lupe__zu:hover { background: var(--nebel); }
.lupe__bild { margin: 0 auto; padding: 1rem; max-height: calc(100vh - 7rem); width: auto; }

@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; }
}

@media print {
  .kopf, .fuss, .reiter, .studien__verzeichnis, .seitenkopf__bild, .filter { display: none !important; }
  body { background: #fff; }
}

/* Lange deutsche Komposita auf schmalen Bildschirmen trennen */
@media (max-width: 600px) {
  h1, h2, h3, .fakten dd, .kontaktweg__wert { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
}

/* Sehr schmale Geräte (z. B. 320 px): Kopfzeile verdichten */
@media (max-width: 380px) {
  .kopf__innen { gap: 0.5rem; }
  .marke { gap: 0.4rem; flex: 0 1 auto; min-width: 0; }
  .marke__bild { width: 40px; }
  .marke__name { font-size: 0.95rem; }
  .sprache__wahl { min-width: 30px; height: 30px; padding: 0 0.4rem; }
  .menueknopf { height: 40px; padding: 0 0.7rem; }
}
