/* ── Reset & base ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg:          #eef2f3;
  --bg-alt:      #eef2f3;
  --text:        #202020;
  --text-muted:  #202020;
  --accent:      #a4b278;
  --accent-hover:#808a61;
  --border:      #21282e;
  --radius:      6px;
  --max-width:   100%;
  --header-h:    56px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

/* ── Typography ── */
h1, h2, h3 {
  line-height: 1.25;
  font-weight: 600;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

/* ── Header / Nav ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-alt);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  height: var(--header-h);
}

.nav-inner {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 3rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.nav-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  letter-spacing: -0.01em;
}

.nav-name:hover {
  color: var(--accent);
  text-decoration: none;
}

.nav-links {
  list-style: none;
  display: flex;
  width: 100%;
  justify-content: space-between;
}

.nav-links a {
  font-size: 0.875rem;
  color: var(--text);
  font-weight: 700;
  transition: color 0.15s;
}

.nav-links a:hover {
  color: var(--accent);
  text-decoration: none;
}

/* ── Sections ── */
.section {
  padding: 5rem 3rem;
}

.section-alt {
  background: var(--bg-alt);
}

.section-inner {
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
}


/* ── About ── */
#about {
  background: linear-gradient(135deg, #eef2f3 0%, #cdd8db 100%);
  padding-top: 1rem;
  padding-bottom: 0;
  padding-left: 0;
}

.about-grid {
  max-width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 3rem;
  align-items: flex-end;
}

.about-photo-wrap {
  overflow: hidden;
  margin-left: -5rem;
}

.avatar {
  width: 100%;
  height: 110%;        /* etwas größer = Spielraum für Parallax */
  object-fit: cover;
  object-position: center top;
  display: block;
  will-change: transform;
}

.about-name {
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
  text-align: right;
}

.about-role {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  text-align: right;
}

.about-affiliation {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.about-bio p {
  color: var(--text);
  font-size: 0.9375rem;
  margin-bottom: 0.875rem;
  text-align: justify;
}

.about-bio p:last-child {
  margin-bottom: 0;
}

/* ── Hero logo ── */
.hero-logo {
  display: block;
  width: 30%;
  height: auto;
  margin: 0 0 1.5rem auto; /* auto links schiebt es nach rechts */
}

/* ── Social icon links ── */
.about-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  justify-content: right;
}

.icon-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.3rem 0.7rem;
  transition: color 0.15s, border-color 0.15s;
}

.icon-link svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.icon-link:hover {
  color: var(--accent);
  border-color: var(--accent);
  text-decoration: none;
}

/* ── Publications ── */

.pub-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pub-item {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}

.pub-item:first-child {
  border-top: 1px solid var(--border);
}

.pub-authors {
  font-size: 0.8125rem;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.pub-title {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--accent);
  line-height: 1.4;
  margin-bottom: 0.25rem;
}

.pub-title:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

.pub-title-text {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 0.25rem;
}

.pub-venue {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-style: italic;
}

.pub-doi {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-left: 0.5rem;
}

.pub-loading,
.pub-error,
.pub-empty {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 1rem 0;
}


#pub-list {
  padding-left: calc(100% * 2 / 5 + 0.9rem);
}


.pub-actions {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.pub-btn {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.15rem 0.5rem;
  transition: color 0.15s, border-color 0.15s;
}

.pub-btn:hover {
  color: var(--accent);
  border-color: var(--accent);
  text-decoration: none;
}


#publication-title {
  padding-left: calc(100% * 2 / 5 + 0.9rem);
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}




/* ── Contact ── */

#contact {
  background: linear-gradient(135deg, #eef2f3 0%, #cdd8db 100%);
  
}

#contact-title {
  
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.contact-intro {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
}

.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-list li {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  font-size: 0.9375rem;
}

.contact-label {
  min-width: 140px;
  font-weight: 500;
  color: var(--text-muted);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

/* ── Footer ── */
.site-footer {
  padding: 1.5rem;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ── Scroll / hero animations ── */
.anim-hidden {
  opacity: 0;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.7s ease;
}

.anim-hidden.from-bottom    { transform: translateY(60px); }
.anim-hidden.from-bottom-sm { transform: translateY(30px); }
.anim-hidden.from-left      { transform: translateX(-20px); }

.anim-visible {
  opacity: 1 !important;
  transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .anim-hidden {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ── Responsive ── */
@media (max-width: 600px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .avatar {
    max-width: 320px;
    margin: 0 auto;
  }

.about-text {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

  .about-bio {
    text-align: left;
  }

  .nav-links {
    gap: 1rem;
  }

  .section {
    padding: 3.5rem 1.25rem;
  }

  .contact-list li {
    flex-direction: column;
    gap: 0.2rem;
  }
}
