/* Grundlayout */
body {
  margin: 0;
  font-family: "Source Sans Pro", sans-serif;
  background: #0e0e0e;
  color: #f2f2f2;
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Überschriften */
h1,
h2,
h3 {
  font-family: "Playfair Display", serif;
  font-weight: 400;
  margin: 0 0 15px 0;
  color: #ffffff;
  line-height: 1.3;
}

h1 {
  font-size: 2.4rem;
  letter-spacing: 1px;
}
h2 {
  font-size: 1.6rem;
  letter-spacing: 0.5px;
}
h3 {
  font-size: 1.6rem;
  letter-spacing: 0.5px;
}

.hero {
  display: flex;
  flex-direction: row; /* nebeneinander statt übereinander */
  align-items: center; /* vertikal zentrieren */
  justify-content: space-between; /* Abstand zwischen Text & Bild */
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 20px;
  gap: 60px;
  text-align: left; /* Text linksbündig */
}

.hero-text {
  flex: 1; /* Text nimmt verfügbaren Platz ein */
}

.hero-image {
  flex: 0 0 280px; /* Bild behält feste Breite */
}

.hero-image img {
  width: 100%; /* Bild passt in Container */
  border-radius: 4px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

/* Responsive Anpassung */
@media (max-width: 768px) {
  .hero {
    flex-direction: column; /* auf Mobilgerät untereinander */
    text-align: center;
  }

  .hero-image {
    flex: 0 0 auto;
    width: 180px;
  }
}

/* Sektionen */
section {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 20px;
  border-top: 1px solid #222;
}

/* CV Sektion */
.cv-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 30px;
}

.cv-download {
  font-size: 1.2rem;
  text-decoration: none;
  color: #8ab4f8;
}

.cv-item {
  display: flex;
  gap: 30px;
  margin-bottom: 25px;
}

.cv-year {
  min-width: 110px;
  color: #aaa;
}

.cv-desc {
  color: #ddd;
}

/* Akademischer Hintergrund */
.edu-list {
  list-style: none;
  padding-left: 0;
}

.edu-list li {
  margin-bottom: 15px;
  color: #ddd;
}

/* Links */
a {
  color: #8ab4f8;
  text-decoration: none;
  font-size: 2.8rem;
}

a:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  text-align: center;
  padding: 30px;
  color: #888;
  border-top: 1px solid #222;
}

/* Button (z. B. Hero CTA) */
.btn {
  background: #8ab4f8;
  color: #0e0e0e;
  padding: 12px 24px;
  text-decoration: none;
  margin-top: 20px;
  border-radius: 5px;
  font-weight: 500;
  transition: 0.3s;
}

.btn:hover {
  background: #66a3f0;
}

#email-link {
  font-size: 1rem;
  font-weight: normal;
  color: #8ab4f8;
  text-decoration: none;
}

#email-link:hover {
  text-decoration: underline;
}

/* Slide-Down Container initial versteckt */
#impressum-slide {
  position: fixed;
  top: -100%; /* Start außerhalb des Bildschirms */
  left: 0;
  width: 100%;
  background: #0e0e0e;
  color: #f2f2f2;
  padding: 40px 20px;
  overflow-y: auto;
  max-height: 100vh;
  z-index: 9999;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
  transition: top 0.5s ease; /* Smooth Slide */
}

/* Slide sichtbar */
#impressum-slide.active {
  top: 0;
}

/* Innerer Container */
.impressum-inner {
  max-width: 900px;
  margin: auto;
}

/* Überschrift normalisieren */
.impressum-inner h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.6rem; /* normal große Überschrift */
  font-weight: 400;
  margin-bottom: 20px;
}

/* Links */
#impressum-slide a {
  color: #8ab4f8;
  text-decoration: none;
}

#impressum-slide a:hover {
  text-decoration: underline;
}

/* Schließen Button */
.impressum-close {
  margin-top: 30px;
  padding: 10px 20px;
  background: #8ab4f8;
  color: #0e0e0e;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  transition: 0.3s;
}

.impressum-close:hover {
  background: #66a3f0;
}

/* Footer-Link normalisieren */
footer a {
  font-size: 1rem;
  font-weight: normal;
  color: #8ab4f8;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  #impressum-slide {
    padding: 30px 15px;
  }
}
