*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
 
:root {
  --ink: #0e1117;
  --paper: 247 245 240; /* entspricht #f7f5f0; für RGB + Alpha/Transparenz Syntax */
  --cream: #ede9e1;
  --blue: #1a3a6b;
  --accent: #c8a96e;
  --muted: #5e5a57;
  --muted-hover: #2e2c2a;
  --line: rgba(14,17,23,0.1);
  --nav-h: 81px;
}
 
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
 
body {
  font-family: 'DM Sans', sans-serif;
  background: rgb(var(--paper));
  color: var(--ink);
  overflow-x: hidden;
  cursor: none;
}
 
ul, ol {
  margin: 0;
  padding-left: 36px; /* steuert EINRÜCKUNG für beide */
}
ul {
  list-style-type: disc;
}
ul li {
  padding-left: 0; /* wichtig: kein zusätzlicher Einzug */
}
ol {
  list-style-position: outside; /* explizit, um Theme-Overrides zu verhindern */
  padding-left: 28px;
}
ol li {
  padding-left: 0; /* verhindert doppelte Einrückung */
}
 
/* automatische Silbentrennung */
p, li {
  hyphens: auto;
}
 
a, button {
  cursor: none;
}
 
.checklist {
  list-style: none;
  padding-left: 0;
}
 
.checklist li {
  position: relative;
  padding-left: 28px;
}
 
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 55%; /*8px;*/
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background: url('../icons/check.svg') no-repeat center;
  background-size: contain;
}
 
/* --- CURSOR --- */
.cursor {
  position: fixed;
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width .3s ease, height .3s ease, background .3s ease;
  mix-blend-mode: normal;
}
.cursor-ring {
  position: fixed;
  width: 36px; height: 36px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width .3s ease, height .3s ease, opacity .3s ease;
  opacity: .6;
}
 
/* --- NAV --- */
nav:not(.footer-legal) {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  background: rgb(var(--paper) / 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s ease;
  padding: 0 48px;
}
.nav-inner {
  max-width: 1200px;
  margin: auto;
  padding: 4px 0px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-logo {
  font-family: 'Space Mono', monospace;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--ink);
  text-transform: uppercase;
  text-decoration: none;
  opacity: .7;
  align-items: center;
  display: flex;
  gap: 20px;
}
.nav-logo-icon {
  width: 22px;
  height: 50px;
  border-radius: 3px;
}
.nav-links {
  display: flex;
  gap: 35px;
  list-style: none;
}
.nav-links a {
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  transition: color .2s;
  font-weight: 500;
}
.nav-links a:hover { color: var(--ink); }
 
/* --- HERO --- */
.hero {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 120px 48px 80px;
  position: relative;
  overflow: hidden;
  background: rgb(var(--paper));
}
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
canvas#ai {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  opacity: .25;
}
.hero-eyebrow {
  grid-column: 3;
  position: relative;
  height: 0;
  align-self: stretch;
  overflow: visible;
  writing-mode: vertical-rl;
  display: flex;
  justify-content: flex-start;
  align-items: center;  
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: .4;
  white-space: nowrap;
  z-index: 3;
  width: 20px;
  padding-left: 8px;
  margin-top: 28px;
}
.hero-number {
  position: absolute;
  top: 28px; left: 48px;
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .15em;
}
.hero-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 10px;
  align-items: flex-start;
  gap: 60px;
  position: relative;
  z-index: 2;
}
.hero-tag {
  font-family: 'Space Mono', monospace;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  display: block;
  white-space: pre-line;
}
h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(36px, 25vw, 42px);
  line-height: .98;
  letter-spacing: -0.5px;
  color: var(--ink);
  margin-bottom: 48px;
}
h1 em { font-style: normal; color: var(--blue); }
.hero-sub {
  margin-top: 48px;
  margin-bottom: 48px;
  max-width: 740px;
}
.hero-desc {
  margin-top: 32px;
  max-width: 740px;
}
.hero-desc p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted);
  white-space: pre-line;
}
.hero-desc-col { flex: 1; }
.hero-desc-label {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
  display: block;
}
.hero-desc-col p { font-size: 14px; line-height: 1.7; color: var(--muted); }
.hero-portrait {
  position: relative;
  margin-right: 0px;
  margin-top: 48px;
  z-index: 1;
}
.hero-portrait img {
  width: 320px;
  display: block;
  filter: grayscale(20%);
  border-radius: 4px;
}
.hero-portrait::before {
  content: '';
  position: absolute;
  top: -20px; left: -20px;
  width: 100%; height: 100%;
  border: 1px solid var(--accent);
  border-radius: 4px;
  opacity: .4;
}
 
/* --- HERO CTA --- */
.hero-cta-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr 10px;
  align-items: center;
  gap: 100px;
  position: relative;
  z-index: 2;
}
.hero-cta {
  margin: 0 0 48px 0;
}
.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Mono', monospace;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
  background: var(--accent);
  color: var(--ink);
  border: 1px solid var(--ink);
  padding: 14px 28px;
  border-radius: 2px;
  transition: background .2s, color .2s, border-color .2s;
}
.hero-cta-btn:hover {
  background: var(--ink);
  color: rgb(var(--paper));
}
.hero-cta-arrow {
  font-size: 16px;
  transition: transform .2s;
}
.hero-cta-btn:hover .hero-cta-arrow {
  transform: translate(2px, -2px);
}
.hero-accent {
  font-family: 'DM Serif Display', serif;
  font-size: 24px;
  font-style: normal;
  color: var(--blue);
  line-height: 1.3;
  border-left: 5px solid var(--accent);
  padding-left: 12px;
  margin: 36px 0 0 0;
}
.hero-accent em { font-style: italic; font-weight: 500; color: var(--ink); }

/* --- HERO STATS --- */
.hero-stat {
  display: flex;
  gap: 100px;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}
.hero-stat-num {
  font-family: 'DM Serif Display', serif;
  font-size: 42px;
  white-space: nowrap;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -2px;
}
.hero-stat-num span { font-size: 24px; color: var(--accent); }
.hero-stat-label { font-size: 14px; color: var(--muted); margin-top: 8px; letter-spacing: .05em; }
 
/* --- DIVIDER --- */
.divider {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  border: none;
  border-top: 1px solid var(--line);
}
 
/* --- SECTIONS --- */
section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 48px;
}
.section-label {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 56px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.section-label::after {
  content: '';
  flex: 1;
  max-width: 60px;
  height: 1px;
  background: var(--accent);
  opacity: .5;
}
h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(28px, 4vw, 36px);
  line-height: 1.1;
  letter-spacing: -1px;
  color: var(--ink);
  margin-bottom: 32px;
}
h3 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(24px, 4vw, 32px);
  line-height: 1.1;
  letter-spacing: -0.5px;
  color: var(--ink);
  margin-bottom: 32px;
}
h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(18px, 4vw, 22px);
  font-weight: 400;
  line-height: 1.5;
  color: var(--muted);
  margin-bottom: 32px;
}
h4 em { font-style: normal; font-weight: 600; letter-spacing: 0.01em; color: var(--blue); }
 
/* --- focus --- */
.focus-bg { background: var(--cream); }
.focus-bg section { padding-top: 100px; padding-bottom: 100px; }
.focus-bg .section-label { color: var(--accent); }
.focus-bg .section-label::after { background: var(--accent); }
.focus-bg h2 { color: rgb(var(--paper)); }
 
/* --- ANGEBOT: Subheadings --- */
.angebot-text p {
  font-size: 17px;
  line-height: 1.85;
  color: var(--muted);
  margin: 16px 0 32px;
}
.angebot-text ul { margin-bottom: 0px; margin-left: 40px;}
.angebot-text li { font-size: 17px; line-height: 1.5; color: var(--muted); margin-bottom: 8px; }
 
.angebot-h2 {
  font-family: 'DM Serif Display', serif;
  /*font-size: 32px;*/
  font-weight: 400;
  color: var(--blue);
  text-align: left;
  margin: 48px 0 24px;
  letter-spacing: -.3px;
}
.angebot-h2--ruled {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 28px;
}
.angebot-h2--ruled::before ,
.angebot-h2--ruled::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}
 
/* --- FOCUS CELL: Intro-Text statt Liste --- */
.focus-cell-intro {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 24px;
}
.focus-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  min-width: 0;
}
.focus-cell {
  background: rgb(var(--paper));
  padding: 36px 20px;
  transition: background .3s;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.focus-cell-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.focus-cell hr { margin: 24px 0px 16px; }
.focus-cell:hover { background: var(--cream); }
.focus-cell p {
  hyphens: auto;
  overflow-wrap: break-word;
  padding: 0px 0px;
}
.focus-cell h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 26px;
  font-weight: 400;
  color: var(--blue);
  margin-bottom: 20px;
  letter-spacing: -.3px;
  hyphens: auto;
  overflow-wrap: break-word;
  height: 3.2em; /* ca. 2–3 Zeilen */
}
.focus-cell.accent h3 { color: var(--accent); }
 
.focus-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.focus-list li {
  font-size: 14px;
  color: var(--muted);
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}
.focus-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 12px;
}
 
/* --- FOCUS TOOL TAGS --- */
.focus-body {
  height: 7em;
}
.focus-tags {
  min-height: 5em;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--accent);
}
.focus-tag {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 4px 10px;
  transition: color .2s, border-color .2s;
}
.focus-cell:hover .focus-tag {
  color: var(--ink);
  border-color: rgba(14,17,23,0.25);
}
.focus-cell.accent .focus-tag {
  color: var(--accent);
  border-color: rgba(200,169,110,0.3);
}
 
/* --- MANDATES --- */
.mandates-bg { background: var(--blue); }
.mandates-bg section { padding-top: 100px; padding-bottom: 100px; }
.mandates-bg .section-label { color: var(--accent); }
.mandates-bg .section-label::after { background: var(--accent); }
.mandates-bg h2 { color: rgb(var(--paper)); }
.mandates-bg h4 { color: rgb(var(--paper)); }
.mandates-bg p { 
  color: rgb(var(--paper));
  margin-bottom: 40px;
}
.mandates-body {
  height: 10em;
}
.mandates-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px;
  background: rgba(255,255,255,.08);
  border-radius: 4px;
  overflow: hidden;
}
.mandate-card {
  background: rgba(255,255,255,.04);
  padding: 44px 36px;
  border-bottom: 2px solid transparent;
  transition: background .3s, border-color .3s;
}
.mandate-card:hover { background: rgba(255,255,255,.08); border-bottom-color: var(--accent); }
.mandate-num {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  color: var(--accent);
  letter-spacing: .2em;
  margin-bottom: 28px;
  opacity: .7;
}
.mandate-card h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 24px;
  font-weight: 400;
  color: rgb(var(--paper));
  margin-bottom: 16px;
  letter-spacing: -.3px;
}
.mandate-card p { font-size: 14px; color: var(--cream); line-height: 1.7; margin-bottom: 16px; }
.mandate-tags {
  border-top: 1px solid rgba(255,255,255,0.25);
}
.mandate-badge {
  display: inline-block;
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  color: rgb(var(--paper));
  border: 1px solid var(--accent);
  padding: 8px 16px;
  border-radius: 2px;
  background-color: rgba(202, 164, 107, 0.08);
}
.mandate-badge:hover {
  background-color: var(--accent);
  color: rgb(var(--paper));
}
.mandate-accent {
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  font-style: normal;
  color: rgb(var(--paper));
  line-height: 1.3;
  border-left: 5px solid var(--accent);
  padding-left: 12px;
  margin: 64px 0 0 0;
}
.mandate-accent em { font-style: italic; font-weight: 500; color: var(--accent); }

/* --- PUBLICATIONS --- */
.pub-header {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;            /* mehr Abstand zwischen Titel und Link */
  margin-bottom: 1.5rem;
}
.pub-header h2 {
  margin: 0;
  line-height: 1.0;   /* statt 1.1 */
}
.subtle-link {
  font-size: 0.9rem;
  color: var(--accent-color); /* dein Blau */
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s ease;
  opacity: 0.6;
  line-height: 1;
  transform: translateY(-0.25em);
}
.subtle-link:hover {
  opacity: 1;
}
 
.pub-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.pub-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 36px;
  align-items: center;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}
.pub-item:hover .pub-title { color: var(--blue); }
.pub-year {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: .1em;
  min-width: 44px;
}
.pub-title {
  font-family: 'DM Serif Display', serif;
  font-size: 20px;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -.2px;
  transition: color .2s;
}
.pub-link {
  text-decoration: none;
  cursor: none;
}
.pub-link:hover { color: var(--blue); }
.pub-venue {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  text-align: right;
  white-space: nowrap;
}
 
/* --- PROFILE --- */
.profile-bg { background: var(--cream); }
 
/* Publikationen-Unterabschnitt innerhalb der Profil-Sektion */
.profile-divider--pubs {
  margin-top: 80px;
}
.profile-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin-top: 50px; }
.profile-text p { font-size: 17px; line-height: 1.85; color: var(--muted); margin-bottom: 20px; white-space: pre-line; }
.profile-text ul { margin-bottom: 40px; margin-left: 40px;}
.profile-text li { font-size: 17px; line-height: 1.1; color: var(--ink); margin-bottom: 12px; }
.profile-large li {
  font-family: 'DM Sans', sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 15px;
}
 
/* --- PROFILE CERTIFICATIONS --- */
.profile-certs-box {
  background: #f1efe9; /* mittleres Grau/Beige – an dein Theme anpassen */
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 20px 20px 16px 20px;
  margin-bottom: 10px;
}
.profile-certs {
  margin-bottom: 10px;
}
.profile-certs-label {
  font-family: 'Space Mono', monospace;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink);
  display: block;
  margin-bottom: 24px;
  opacity: .7;
}
.profile-cert-chip {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  color: var(--ink);
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 2px;
  margin-bottom: 8px;
  background: rgb(var(--paper));
  position: relative;
  padding-left: 28px;
  transition: border-color .2s, background .2s;
}
.profile-cert-chip::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}
.profile-cert-chip:hover {
  border-color: rgba(14,17,23,0.25);
  background: var(--cream);
}
 
/* --- CONTACT --- */
.contact-bg { background: var(--ink); }
.contact-bg section { padding-top: 120px; padding-bottom: 120px; }
.contact-inner {
  display: flex;
  justify-content: space-between;
  align-items: center; /*flex-start;*/
}
.contact-left .section-label { color: var(--accent); }
.contact-left .section-label::after { background: var(--accent); }
.contact-left h2 { color: rgb(var(--paper)); max-width: 600px; }
.contact-right {
  text-align: right;
  align-self: auto;
  transform: translateY(1.5em);
}
.contact-email {
  display: block;
  font-family: 'DM Serif Display', serif;
  font-size: clamp(42px, 2.5vw, 56px);
  font-style: italic;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: -.5px;
  transition: color .2s;
  margin-bottom: 12px;
  transform: translateY(0.2em);
}
.contact-email:hover { color: rgb(var(--paper)); }
.contact-sub {
  font-size: 12px;
  color: rgb(var(--paper) / 0.35);
  letter-spacing: .1em;
  text-transform: uppercase;
  font-family: 'Space Mono', monospace;
}
 
/* --- FOOTER --- */
footer {
  background: var(--ink);
  border-top: 1px solid rgb(var(--paper) / 0.2);
  padding: 28px 48px;
}
.footer-inner {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
footer p {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  color: rgb(var(--paper) / 0.3);
  letter-spacing: .1em;
}
 
/* --- REVEAL --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
 
/* --- LANGUAGE SWITCHER --- */
.nav-right {
  display: flex;
  align-items: center;
  gap: 40px;
}
 
.lang-switcher {
  display: flex;
  gap: 2px;
  align-items: center;
}
 
.lang-switcher a,
.lang-switcher span {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  padding: 4px 8px;
  border: 1px solid transparent;
  border-radius: 2px;
  transition: all 0.2s;
}
 
.lang-switcher a:hover {
  color: var(--ink);
  border-color: var(--line);
}
 
.lang-switcher .current-lang,
.lang-switcher span.current-lang a {
  color: var(--accent);
  border-color: var(--accent);
  opacity: 1;
}
 
/* Polylang outputs <li> directly without <ul> */
.lang-switcher,
.lang-switcher li {
  list-style: none !important;
  list-style-type: none !important;
  margin: 0; 
  padding: 0;
}
 
.lang-switcher li {
  display: inline-flex;
  align-items: center;
}
 
.lang-switcher li + li::before {
  content: '·';
  color: var(--muted);
  opacity: 0.4;
  font-size: 12px;
  margin: 0 2px;
}
 
.lang-switcher li a {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  padding: 4px 6px;
  border: 1px solid transparent;
  border-radius: 2px;
  transition: all 0.2s;
  display: block;
}
 
.lang-switcher li a:hover { color: var(--ink); border-color: var(--line); }
.lang-switcher li.current-lang a { color: var(--accent); border-color: var(--accent); }
 
/* --- FOOTER LEGAL LINKS --- */
.footer-legal {
  display: flex;
  gap: 24px;
}
 
.footer-legal a {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  color: rgb(var(--paper) / 0.6) !important;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s;
}
 
.footer-legal a:hover {
  color: var(--accent) !important;
}
 
/* --- LEGAL PAGE --- */
.legal-page {
  min-height: 100vh;
  padding-top: 120px;
  background: rgb(var(--paper));
}
 
.legal-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 48px 120px;
}
 
.legal-back {
  margin-bottom: 48px;
}
 
.legal-back a {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
 
.legal-back a:hover { color: var(--accent); }
 
.legal-content h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: -1px;
  color: var(--ink);
  margin-bottom: 48px;
  line-height: 1.1;
}
 
.legal-body {
  font-size: 16px;
  line-height: 1.85;
  color: var(--muted);
}
 
.legal-body h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 32px;
  color: var(--ink);
  margin: 48px 0 16px;
  letter-spacing: -0.3px;
  hyphens: auto;
}
 
.legal-body h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  margin: 32px 0 16px;
  letter-spacing: 0px;
  hyphens: auto;
}
.legal-body ul li {
  margin-bottom: 16px;
}
.legal-body p { margin-bottom: 16px; }
 
.legal-body a {
  color: var(--blue);
  text-decoration: none;
  border-bottom: 1px solid rgba(26,58,107,0.3);
  transition: border-color 0.2s;
}
 
.legal-body a:hover { border-color: var(--blue); }
 
/* --- LINKEDIN --- */
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 6px;
    transition: background 0.3s ease;
}
 
.social-icon svg {
    fill: #0A66C2;
    width: 22px;
    height: 22px;
}
 
.social-icon:hover {
    background: #0A66C2;
}
 
.social-icon:hover svg {
    fill: white;
}
 
.contact-linkedin {
  display: block;
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgb(var(--paper) / 0.5);
  text-decoration: none;
  margin-top: 14px;
  transition: color .2s;
}
 
.contact-linkedin:hover {
  color: var(--accent);
}
 
/* ═══════════════════════════════════════════
   MOBILE NAVIGATION (Hamburger)
   ═══════════════════════════════════════════ */
 
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: none;
  padding: 0;
  z-index: 600;
}
 
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}
 
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
 
/* ═══════════════════════════════════════════
   ACCESSIBILITY – Skip Navigation
   ═══════════════════════════════════════════ */
 
.skip-nav {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--ink);
  color: rgb(var(--paper));
  padding: 8px 16px;
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-decoration: none;
  z-index: 9999;
  border-radius: 0 0 4px 4px;
  transition: top 0.2s;
}
 
.skip-nav:focus {
  top: 0;
}
 
/* ═══════════════════════════════════════════
   ACCESSIBILITY – Focus styles
   ═══════════════════════════════════════════ */
 
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}
 
/* Suppress focus ring for mouse users */
:focus:not(:focus-visible) {
  outline: none;
}

/* ═══════════════════════════════════════════
   MOBILE – zusätzliche Breakpoints
   ═══════════════════════════════════════════ */
@media (max-width: 900px) {
  nav:not(.footer-legal) { padding: 0 20px; }
  .legal-inner { padding: 40px 24px 80px; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
  .footer-legal { justify-content: center; }
  .nav-right { gap: 16px; }
  .lang-switcher { display: flex; }
  .hero { padding: 0 24px 64px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-portrait { display: none; }
  .hero-eyebrow { display: none; }
  .focus-grid { grid-template-columns: 1fr; }
  .situation-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; gap: 24px; }
  .step-arrow { display: none; }
  .mandates-grid { grid-template-columns: 1fr; }
  .profile-inner { grid-template-columns: 1fr; gap: 48px; }
  .profile-text p {
    color: #1c1a18;
    font-weight: 600;
    line-height: 1.5;
  }
  .profile-text li {
    color: #1c1a18;
    line-height: 1.5;
    font-weight: 600;
  }
  .contact-inner { flex-direction: column; gap: 48px; align-items: flex-start; }
  .contact-right { text-align: left; }
  h1 { font-size: 52px; }
  h4 { font-size: 24px; font-weight: 600; line-height: 1.5; color: #1f1d1b; }
  section { padding: 72px 24px; }
  .pub-item { grid-template-columns: 1fr; gap: 8px; }
  .pub-venue { text-align: left; }
  .nav-hamburger { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h); left: 0; right: 0; bottom: 0;
    background: rgb(var(--paper));
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 4px;
    gap: 12px;
    z-index: 490;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links li a {
    font-size: 24px;
    letter-spacing: 0.15em;
  }
}
@media (max-width: 600px) {
  h1 { font-size: 42px; letter-spacing: -1px; }
  .hero { padding: 80px 20px 48px; }
  .hero-desc { flex-direction: column; gap: 24px; }
  section { padding: 56px 20px; }
  nav:not(.footer-legal) { padding: 0 20px; }
  .focus-grid { grid-template-columns: 1fr; }
  .situation-grid { grid-template-columns: 1fr; }
  .steps-grid { padding: 28px 20px; }
  .angebot-h2 { font-size: 26px; margin: 56px 0 32px; }
  .mandate-card { padding: 28px 20px; }
  .pub-item { grid-template-columns: 1fr; gap: 6px; }
  .contact-email { font-size: clamp(28px, 5vw, 36px); }
  .profile-inner { gap: 32px; }
  .footer-inner { padding: 24px 20px; }
  .legal-inner { padding: 32px 20px 60px; }
  .pub-header { flex-direction: column; align-items: flex-start; gap: 0.3rem; }
}
 
/* ═══════════════════════════════════════════
   ACCESSIBILITY – prefers-reduced-motion
   ═══════════════════════════════════════════ */
 
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
 
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
 
  canvas#ai { display: none; }
 
  .cursor, .cursor-ring { display: none; }
}