/* Grundlayout */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "EB Garamond", "Garamond", "Georgia", "Times New Roman", serif;
  background: #ffffff;
  color: #111;
  line-height: 1.6;
  scroll-behavior: smooth;
}

a {
  color: #b48a2c;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.page {
  width: 100%;
  padding: 4rem 1.5rem;
}

.inner {
  max-width: 720px;
  margin: 0 auto;
}

/* Hero */
.page--hero {
  padding-top: 6rem;
  padding-bottom: 6rem;
  text-align: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.25rem;
  font-size: 0.75rem;
  color: #444;
}

.title {
  font-size: clamp(2.8rem, 6vw, 3.6rem);
  margin: 1.5rem 0 1rem;
  line-height: 1.05;
}

.lead {
  font-size: 1.4rem;
  max-width: 32rem;
  margin: 0 auto 2rem;
  color: #333;
}

.btn {
  display: inline-block;
  background: #111;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-size: 0.9rem;
}

.btn:hover {
  background: #333;
}

/* Textbereiche */
.text h2 {
  font-size: 2rem;
  margin-bottom: 1.2rem;
}

.text p {
  margin-bottom: 1.2rem;
  font-size: 1.2rem;
}

.project {
  margin-bottom: 2rem;
  border-left: 3px solid #eee;
  padding-left: 1rem;
}

.project h3 {
  margin-bottom: 0.3rem;
  font-size: 1.3rem;
}

.highlight {
  font-size: 1.1rem;
  font-weight: 600;
}

.small {
  font-size: 0.85rem;
  color: #555;
}

/* Footer */
.page--footer {
  text-align: center;
  padding-top: 2rem;
  padding-bottom: 2rem;
  border-top: 1px solid #eee;
}

.page--footer .small a {
  color: #999;
}

@media (max-width: 540px) {
  .page {
    padding: 3rem 1rem;
  }
  .project {
    border-left: none;
    border-top: 1px solid #f2f2f2;
    padding-top: 1rem;
  }
}

.hero-img {
  display: block;
  max-width: 180px;        /* Größe kannst du anpassen */
  margin: 2rem auto 0;
  border-radius: 999px;    /* rundes Porträt */
  border: 3px solid #f5f5f5;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Fades beim Scrollen */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.2s ease, transform 1.2s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
