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

:root {
  --ink: #0e1117;
  --paper: #f7f5f0;
  --cream: #ede9e1;
  --blue: #1a3a6b;
  --accent: #c8a96e;
  --muted: #7a7670;
  --line: rgba(14,17,23,0.1);
  --nav-h: 81px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
  cursor: none;
}

ul, ol {
  margin: 0;
  padding-left: 36px; /* steuert EINRÜCKUNG für beide */
  /* margin-bottom: 32px; */
}
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: rgba(247, 245, 240, 0.85);  /* var(--paper) mit Transparenz */
  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: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center; /*flex-end;*/
  padding: 120px 48px 80px;
  position: relative;
  overflow: hidden;
  background: var(--paper);
}
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
canvas#ai {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  opacity: .25;
}
.hero-eyebrow {
  position: absolute;
  top: 50%;
  right: -20px;
  transform: translateY(-60%) rotate(90deg);
  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;
}
.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;
  align-items: flex-start;
  gap: 80px;
  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, 48px);
  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: 40px;
  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 {
  margin-top: 48px;
}
.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  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: var(--paper);
}
.hero-cta-arrow {
  font-size: 16px;
  transition: transform .2s;
}
.hero-cta-btn:hover .hero-cta-arrow {
  transform: translate(2px, -2px);
}

/* --- 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(32px, 4vw, 40px);
  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, 36px);
  line-height: 1.1;
  letter-spacing: -1px;
  color: var(--ink);
  margin-bottom: 32px;
}
h4 {
  font-family: 'Inter', 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: 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.85; color: var(--muted); margin-bottom: 0px; }

.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);
}

/* --- SITUATIONEN GRID --- */
.situation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  margin-bottom: 0;
}
.situation-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 40px 36px;
  text-align: center;
  transition: box-shadow .25s;
}
.situation-card:hover { box-shadow: 0 4px 24px rgba(14,17,23,.06); }
.situation-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.situation-icon svg { width: 32px; height: 32px; }
.situation-icon--alert { background: rgba(180,50,40,.08); color: #b43228; }
.situation-icon--check { background: rgba(26,58,107,.08); color: var(--blue); }
.situation-icon--org   { background: rgba(200,169,110,.12); color: #8a6e3a; }
.situation-card h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 20px;
  font-weight: 400;
  color: var(--blue);
  margin-bottom: 12px;
  line-height: 1.3;
}
.situation-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

/* --- STEPS GRID --- */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0 16px;
  align-items: start;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 40px 36px;
}
.step-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.step-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26,58,107,.07);
  border-radius: 50%;
  margin-bottom: 16px;
  color: var(--blue);
  flex-shrink: 0;
}
.step-icon svg { width: 22px; height: 22px; }
.step-card h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 20px;
  font-weight: 400;
  color: var(--blue);
  margin-bottom: 10px;
  line-height: 1.25;
}
.step-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}
.step-arrow {
  font-size: 20px;
  color: var(--accent);
  opacity: .6;
  letter-spacing: -4px;
  padding-top: 12px;
  align-self: flex-start;
}

/* --- FOCUS CELL: Intro-Text statt Liste --- */
.focus-cell-intro {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 24px;
}
/*section#focus {
  background: var(--cream);
}*/
.focus-grid {
  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: 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;
}
.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(--line);
}
.focus-tag {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  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);
}

/* --- EXPERIENCE --- */
.experience-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}
.experience-aside { padding-top: 8px; }
.experience-badge {
  display: inline-block;
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--blue);
  border: 1px solid var(--blue);
  padding: 8px 16px;
  border-radius: 2px;
  margin-bottom: 24px;
  opacity: .6;
}
.experience-aside p { font-size: 14px; color: var(--muted); line-height: 1.8; }
.experience-content p { font-size: 18px; line-height: 1.8; color: var(--muted); max-width: 560px; }
.experience-stat {
  margin-top: 32px;
  display: flex;
  gap: 80px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}
.experience-stat-num {
  font-family: 'DM Serif Display', serif;
  font-size: 48px;
  white-space: nowrap;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -2px;
}
.experience-stat-num span { font-size: 24px; color: var(--accent); }
.experience-stat-label { font-size: 14px; color: var(--muted); margin-top: 8px; letter-spacing: .05em; }

/* --- 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: var(--paper); }
.mandates-bg p { 
  color: var(--paper);
  margin-bottom: 60px;
}

.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: 22px;
  font-weight: 400;
  color: var(--paper);
  margin-bottom: 16px;
  letter-spacing: -.3px;
}
.mandate-card p { font-size: 14px; color: rgba(247,245,240,.5); line-height: 1.7; }

.mandate-badge {
  display: inline-block;
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;

  color: var(--paper);
  border: 1px solid var(--accent);

  padding: 8px 16px;
  border-radius: 2px;
  margin-bottom: 24px;

  background-color: rgba(202, 164, 107, 0.08);
}
.mandate-badge:hover {
  background-color: var(--accent);
  color: var(--paper);
}

/* --- 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: 11px;
  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: 11px;
  font-weight: 500;
  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-accent {
  font-family: 'DM Serif Display', serif;
  font-size: 26px;
  font-style: italic;
  color: var(--blue);
  line-height: 1.3;
  border-left: 3px solid var(--accent);
  padding-left: 28px;
  margin-top: 48px;
}
.profile-large li {
  font-family: 'Inter', 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: 18px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 16px;
  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: 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);
}
.profile-cert-chip--faded {
  opacity: 0.75;
}

/* --- 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: var(--paper); max-width: 600px; }
.contact-right {
  text-align: right;
  align-self: auto; /*flex-start;*/
  transform: translateY(1.5em);
  /*transform: translateY(20px);  optischer Ausgleich */ /*padding-top: 0px;*/
}
.contact-email {
  display: block;
  font-family: 'DM Serif Display', serif;
  font-size: clamp(42px, 2.5vw, 56px);
  font-style: italic;
  color: var(--paper);
  text-decoration: none;
  letter-spacing: -.5px;
  transition: color .2s;
  margin-bottom: 12px;
  transform: translateY(0.2em);
}
.contact-email:hover { color: var(--accent); }
.contact-sub {
  font-size: 12px;
  color: rgba(247,245,240,.35);
  letter-spacing: .1em;
  text-transform: uppercase;
  font-family: 'Space Mono', monospace;
}

/* --- FOOTER --- */
footer {
  background: var(--ink);
  border-top: 1px solid rgba(255,255,255,.07);
  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: rgba(247,245,240,.25);
  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); }

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-portrait { 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; }
  .experience-inner { grid-template-columns: 1fr; gap: 40px; }
  .mandates-grid { grid-template-columns: 1fr; }
  .profile-inner { grid-template-columns: 1fr; gap: 48px; }
  .contact-inner { flex-direction: column; gap: 48px; align-items: flex-start; }
  .contact-right { text-align: left; }
  h1 { font-size: 52px; }
  .hero { padding: 0 24px 64px; }
  section { padding: 72px 24px; }
  .pub-item { grid-template-columns: 1fr; gap: 8px; }
  .pub-venue { text-align: left; }
}

/* --- 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); }

@media (max-width: 900px) {
  .nav-right { gap: 16px; }
  .lang-switcher { display: flex; }
}

/* --- FOOTER LEGAL LINKS --- */
.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  color: rgba(247,245,240,0.35) !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: var(--paper);
}

.legal-inner {
  max-width: 800px;
  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: 24px;
  color: var(--ink);
  margin: 48px 0 16px;
  letter-spacing: -0.3px;
}

.legal-body h3 {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  margin: 32px 0 8px;
}

.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); }

@media (max-width: 900px) {
  .legal-inner { padding: 40px 24px 80px; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
  .footer-legal { justify-content: center; }
}

/* --- 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: rgba(247,245,240,.5);
  text-decoration: none;
  margin-top: 14px;
  transition: color .2s;
}

.contact-linkedin:hover {
  color: var(--accent);
}

.footer-linkedin {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  color: rgba(247,245,240,.35);
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
  margin-left: 24px;
  transition: color .2s;
}

.footer-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); }

@media (max-width: 900px) {
  .nav-hamburger { display: flex; }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h); left: 0; right: 0; bottom: 0;
    background: 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;
  }
}

/* ═══════════════════════════════════════════
   MOBILE – zusätzliche Breakpoints
   ═══════════════════════════════════════════ */
@media (max-width: 900px) {
  nav:not(.footer-legal) { padding: 0 20px; }
}
@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(18px, 5vw, 28px); }
  .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; }
}

/* ═══════════════════════════════════════════
   ACCESSIBILITY – Skip Navigation
   ═══════════════════════════════════════════ */

.skip-nav {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--ink);
  color: 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;
}
