/* ═══════════════════════════════════════════════════════
   LOKALE SCHRIFTARTEN
   Die Website laedt Cormorant Garamond und Inter lokal aus dem
   Ordner fonts. Dadurch entstehen keine externen Google-Font-Requests.
═══════════════════════════════════════════════════════ */
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/cormorant-garamond-400.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/cormorant-garamond-500.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/cormorant-garamond-600.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-300.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-400.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-500.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-600.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-700.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ═══════════════════════════════════════════════════════
   DESIGN-GRUNDLAGEN
   Hier werden die zentralen Farben, Schriftfamilien, Radien und
   wiederverwendbaren Designwerte der Website definiert.
═══════════════════════════════════════════════════════ */
:root {
  --dark:   #111B27;
  --navy:   #18293E;
  --blue:   #1E4E8C;       /* Primaere Akzentfarbe: Stahlblau. */
  --blue-m: #2A5FA8;
  --blue-l: #E8EEF7;
  --white:  #FFFFFF;
  --off:    #F4F5F7;
  --light:  #EAECF0;
  --border: #D8DCE3;
  --text:   #1A1F2E;
  --muted:  #5A6578;
  --serif:  'Cormorant Garamond', 'Georgia', serif;
  --sans:   'Inter', system-ui, -apple-system, sans-serif;
  --r:      4px;
  --r-lg:   8px;
}

/* ─── Reset und globale Basiseinstellungen ─────────────
   Entfernt Browser-Standardabstaende und sorgt fuer ein
   einheitliches Box-Modell, saubere Bildskalierung und Basislinks. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; font-size: 16px; }
body  { font-family: var(--sans); color: var(--text); background: var(--white); line-height: 1.7; -webkit-font-smoothing: antialiased; }
img   { display: block; max-width: 100%; }
a     { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ─── Allgemeines Seitenlayout ──────────────────────────
   Definiert die zentralen Containerbreiten und vertikalen
   Abschnittsabstaende fuer alle normalen Inhaltsseiten. */
.wrap    { max-width: 1120px; margin: 0 auto; padding: 0 40px; }
.wrap-sm { max-width: 860px;  margin: 0 auto; padding: 0 40px; }
.sec     { padding: 96px 0; }
.sec-sm  { padding: 72px 0; }
.sec-alt { background: var(--off); }
.sec-dark{ background: var(--dark); }

/* ─── Typografie und Abschnittsueberschriften ───────────
   Legt die wiederkehrenden Textstile fuer Eyebrows, Titel,
   Untertitel und dekorative Trennlinien fest. */
.eyebrow {
  display: inline-block;
  font-size: 0.68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--blue); margin-bottom: 12px;
}
.sec-dark .eyebrow { color: #7AAAD8; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; }
h1   { font-size: clamp(2.4rem, 5vw, 4rem); color: var(--white); }
h2.title { font-size: clamp(1.8rem, 3vw, 2.6rem); color: var(--dark); margin-bottom: 14px; }
.sec-dark h2.title { color: var(--white); }
.subtitle { font-size: 1rem; color: var(--muted); max-width: 580px; margin-bottom: 52px; }
.sec-dark .subtitle { color: #8BAAC4; }
.rule { width: 40px; height: 2px; background: var(--blue); margin: 16px 0 44px; }
.sec-dark .rule { background: #7AAAD8; }

/* ─── Navigation ────────────────────────────────────────
   Steuert die fixe Hauptnavigation, Logo, Menuepunkte,
   Kontakt-CTA und die mobile Hamburger-Navigation. */
nav {
  position: sticky; top: 0; z-index: 200;
  background: rgba(17,27,39,0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav-logo  {
  font-family: var(--serif); font-size: 1.1rem; font-weight: 600;
  color: var(--white); letter-spacing: 0.01em;
}
.nav-logo span { color: #7AAAD8; }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  font-size: 0.78rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: #7A8FA5; transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: #DDEAF7; text-decoration: none; }
.nav-cta {
  border: 1px solid rgba(120,160,210,0.4) !important;
  color: #9ABFE0 !important; padding: 6px 16px;
  border-radius: var(--r); transition: all .2s !important;
}
.nav-cta:hover { background: rgba(30,78,140,0.4) !important; border-color: #7AAAD8 !important; color: var(--white) !important; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 0; }
.hamburger span { display: block; width: 22px; height: 1.5px; background: #9ABFE0; }
@media (max-width: 860px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0;
    background: var(--dark); border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 20px 40px; gap: 18px; }
  .nav-links.is-open { display: flex; }
  .hamburger { display: flex; }
}

/* ─── Startseiten-Hero ─────────────────────────────────
   Gestaltet den dunklen Einstiegsbereich der Startseite mit
   Claim, Haupttitel, Call-to-Action-Buttons und Rollenboxen. */
.hero {
  background: linear-gradient(150deg, #0A1520 0%, #111B27 55%, #142133 100%);
  padding: 128px 0 108px; position: relative; overflow: hidden;
}
.hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 1px; background: linear-gradient(90deg, transparent, rgba(30,78,140,0.4), transparent);
}
.hero-inner { display: grid; grid-template-columns: 1fr 320px; gap: 80px; align-items: start; }
.hero-tag {
  display: inline-block;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.15em;
  text-transform: uppercase; color: #7AAAD8;
  border-bottom: 1px solid rgba(122,170,216,0.3);
  padding-bottom: 10px; margin-bottom: 24px;
}
.hero-name { font-size: 0.8rem; font-weight: 400; color: #4E6880; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 10px; }
.hero p.lead { font-size: 1.05rem; color: #7A95AC; max-width: 500px; margin: 24px 0 40px; line-height: 1.8; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 11px 24px; border-radius: var(--r);
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.03em;
  transition: all .2s; cursor: pointer;
}
.btn-solid { background: var(--blue); color: var(--white); }
.btn-solid:hover { background: var(--blue-m); text-decoration: none; }
.btn-line  { background: transparent; color: #9ABFE0; border: 1px solid rgba(154,191,224,0.35); }
.btn-line:hover { border-color: #7AAAD8; color: var(--white); text-decoration: none; }

/* Seitliche Rollenboxen im Hero-Bereich. */
.hero-side { display: flex; flex-direction: column; gap: 1px; margin-top: 12px; }
.hero-role {
  background: rgba(255,255,255,0.03);
  border-left: 2px solid rgba(30,78,140,0.6);
  padding: 18px 20px;
  transition: border-color .2s;
}
.hero-role:hover { border-left-color: #7AAAD8; }
.hero-role-label { font-size: 0.62rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; color: #4E6880; margin-bottom: 5px; }
.hero-role h3 { font-family: var(--serif); font-size: 1rem; font-weight: 500; color: #DDEAF7; line-height: 1.3; margin-bottom: 3px; }
.hero-role p { font-size: 0.78rem; color: #5A7A94; }

@media (max-width: 860px) { .hero-inner { grid-template-columns: 1fr; } .hero-side { display: none; } .hero { padding: 88px 0 72px; } }

/* ─── Rollenuebersicht auf der Startseite ───────────────
   Dreispaltige Darstellung der akademischen, praktischen und
   policybezogenen Rollen. */
.roles-row { display: grid; grid-template-columns: repeat(3,1fr); background: var(--off); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.role-block {
  padding: 56px 44px;
  border-right: 1px solid var(--border);
  position: relative;
}
.role-block:last-child { border-right: none; }
.role-block::before { content: ''; position: absolute; top: 0; left: 44px; width: 32px; height: 2px; background: var(--blue); }
.role-cat { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em; color: var(--blue); margin-bottom: 14px; }
.role-block h3 { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; color: var(--dark); margin-bottom: 6px; line-height: 1.25; }
.role-block .role-inst { font-size: 0.78rem; color: var(--muted); margin-bottom: 14px; }
.role-block p { font-size: 0.88rem; color: var(--muted); line-height: 1.7; }
.role-pills { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 16px; }
.pill { font-size: 0.68rem; font-weight: 500; background: var(--blue-l); color: var(--blue); border-radius: 2px; padding: 3px 8px; }

@media (max-width: 860px) { .roles-row { grid-template-columns: 1fr; } .role-block { border-right: none; border-bottom: 1px solid var(--border); } }

/* ─── Expertise-Listen ──────────────────────────────────
   Zweispaltige Listen fuer Fachgebiete und Kompetenzbereiche. */
.expertise-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.exp-col h3 { font-family: var(--serif); font-size: 1.15rem; color: var(--dark); margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.exp-list { list-style: none; display: flex; flex-direction: column; gap: 0; }
.exp-item { padding: 12px 0; border-bottom: 1px solid var(--light); display: flex; gap: 12px; align-items: flex-start; }
.exp-item:last-child { border-bottom: none; }
.exp-dash { color: var(--blue); font-weight: 500; flex-shrink: 0; margin-top: 1px; }
.exp-text { font-size: 0.9rem; color: var(--muted); }
.exp-text strong { display: block; color: var(--dark); font-weight: 500; margin-bottom: 2px; font-size: 0.9rem; }

@media (max-width: 720px) { .expertise-cols { grid-template-columns: 1fr; gap: 40px; } }

/* ─── Representative Matters und Tabs ───────────────────
   Darstellung der Mandats-/Matter-Listen sowie der umschaltbaren
   Tab-Panels auf der Startseite. */
.tab-bar { display: flex; border-bottom: 1px solid var(--border); margin-bottom: 40px; overflow-x: auto; gap: 0; }
.tab { background: none; border: none; cursor: pointer; padding: 12px 18px; font-family: var(--sans); font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; transition: color .15s, border-color .15s; }
.tab.on, .tab:hover { color: var(--dark); border-bottom-color: var(--blue); }
.panel { display: none; }
.panel.on { display: block; }

.matter-list { display: flex; flex-direction: column; gap: 10px; }
.m-item { display: grid; grid-template-columns: 160px 1fr; border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; transition: border-color .2s; }
.m-item:hover { border-color: var(--blue); }
.m-label { background: var(--off); padding: 16px 18px; border-right: 1px solid var(--border); display: flex; flex-direction: column; justify-content: center; }
.m-forum { font-size: 0.62rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--blue); margin-bottom: 3px; }
.m-role  { font-size: 0.75rem; color: var(--muted); }
.m-body  { padding: 16px 22px; }
.m-body strong { font-size: 0.88rem; color: var(--dark); font-weight: 600; display: block; margin-bottom: 3px; }
.m-body p { font-size: 0.8rem; color: var(--muted); }
.m-item.adv { grid-template-columns: 130px 1fr; }

@media (max-width: 600px) { .m-item, .m-item.adv { grid-template-columns: 1fr; } .m-label { border-right: none; border-bottom: 1px solid var(--border); } }

/* ─── Publikationen ─────────────────────────────────────
   Layout fuer Publikationsfilter, Publikationszeilen, Jahresbalken,
   Metadaten, Links und Publikationstyp-Badges. */
.pub-cats { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 36px; }
.cat-btn { background: var(--off); border: 1px solid var(--border); border-radius: 2px; padding: 6px 14px; font-size: 0.75rem; font-weight: 500; color: var(--muted); cursor: pointer; transition: all .15s; }
.cat-btn.on, .cat-btn:hover { background: var(--dark); border-color: var(--dark); color: var(--white); }

.pub-stack { display: flex; flex-direction: column; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; }
.pub-row { background: var(--white); display: grid; grid-template-columns: 52px 1fr; gap: 0; transition: background .15s; }
.pub-row:hover { background: var(--off); }
.pub-row[data-c].hide { display: none; }
.pub-yr { background: var(--dark); display: flex; align-items: center; justify-content: center; writing-mode: vertical-rl; font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1em; color: #7AAAD8; padding: 12px 6px; }
.pub-info { padding: 16px 22px; display: flex; gap: 16px; align-items: flex-start; }
.pub-main { flex: 1; }
.pub-main h4 { font-size: 0.9rem; font-weight: 600; color: var(--dark); margin-bottom: 4px; line-height: 1.4; }
.pub-meta { font-size: 0.78rem; color: var(--muted); }
.pub-link { font-size: 0.72rem; font-weight: 600; color: var(--blue); white-space: nowrap; padding-top: 2px; }
.pub-type { display: inline-block; font-size: 0.62rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; padding: 2px 6px; border-radius: 2px; margin-top: 6px; }
.t-book        { background: #EBF3E8; color: #2D6A2D; }
.t-chapter     { background: #FFF3E0; color: #8B5E00; }
.t-article     { background: #E8F0FB; color: #1E4E8C; }
.t-report      { background: #FDECEA; color: #9B2020; }
.t-blog        { background: #F0EBF8; color: #5B3A8E; }
.t-commentary  { background: #E6F4F4; color: #1A6B6B; }
.t-encyclopaedia { background: #F4EBE6; color: #7A3E20; }
.t-didactical  { background: #EEF4E6; color: #3A6B1A; }
.t-review      { background: #F9F0E6; color: #7A5A1A; }

/* ─── Zitationen und gerichtliche Nachweise ─────────────
   Zusatzbereich innerhalb einzelner Publikationszeilen fuer Reviews,
   Zitate oder gerichtliche Bezugnahmen. */
.pub-cited {
  grid-column: 1 / -1;
  padding: 10px 22px 14px 74px;
  font-size: 0.75rem; color: var(--muted);
  background: var(--off); border-top: 1px solid var(--border);
  line-height: 1.6;
}
.pub-cited-label {
  font-size: 0.62rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--blue); display: block;
  margin-bottom: 2px; margin-top: 7px;
}
.pub-cited-label:first-child { margin-top: 0; }

/* ─── CV-Zeitachse auf der Website ──────────────────────
   Zweispaltige Timeline fuer akademische Stationen, Praxis und
   Ausbildung innerhalb der normalen Website-Seite. */
.cv-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.cv-section-label { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em; color: var(--blue); margin-bottom: 24px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.tl { display: flex; flex-direction: column; }
.tl-i { display: flex; gap: 16px; }
.tl-spine { display: flex; flex-direction: column; align-items: center; }
.tl-dot { width: 8px; height: 8px; background: var(--blue); border-radius: 50%; margin-top: 6px; flex-shrink: 0; }
.tl-line { flex: 1; width: 1px; background: var(--border); margin: 5px 0; min-height: 20px; }
.tl-i:last-child .tl-line { display: none; }
.tl-body { padding-bottom: 24px; }
.tl-period { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--blue); margin-bottom: 2px; }
.tl-title  { font-size: 0.9rem; font-weight: 600; color: var(--dark); line-height: 1.3; }
.tl-place  { font-size: 0.82rem; color: var(--muted); }
.tl-note   { font-size: 0.78rem; color: var(--muted); font-style: italic; margin-top: 3px; }

@media (max-width: 720px) { .cv-cols { grid-template-columns: 1fr; gap: 36px; } }

/* ─── CV-Download-Leiste ────────────────────────────────
   Dunkle Leiste mit Hinweis und Button zum druckbaren CV. */
.dl-bar {
  background: var(--dark); border-radius: var(--r-lg);
  padding: 28px 36px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  margin-top: 56px; flex-wrap: wrap;
}
.dl-bar p { font-size: 0.85rem; color: #7A95AC; }
.dl-bar strong { display: block; color: var(--white); font-size: 0.95rem; margin-bottom: 3px; }

/* ─── Honours und Appointments ──────────────────────────
   Kartenraster fuer Auszeichnungen, Listenplaetze und Funktionen. */
.hon-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.hon-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07); border-radius: var(--r); padding: 24px; }
.hon-yr { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: #7AAAD8; margin-bottom: 7px; }
.hon-card h4 { font-size: 0.88rem; font-weight: 600; color: var(--white); line-height: 1.35; margin-bottom: 4px; }
.hon-card p  { font-size: 0.78rem; color: #5A7A94; }
@media (max-width: 720px) { .hon-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px) { .hon-grid { grid-template-columns: 1fr; } }

/* ─── Kontaktbereich ────────────────────────────────────
   Dunkler Kontaktabschnitt mit Beschreibung, Kontaktbuttons und
   kompakter Kontaktdatenkarte. */
.contact-cols { display: grid; grid-template-columns: 1fr 360px; gap: 80px; align-items: start; }
.contact-desc { font-size: 1rem; color: #7A95AC; line-height: 1.8; margin-bottom: 16px; }
.contact-list { list-style: none; margin: 16px 0 28px; display: flex; flex-direction: column; gap: 10px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.88rem; color: #7A95AC; }
.contact-list li::before { content: '—'; color: #7AAAD8; flex-shrink: 0; }
.contact-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.contact-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--r-lg); padding: 32px; }
.c-row { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.05); align-items: flex-start; }
.c-row:last-child { border-bottom: none; }
.c-lbl { font-size: 0.62rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: #3D5878; min-width: 74px; padding-top: 2px; }
.c-val { font-size: 0.85rem; color: #9ABFE0; line-height: 1.5; }
@media (max-width: 860px) { .contact-cols { grid-template-columns: 1fr; } }

/* ─── Footer ────────────────────────────────────────────
   Abschlussbereich mit Markenname, Seitennavigation und Copyright. */
footer { background: #070E18; border-top: 1px solid rgba(255,255,255,0.05); padding: 32px 40px; display: grid; grid-template-columns: minmax(190px, 0.65fr) 1.8fr minmax(190px, 0.65fr); align-items: center; gap: 14px 28px; }
.footer-brand { justify-self: start; text-align: left; font-family: var(--serif); font-size: 0.9rem; color: #6A8FAD; }
.footer-links { display: flex; gap: 28px; list-style: none; flex-wrap: wrap; justify-content: center; }
.footer-links a { font-size: 0.72rem; color: #5A8099; text-transform: uppercase; letter-spacing: 0.06em; transition: color .15s; }
.footer-links a:hover, .footer-links a.active { color: #7AAAD8; text-decoration: none; }
.footer-copy { grid-column: 3; grid-row: 1; justify-self: end; text-align: right; font-size: 0.72rem; color: #4E6880; }
.footer-legal-links { grid-column: 1 / -1; grid-row: 2; gap: 24px; }
@media (max-width: 760px) {
  footer { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .footer-brand { justify-self: center; text-align: center; }
  .footer-copy, .footer-legal-links { grid-column: auto; grid-row: auto; }
  .footer-copy { justify-self: center; text-align: center; }
  .footer-links { gap: 18px 24px; }
}

/* ─── Upscroller ────────────────────────────────────────
   Fixierter Button fuer den schnellen Ruecksprung an den Seitenanfang. */
.upscroller {
  position: fixed;
  right: 40px;
  bottom: 40px;
  z-index: 180;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(122,170,216,0.35);
  border-radius: var(--r);
  background: rgba(17,27,39,0.94);
  color: #DDEAF7;
  box-shadow: 0 12px 28px rgba(7,14,24,0.2);
  cursor: pointer;
  font-family: var(--sans);
  font-size: 1.2rem;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .18s, transform .18s, background .18s, border-color .18s;
}
.upscroller:hover,
.upscroller:focus-visible {
  background: var(--blue);
  border-color: var(--blue);
  outline: none;
}
.upscroller.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
@media (max-width: 600px) {
  .upscroller {
    right: 40px;
    bottom: 40px;
    width: 48px;
    height: 48px;
  }
}

/* ─── About-Seite ───────────────────────────────────────
   Layout fuer Profilbild, Kontaktbuttons und den biografischen Text. */
.about-grid { display: grid; grid-template-columns: 340px 1fr; gap: 80px; align-items: start; }
.about-photo { border-radius: var(--r-lg); overflow: hidden; background: var(--light); }
.about-photo img { width: 100%; height: auto; display: block; }
.about-text h2 { font-family: var(--serif); font-size: 2rem; font-weight: 500; color: var(--dark); margin-bottom: 20px; }
.about-text p  { font-size: 0.95rem; color: var(--muted); line-height: 1.8; margin-bottom: 16px; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } .about-photo { max-width: 320px; } }

/* ─── Erweiterte Publikationsfilter ─────────────────────
   Zweizeilige Filterlogik auf der Publications-Seite nach Typ und Thema. */
.pub-filter-group { margin-bottom: 32px; }
.pub-filter-row { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 10px; }
.pub-filter-label { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; color: var(--muted); min-width: 50px; padding-top: 8px; flex-shrink: 0; }
.pub-filter-row .pub-cats { margin-bottom: 0; }
.pub-count { font-size: 0.82rem; color: var(--muted); margin: 16px 0 24px; }
.pub-count strong { color: var(--dark); }

/* ─── Teaching-Seite ────────────────────────────────────
   Karten, Listen und Tabellen fuer Lehre, Supervision und Vortraege. */
.teach-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.teach-card { border: 1px solid var(--border); border-radius: var(--r); padding: 32px 28px; }
.teach-card .inst { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--blue); margin-bottom: 10px; }
.teach-card h3 { font-family: var(--serif); font-size: 1.15rem; color: var(--dark); margin-bottom: 8px; }
.teach-card p { font-size: 0.88rem; color: var(--muted); line-height: 1.7; }
.teach-list { list-style: none; margin-top: 12px; display: flex; flex-direction: column; gap: 7px; }
.teach-list li { font-size: 0.85rem; color: var(--muted); display: flex; gap: 10px; }
.teach-list li::before { content: '—'; color: var(--blue); flex-shrink: 0; }
@media (max-width: 720px) { .teach-grid { grid-template-columns: 1fr; } }

.talks-table { width: 100%; border-collapse: collapse; }
.talks-table th { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); text-align: left; padding: 10px 16px; border-bottom: 2px solid var(--border); }
.talks-table td { font-size: 0.85rem; color: var(--text); padding: 12px 16px; border-bottom: 1px solid var(--light); vertical-align: top; }
.talks-table td:first-child { color: var(--blue); font-weight: 600; white-space: nowrap; font-size: 0.78rem; }
.talks-table tr:last-child td { border-bottom: none; }
.talks-table tr:hover td { background: var(--off); }

/* ─── Allgemeine Druckregeln ────────────────────────────
   Basisregeln fuer Druckausgaben der normalen Website-Seiten. */
@media print {
  nav, footer, .no-print, .upscroller { display: none !important; }
  body { font-size: 10pt; color: #000; }
  h2.title { font-size: 14pt; }
  .sec, .sec-sm { padding: 24pt 0; }
  .wrap, .wrap-sm { padding: 0 32pt; max-width: none; }
  a { color: inherit; text-decoration: none; }
}

/* ─── Hilfsklassen und kleine responsive Anpassungen ────
   Kleine Utility-Regeln, die seitenuebergreifend wiederverwendet werden. */
.hide { display: none !important; }
@media (max-width: 600px) { .wrap, .wrap-sm { padding: 0 20px; } .sec { padding: 64px 0; } }

/* ═══════════════════════════════════════════════════════
   IMPRESSUM UND DATENSCHUTZ
   Diese Regeln stammen aus der frueheren legal.css und gestalten nur
   die rechtliche Seite: schmaler Textcontainer, Sprachumschalter und
   juristische Textstruktur. Die sichtbaren Inhalte bleiben im HTML.
═══════════════════════════════════════════════════════ */
.legal-wrap { max-width: 760px; margin: 0 auto; padding: 80px 24px 120px; }
    .legal-wrap h1 { font-size: clamp(1.6rem, 3vw, 2.4rem); color: var(--dark); margin-bottom: 8px; }
    .legal-wrap h2 { font-family: var(--serif); font-size: 1.25rem; font-weight: 500; color: var(--dark); margin: 48px 0 10px; padding-bottom: 6px; border-bottom: 1px solid var(--border); }
    .legal-wrap h3 { font-family: var(--serif); font-size: 1rem; font-weight: 500; color: var(--dark); margin: 28px 0 6px; }
    .legal-wrap h4 { font-family: var(--serif); font-size: 0.95rem; font-weight: 500; color: var(--dark); margin: 22px 0 6px; }
    .legal-wrap h5 { font-family: var(--serif); font-size: 0.9rem; font-weight: 600; color: var(--dark); margin: 20px 0 6px; }
    .legal-wrap p, .legal-wrap li { font-size: 0.9rem; color: var(--muted); line-height: 1.8; }
    .legal-wrap ul { padding-left: 1.2em; margin: 8px 0; }
    .legal-wrap a { color: var(--blue); }
    .legal-section { margin-bottom: 8px; }
    .legal-eyebrow { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--blue); margin-bottom: 4px; }
    .lang-switch { display: flex; gap: 8px; margin-bottom: 40px; }
    .lang-btn { background: none; border: 1px solid var(--border); border-radius: 4px; padding: 5px 16px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.05em; cursor: pointer; font-family: inherit; color: var(--muted); transition: all .15s; }
    .lang-btn.active { background: var(--blue); border-color: var(--blue); color: #fff; }
    .lang-btn:hover:not(.active) { border-color: var(--blue); color: var(--blue); }
    #lang-en { display: none; }

/* ═══════════════════════════════════════════════════════
   DRUCKBARES CV
   Diese Regeln stammen aus der frueheren cv-print.css. Sie steuern
   ausschliesslich die eigenstaendige CV-Druckseite inklusive Screen-Bar,
   A4-Layout und Print-Media-Regeln.
═══════════════════════════════════════════════════════ */
/* ── Bildschirmdarstellung des druckbaren CV ──────────
   Diese Regeln gelten nur auf der CV-Druckseite. Die Klasse am body
   verhindert, dass die speziellen CV-Regeln andere Seiten beeinflussen. */
.cv-print-page { font-family: var(--sans); color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; font-size: 15px; }

    /* Bildschirmleiste oberhalb des CV mit Ruecklink und Druckbutton. */
    .screen-bar {
      background: var(--dark);
      padding: 16px 40px;
      display: flex; align-items: center; justify-content: space-between;
      position: sticky; top: 0; z-index: 100;
    }
    .screen-bar a { color: #7AAAD8; font-size: 0.78rem; font-family: var(--sans); text-decoration: none; }
    .screen-bar a:hover { color: #fff; }
    .screen-bar .print-btn {
      background: #1E4E8C; color: #fff;
      border: none; cursor: pointer;
      padding: 8px 20px; border-radius: 4px;
      font-size: 0.8rem; font-weight: 600;
      font-family: var(--sans); letter-spacing: 0.04em;
    }
    .screen-bar .print-btn:hover { background: #2A5FA8; }

    .page-wrap {
      max-width: 860px; margin: 32px auto 48px;
      background: #fff;
      box-shadow: none;
    }

    /* ── CV-Layout ─────────────────────────────────
   Legt Innenabstaende, Schrift und Grundstruktur des druckbaren
   Lebenslaufdokuments fest. */
    .cv {
      padding: 64px 72px;
      font-family: var(--sans);
      color: var(--text);
      line-height: 1.55;
    }

    /* Kopfbereich des CV mit Name, Titelzeile und Kontaktdaten. */
    .cv-head { border-bottom: 2px solid var(--dark); padding-bottom: 24px; margin-bottom: 32px; }
    .cv-head h1 {
      font-family: var(--serif); font-size: 2.2rem; font-weight: 600;
      color: var(--dark); line-height: 1.1; margin-bottom: 6px;
    }
    .cv-head .title-line {
      font-size: 0.85rem; color: var(--muted); margin-bottom: 14px;
    }
    .cv-head-meta {
      display: flex; gap: 24px; flex-wrap: wrap;
      font-size: 0.78rem; color: var(--muted);
    }
    .cv-head-meta a { color: var(--blue); text-decoration: none; }

    /* CV-Abschnitte mit kleinen, grossgeschriebenen Abschnittstiteln. */
    .cv-section { margin-bottom: 32px; }
    .cv-section-title {
      font-size: 0.65rem; font-weight: 700; text-transform: uppercase;
      letter-spacing: 0.18em; color: var(--blue);
      border-bottom: 1px solid var(--border);
      padding-bottom: 8px; margin-bottom: 18px;
    }

    /* Einzelne CV-Eintraege mit Zeitraum links und Beschreibung rechts. */
    .cv-entry { display: grid; grid-template-columns: 130px 1fr; gap: 0 20px; margin-bottom: 14px; }
    .cv-entry:last-child { margin-bottom: 0; }
    .cv-period { font-size: 0.75rem; font-weight: 600; color: var(--blue); padding-top: 1px; }
    .cv-content h3 { font-size: 0.9rem; font-weight: 600; color: var(--dark); margin-bottom: 1px; }
    .cv-content .org { font-size: 0.82rem; color: var(--muted); }
    .cv-content .note { font-size: 0.78rem; color: var(--muted); font-style: italic; margin-top: 2px; }

    /* Zweispaltiges Layout fuer kompakte CV-Abschnitte. */
    .cv-two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }

    /* Publikationslisten innerhalb des druckbaren CV. */
    .cv-pub { margin-bottom: 8px; padding-bottom: 8px; border-bottom: 1px solid var(--off); }
    .cv-pub:last-child { border-bottom: none; margin-bottom: 0; }
    .cv-pub .pub-title { font-size: 0.85rem; font-weight: 600; color: var(--dark); line-height: 1.35; }
    .cv-pub .pub-detail { font-size: 0.78rem; color: var(--muted); margin-top: 2px; }

    /* Auszeichnungslisten innerhalb des druckbaren CV. */
    .cv-honours { list-style: none; display: flex; flex-direction: column; gap: 8px; }
    .cv-honours li { display: flex; gap: 14px; font-size: 0.85rem; }
    .cv-honours li .hy { font-size: 0.72rem; font-weight: 600; color: var(--blue); min-width: 80px; padding-top: 2px; }
    .cv-honours li .hd { color: var(--text); }

    /* Hilfsklassen fuer Seitenumbrueche und zusammenhaltende Druckbloecke. */
    .pb { page-break-before: always; }
    .no-break { page-break-inside: avoid; }

    /* ── Druckregeln fuer den CV ───────────────────
   Optimiert die CV-Seite fuer A4-Ausdrucke und blendet die
   Bildschirmleiste beim Drucken aus. */
    @media print {
      .cv-print-page { background: #fff; font-size: 9.5pt; }
      .screen-bar { display: none; }
      .page-wrap { max-width: none; margin: 0; box-shadow: none; }
      .cv { padding: 12mm 20mm; }
      .cv-head h1 { font-size: 1.7rem; }
      .cv-section { margin-bottom: 14pt; }
      .cv-entry { margin-bottom: 8pt; }
      a { color: inherit; text-decoration: none; }
      .pb { page-break-before: always; }
      .no-break { page-break-inside: avoid; }
    }
