/* ========== Self-hosted fonts ========== */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(85c128721035823e5405.woff2) format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(da6143a97b8ed2ae857b.woff2) format('woff2');
}
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(68bde7ec05b4d942f07f.woff2) format('woff2');
}
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(c20532f35fcc50e858ad.woff2) format('woff2');
}
/* ========== Design tokens ========== */
* {
  box-sizing: border-box;
}
html {
  font-size: 10px;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: 'Inter', "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.5rem;
  line-height: 1.6;
  color: #2D2926;
  background-color: #FAF8F5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
a {
  text-decoration: none;
}
.hidden {
  display: none !important;
}
/* ========== Layout: single column ========== */
.main {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.main-content {
  flex: 1;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}
/* ========== Sticky header ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 5000;
  background-color: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid #E0DAD4;
}
.site-header-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
}
.site-name {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #2D2926;
  font-family: 'Lora', Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
  font-weight: 600;
  transition: color 0.2s ease;
  -webkit-transition: color 0.2s ease;
  -moz-transition: color 0.2s ease;
  -o-transition: color 0.2s ease;
}
.site-name:hover {
  color: #5C8A7A;
}
/* Hamburger: visible on mobile */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  transition: opacity 0.2s ease;
  -webkit-transition: opacity 0.2s ease;
  -moz-transition: opacity 0.2s ease;
  -o-transition: opacity 0.2s ease;
}
.nav-toggle:hover {
  opacity: 0.7;
}
.nav-toggle .nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #2D2926;
  transition: transform 0.25s ease, opacity 0.25s ease;
  -webkit-transition: transform 0.25s ease, opacity 0.25s ease;
  -moz-transition: transform 0.25s ease, opacity 0.25s ease;
  -o-transition: transform 0.25s ease, opacity 0.25s ease;
}
body.nav-open .nav-toggle .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
body.nav-open .nav-toggle .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
body.nav-open .nav-toggle .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.nav-inline {
  display: none;
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4999;
  background-color: #FAF8F5;
  flex-direction: column;
  padding: 2rem 1.5rem;
  gap: 0;
  overflow-y: auto;
}
.nav-inline a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 0;
  min-height: 44px;
  font-size: 1.8rem;
  color: #6B5E58;
  transition: color 0.2s ease, background-color 0.2s ease;
  -webkit-transition: color 0.2s ease, background-color 0.2s ease;
  -moz-transition: color 0.2s ease, background-color 0.2s ease;
  -o-transition: color 0.2s ease, background-color 0.2s ease;
  border-bottom: 1px solid #E0DAD4;
}
.nav-inline a:hover {
  color: #5C8A7A;
}
.nav-inline a.active {
  color: #5C8A7A;
  font-weight: 500;
  border-left: 3px solid #5C8A7A;
  padding-left: 1rem;
  margin-left: -1rem;
}
body.nav-open .site-header {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background-color: #FAF8F5;
}
body.nav-open .nav-inline {
  display: flex;
}
@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }
  .nav-inline {
    position: static;
    display: flex;
    flex-direction: row;
    padding: 0;
    background: transparent;
    gap: 0.25rem;
    overflow-y: visible;
  }
  .nav-inline a {
    padding: 0.5rem 1rem;
    min-height: 36px;
    font-size: 1.4rem;
    font-weight: 500;
    color: #6B5E58;
    border: none;
    border-radius: 6px;
  }
  .nav-inline a.active {
    color: #5C8A7A;
    background-color: rgba(92, 138, 122, 0.14);
    padding-left: 1rem;
    margin-left: 0;
    border-left: none;
    font-weight: 500;
  }
  .nav-inline a:hover {
    color: #5C8A7A;
    background-color: rgba(92, 138, 122, 0.1);
  }
}
.nav-text {
  margin-right: 0.25rem;
}
.nav-lang {
  margin-left: 0.25rem;
}
.nav-lang img {
  height: 22px;
  width: auto;
  display: block;
}
@media (min-width: 768px) {
  .nav-lang {
    margin-left: 0.5rem;
    padding: 0.35rem 0.5rem !important;
  }
  .nav-lang img {
    height: 20px;
  }
}
@media (max-width: 767px) {
  .nav-inline .nav-text {
    display: inline;
  }
}
/* ========== Sections ========== */
.content.section {
  scroll-margin-top: 72px;
  margin-bottom: 2.5rem;
  padding: 3rem 2.5rem;
  font-size: 1.6rem;
  font-weight: 400;
  background-color: #fff;
  border-radius: 12px;
  border: 1px solid #E0DAD4;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  -webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  -moz-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  -o-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.content.section p {
  margin-bottom: 1.5rem;
}
.content.section:last-of-type {
  margin-bottom: 0;
}
#section-me {
  padding-top: 2.5rem;
}
#section-me p {
  color: #6B5E58;
  font-style: italic;
}
/* ========== Hero (section-me) ========== */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2.5rem;
}
.profile-pic-rounded {
  background-image: url(677562a8edcd60d37394.jpg);
  width: 200px;
  height: 200px;
  margin-bottom: 1.5rem;
  background-position: 0 60%;
  background-size: cover;
  border-radius: 50%;
  opacity: 0.95;
  -webkit-filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.12));
  -moz-filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.12));
  -ms-filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.12));
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.12));
  flex-shrink: 0;
}
.content-headline {
  text-align: center;
  flex: 1;
  min-width: 0;
}
.content-headline .content-headline-hello {
  font-family: 'Lora', Georgia, "Times New Roman", serif;
  font-size: 3rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  line-height: 1.2;
}
.content-headline .content-headline-subtitle {
  font-size: 1.6rem;
  color: #6B5E58;
  margin: 0 0 1.25rem;
}
.content-headline .social {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}
.content-headline .social .social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  font-size: 2rem;
  line-height: 1;
  color: #6B5E58;
  border-radius: 6px;
  transition: color 0.2s ease, background-color 0.2s ease;
  -webkit-transition: color 0.2s ease, background-color 0.2s ease;
  -moz-transition: color 0.2s ease, background-color 0.2s ease;
  -o-transition: color 0.2s ease, background-color 0.2s ease;
}
.content-headline .social .social-link:hover {
  color: #5C8A7A;
  background-color: rgba(92, 138, 122, 0.14);
}
.content-headline .social .social-link:focus-visible {
  outline: 2px solid #5C8A7A;
  outline-offset: 2px;
}
.content-headline .social .social-link i,
.content-headline .social .social-link svg {
  display: block;
  line-height: 1;
}
.content-headline .social .social-link.social-lang img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: block;
}
.content-headline .separator {
  margin: 0 auto;
}
@media (min-width: 768px) {
  .hero {
    flex-direction: row;
    align-items: flex-start;
    gap: 2.5rem;
    text-align: left;
  }
  .profile-pic-rounded {
    width: 220px;
    height: 220px;
    margin-bottom: 0;
  }
  .content-headline {
    text-align: left;
  }
  .content-headline .content-headline-hello {
    font-size: 3.4rem;
  }
  .content-headline .social {
    justify-content: flex-start;
  }
  .content-headline .separator {
    margin-left: 0;
  }
}
/* ========== Section headlines ========== */
h2 {
  font-family: 'Lora', Georgia, "Times New Roman", serif;
  font-size: 2.8rem;
  font-weight: 600;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}
h3 {
  font-family: 'Lora', Georgia, "Times New Roman", serif;
  font-size: 2.4rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1rem;
}
h4 {
  margin: 0;
  font-family: 'Lora', Georgia, "Times New Roman", serif;
  font-size: 2.2rem;
  font-weight: 600;
  color: #2D2926;
  margin-bottom: 0.5rem;
}
hr {
  margin: 2rem 0;
  border: 0;
  border-top: 1px solid #E0DAD4;
}
.headline {
  font-size: 2.8rem;
}
.headline h2 {
  font-weight: 600;
}
.separator {
  width: 40px;
  border-bottom: 2px solid #5C8A7A;
  margin-top: 0;
  margin-bottom: 1.5rem;
}
.separator-small {
  width: 100%;
  border-bottom: 1px solid #E0DAD4;
  margin-bottom: 1.5rem;
  margin-top: 0.5rem;
}
/* ========== Skills, languages, contact ========== */
.skills,
.languages,
.contact {
  margin-bottom: 2rem;
}
.skills .tag,
.languages .tag,
.contact .tag {
  font-size: 1.35rem;
}
.contact a {
  color: #5C8A7A;
  margin-left: 0.5rem;
}
.contact a:hover {
  text-decoration: underline;
}
/* ========== Education & work ========== */
.education,
.work_exp {
  font-size: 1.6rem;
  margin-bottom: 2rem;
}
.education .education-item,
.work_exp .education-item {
  margin-bottom: 1.5rem;
}
.education .time-range,
.work_exp .time-range {
  display: block;
  font-size: 1.4rem;
  color: #6B5E58;
  font-weight: 500;
  font-style: normal;
  letter-spacing: 0.02em;
}
.education .title,
.work_exp .title {
  display: block;
  font-weight: 600;
  font-size: 1.6rem;
  color: inherit;
}
.education a.title,
.work_exp a.title {
  color: #5C8A7A;
}
.education a.title:hover,
.work_exp a.title:hover {
  text-decoration: underline;
  cursor: pointer;
}
.education .subtitle,
.work_exp .subtitle {
  font-size: 1.6rem;
  color: #6B5E58;
  margin: 0;
}
.education .subsubtitle,
.work_exp .subsubtitle {
  font-size: 1.5rem;
  font-weight: 600;
  color: #6B5E58;
  margin: 0;
}
ul.tags {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
}
.tag {
  font-size: 1.3rem;
  display: inline-block;
  padding: 4px 12px;
  border-radius: 16px;
  margin-right: 6px;
  margin-bottom: 8px;
  background-color: rgba(92, 138, 122, 0.12);
  border: 1px solid rgba(92, 138, 122, 0.25);
  color: #486b5f;
}
address {
  font-style: normal;
  margin-bottom: 1.5rem;
}
/* ========== Projects ========== */
.project {
  display: flex;
  flex-direction: column;
  margin-bottom: 2.5rem;
}
.project img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid #E0DAD4;
  border-radius: 8px;
}
.project hr {
  width: 100%;
}
.project .image-overlay {
  background-color: rgba(45, 41, 38, 0.85);
  border-radius: 8px;
  position: absolute;
  inset: 0;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s ease;
  -webkit-transition: opacity 0.25s ease;
  -moz-transition: opacity 0.25s ease;
  -o-transition: opacity 0.25s ease;
}
.project .image-overlay a {
  color: white;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 500;
}
.project .image-overlay a:hover {
  text-decoration: none;
}
.project .description-headline {
  font-family: 'Lora', Georgia, "Times New Roman", serif;
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.project .project-description {
  display: flex;
  flex-direction: column;
}
.project .project-description .project-image {
  width: 100%;
  position: relative;
  margin-bottom: 1rem;
  overflow: hidden;
  border-radius: 8px;
}
.project .project-description .project-image:hover .image-overlay {
  visibility: visible;
  opacity: 1;
}
.project .project-description .description-text {
  width: 100%;
  font-size: 1.6rem;
}
.project .project-description .description-text p {
  margin-bottom: 1rem;
  margin-top: 0;
}
@media (min-width: 992px) {
  .project .project-description {
    flex-direction: row;
    align-items: flex-start;
    gap: 1.5rem;
  }
  .project .project-description .project-image {
    width: 45%;
    flex-shrink: 0;
    margin-bottom: 0;
  }
  .project .project-description .description-text {
    width: 55%;
  }
}
/* ========== Footer ========== */
.site-footer {
  padding: 1.2rem 1.5rem 1.5rem;
  font-size: 1.4rem;
  background-color: rgba(224, 218, 212, 0.3);
}
.footer-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.footer-copy {
  color: #6B5E58;
}
.footer-sep {
  color: #E0DAD4;
  margin: 0 0.5rem;
}
/* ========== Imprint (details/summary) ========== */
.imprint-details {
  display: inline;
}
.imprint-details summary {
  display: inline;
  cursor: pointer;
  color: #6B5E58;
  font-size: 1.4rem;
  padding: 0.4rem 0;
  transition: color 0.2s ease;
  -webkit-transition: color 0.2s ease;
  -moz-transition: color 0.2s ease;
  -o-transition: color 0.2s ease;
  list-style: none;
}
.imprint-details summary::-webkit-details-marker {
  display: none;
}
.imprint-details summary::marker {
  display: none;
  content: '';
}
.imprint-details summary:hover {
  color: #5C8A7A;
}
.imprint-details .imprint-body {
  text-align: left;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #E0DAD4;
  color: #6B5E58;
  line-height: 1.7;
}
.imprint-details .imprint-body h3,
.imprint-details .imprint-body h4 {
  font-family: 'Lora', Georgia, "Times New Roman", serif;
  color: #2D2926;
}
.imprint-details .imprint-body h3 {
  font-size: 1.6rem;
  margin: 2rem 0 0.5rem;
}
.imprint-details .imprint-body h4 {
  font-size: 1.4rem;
  margin: 1.5rem 0 0.25rem;
}
.imprint-details .imprint-body p {
  margin: 0.5rem 0;
}
.imprint-details .imprint-body address {
  font-style: normal;
  margin: 0.5rem 0;
}

