/* Reset und Grundeinstellungen */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --background-color: #EDC9D3;
  --nav-color: #ffffff;
  --heading-color: #000000;
}

@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:ital,wght@0,400..700;1,400..700&family=Jost:ital,wght@0,100..900;1,100..900&family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Signika:wght@300..700&family=Stack+Sans+Text:wght@200..700&display=swap');

html {
  scroll-padding-top: 80px;
}

body {
  /*font-family: 'Roboto Mono', monospace;
  /*font-family: "Jost", sans-serif;*/
  /*font-family: "Instrument Sans", sans-serif;*/
  font-family: "Noto Sans", sans-serif;
  /*font-family: "Playfair Display", serif;*/
  line-height: 1.6;
  color: #333;
  background: var(--background-color);
}

strong, b, 
h1, h2, h3, h4, h5, h6 {
  color: var(--heading-color);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--nav-color);
  z-index: 1000;
  padding: 1rem 2rem;
  border-bottom: 0.000001px solid #000000a6;
}

.nav-container {
  display: flex;
  align-items: center;
  position: relative;
}

.nav-brand {
  text-decoration: none;
  color: #333;
  font-size: 1.2rem;
  font-weight: 500;
  transition: color 0.3s ease;
  position: absolute;
  left: 0;
}

.nav-brand:hover {
  color: #666;
}

.nav-links {
  display: flex;
  gap: 3rem;
  margin: 0 auto;
}

.nav-link {
  text-decoration: none;
  color: #333;
  font-size: 1rem;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #333;
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: #666;
}

.nav-link:hover::after {
  width: 100%;
}

/* Main Content */
.main-content {
  margin-top: 80px; /* Platz für fixed navbar */
}

/* About Section */
.about-section {
  padding: 1rem 0 2rem;
  text-align: left;
  width: 100%;
  animation: fadeIn 0.8s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.about-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 1rem 2rem 1rem 2rem;
  background: var(--nav-color);
}

/* Large logo like "studio" */
.large-logo {
  font-size: 3rem;
  font-weight: 700;
  padding-top: 0.5rem;
  color: var(--heading-color);
  margin: 0 0 1.5rem 0;
  letter-spacing: -2px;
  line-height: 1;
}

/* Hero row with image and info */
.hero-row {
  display: grid;
  grid-template-columns: 592px 1fr;
  gap: 3rem;
  margin-bottom: 1.5rem;
  align-items: start;
}

.profile-image {
  width: 50%;
  height: auto;
  object-fit: cover;
  border-radius: 2px;
}

.hero-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 0.5rem;
  margin-left: -200px;
}

.hero-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--heading-color);
  margin: 0;
  letter-spacing: -1px;
  line-height: 1;
}

.hero-contact {
  font-size: 1.2rem;
  color: #333;
  margin: 0;
  letter-spacing: -0.5px;
}

.hero-contact a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.hero-contact a:hover {
  opacity: 0.6;
  text-decoration: underline;
}

/* About text content */
.about-text-content {
  margin-left: 280px;
  padding-left: 3rem;
  margin-top: -20rem;
}

.about-text-content p {
  font-size: 1rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 1.5rem;
  font-weight: 400;
  letter-spacing: -0.5px;
}


.about-text-content a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.about-text-content a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: currentColor;
  transition: width 0.3s ease;
}

.about-text-content a:hover {
  opacity: 0.8;
}

.about-text-content a:hover::after {
  width: 100%;
}

/* Publications Section */
.publications-section {
  padding: 2rem 0 2rem;
  animation: fadeIn 0.8s ease-in;
}

.publications-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  padding: 1rem 2rem 1rem 2rem;
  background: var(--nav-color);
}

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  letter-spacing: -1px;
  line-height: 1;
}

.publications-list {
  padding: 0;
}

.year-group {
  margin-bottom: 3rem;
}

.year-title {
  font-size: 1.2rem;
  font-weight: normal;
  color: #333;
  margin-bottom: 1.5rem;
  margin-top: 0;
  letter-spacing: -0.5px;
}

.publication-item {
  margin-bottom: 0.5rem;
}

.publication-link {
  display: grid;
  grid-template-columns: 1fr 100px 30px;
  gap: 2rem;
  align-items: center;
  text-decoration: none;
  color: inherit;
  padding: 0.5rem 0;
  transition: all 0.3s ease;
  position: relative;
}

.publication-link:hover {
  opacity: 0.7;
  transform: translateX(5px);
}

.publication-link:hover .publication-title {
  text-decoration: underline;
}

.publication-title {
  font-size: 1rem;
  font-weight: normal;
  line-height: 1.4;
  color: #333;
  letter-spacing: -0.5px;
}

.publication-source {
  font-size: 1rem;
  color: #666;
  white-space: nowrap;
  letter-spacing: -0.5px;
}

.publication-date {
  font-size: 1rem;
  color: #666;
  white-space: nowrap;
  text-align: center;
}

.publication-meta {
  font-size: 1rem;
  color: #666;
  white-space: nowrap;
}

.publication-arrow {
  font-size: 1.2rem;
  color: #666;
  transition: transform 0.3s ease;
  justify-self: end;
}

.publication-link:hover .publication-arrow {
  transform: translateX(5px);
}

/* Contact Section */
.contact-section {
  padding: 4rem 0 4rem;
  text-align: center;
  background: var(--nav-color);
}

.contact-section .section-title {
  margin-bottom: 1rem;
}

.contact-info a {
  text-decoration: none;
  color: #333;
  font-size: 1.1rem;
  transition: color 0.3s ease;
  letter-spacing: -0.5px;
}

.contact-info a:hover {
  color: #666;
  text-decoration: underline;
}

/* Impressum Section */
.impressum-section {
  padding: 4rem 0;
  text-align: left;
  max-width: 1000px;
  margin: 0 auto;
}

.impressum-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
}

.impressum-content p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.impressum-content a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.impressum-content a:hover {
  opacity: 0.7;
  text-decoration: underline;
}

/* Footer */
.footer {
  padding: 2rem 0;
  text-align: center;
  background: var(--nav-color);
  border-top: 1px solid #eee;
}

.footer-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-link {
  text-decoration: none;
  color: #666;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #333;
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1100px) {
  .large-logo {
    font-size: 2rem;
  }
  
  .hero-row {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
  }
  
  .profile-image {
    width: 100%;
    max-width: 300px;
  }
  
  .hero-info {
    margin-left: 0;
  }
  
  .about-text-content {
    margin-top: 2rem;
    margin-left: 0;
    padding-left: 0;
  }
}

@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    gap: 1rem;
    padding: 0 1rem;
  }
  
  .nav-brand {
    font-size: 1.1rem;
    position: static;
  }
  
  .nav-links {
    gap: 2rem;
    margin: 0;
  }
  
  .nav-link {
    font-size: 0.9rem;
  }
  
  .main-content {
    padding: 0;
    margin-top: 120px;
  }
  
  .about-section {
    padding-top: 1rem;
  }
  
  .large-logo {
    font-size: 3rem;
    margin-bottom: 2rem;
  }
  
  .profile-image {
    max-width: 250px;
  }
  
  .hero-title {
    font-size: 1.3rem;
  }
  
  .about-text-content p {
    font-size: 0.95rem;
  }
  
  .section-title {
    font-size: 1.3rem;
  }
  
  .publication-title {
    font-size: 0.9rem;
  }
  
  .publication-source {
    font-size: 0.9rem;
  }
  
  .publication-link {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding: 0.8rem 0;
  }
  
  .publication-arrow {
    display: none;
  }
  
}

@media (max-width: 480px) {
  .nav-container {
    gap: 1.5rem;
  }
  
  .large-logo {
    font-size: 2.5rem;
  }
  
  .profile-image {
    max-width: 200px;
  }
  
  .hero-title {
    font-size: 1.2rem;
  }
  
  .about-content {
    padding: 0 1.5rem;
  }
  
  .about-text-content p {
    font-size: 0.9rem;
  }
  
  .publication-title {
    font-size: 0.8rem;
  }
  
  .publication-source {
    font-size: 0.8rem;
  }
}