* { box-sizing: border-box; min-width: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: oklch(98% 0.006 75); color: oklch(23% 0.012 70); font-family: 'Inter', sans-serif; overflow-wrap: break-word; }
a { color: oklch(23% 0.012 70); text-decoration: none; border-bottom: 1px solid oklch(75% 0.01 70); }
a:hover { color: oklch(52% 0.14 45); border-bottom-color: oklch(52% 0.14 45); }

/* Menü ganz oben */
.topbar { position: sticky; top: 0; z-index: 20; height: 48px; display: flex; align-items: stretch; gap: 28px; padding: 0 40px; background: oklch(98% 0.006 75 / .96); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid oklch(91% 0.01 70); }
.topbar a { display: inline-flex; align-items: center; font-size: 14px; color: oklch(55% 0.02 70); border-bottom: 2px solid transparent; }
.topbar a:hover { color: oklch(52% 0.14 45); border-bottom-color: transparent; }
.topbar a[aria-current='page'], .topbar a[aria-current='page']:hover { color: oklch(23% 0.012 70); font-weight: 600; border-bottom-color: oklch(52% 0.14 45); }

.layout { display: flex; min-height: calc(100vh - 48px); }
aside { flex: 0 0 260px; padding: 56px 40px; position: sticky; top: 48px; align-self: flex-start; height: calc(100vh - 48px); overflow-y: auto; display: flex; flex-direction: column; justify-content: space-between; }
.name { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.location { font-size: 13px; color: oklch(55% 0.02 70); margin-top: 4px; }
nav { margin-top: 48px; display: flex; flex-direction: column; gap: 2px; position: relative; padding-left: 14px; }
nav a { font-size: 14px; border-bottom: none; padding: 6px 0; color: oklch(60% 0.015 70); font-weight: 400; transition: color .15s ease; }
nav a.active { color: oklch(23% 0.012 70); font-weight: 600; }
.nav-indicator { position: absolute; left: 0; top: 0; width: 2px; border-radius: 1px; background: oklch(52% 0.14 45); transition: transform .3s cubic-bezier(.4,0,.2,1), height .3s cubic-bezier(.4,0,.2,1); }
main { flex: 1 1 320px; padding: 64px 56px 80px; max-width: 720px; }
section { margin-bottom: 96px; scroll-margin-top: 72px; }
section:last-of-type { margin-bottom: 0; }
h1 { font-size: 40px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 20px; }
h2 { font-size: 24px; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 28px; }
.intro p { font-size: 18px; line-height: 1.7; color: oklch(38% 0.015 70); margin: 0; }
.body-text { font-size: 16px; line-height: 1.8; color: oklch(30% 0.012 70); margin: 0 0 18px; }
.body-text:last-child { margin-bottom: 0; }
.timeline-row { display: flex; flex-wrap: wrap; gap: 4px 24px; margin-bottom: 20px; }
.timeline-row:last-child { margin-bottom: 0; }
.timeline-time { flex: 0 0 120px; font-size: 14px; color: oklch(55% 0.02 70); }
.timeline-title { flex: 1 1 240px; font-size: 16px; line-height: 1.6; color: oklch(30% 0.012 70); }
.hobby-block { margin-bottom: 22px; }
.hobby-block:last-child { margin-bottom: 0; }
.hobby-title { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.friend-host { font-size: 13px; color: oklch(55% 0.02 70); margin-top: 2px; }
.project { padding: 20px 0; border-top: 1px solid oklch(90% 0.01 70); }
.project:first-of-type { padding-top: 0; border-top: none; }
.project:last-child { padding-bottom: 0; }
.project-title { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 8px; }
.project-text { font-size: 16px; line-height: 1.75; color: oklch(35% 0.012 70); margin: 0; }
.project-tag { display: inline-block; font-size: 12px; color: oklch(52% 0.14 45); border: 1px solid oklch(52% 0.14 45 / .4); border-radius: 999px; padding: 2px 10px; margin-top: 12px; }

/* Unterseite */
.page { max-width: 720px; margin: 0 auto; padding: 64px 56px 48px; }
.page section { scroll-margin-top: 72px; }
.steps { margin: 0; padding-left: 20px; }
.steps li { font-size: 16px; line-height: 1.8; color: oklch(30% 0.012 70); margin-bottom: 6px; }
.faq div { margin-bottom: 22px; }
.faq div:last-child { margin-bottom: 0; }
.faq h3 { font-size: 16px; font-weight: 600; margin: 0 0 6px; }
.faq p { margin: 0; }
.tool-wrap { margin: 8px 0 0; }

.site-footer { margin-top: 72px; padding-top: 20px; border-top: 1px solid oklch(90% 0.01 70); font-size: 14px; color: oklch(55% 0.02 70); }

@media (max-width: 900px) and (min-width: 701px) {
  aside { flex-basis: 210px; padding: 48px 28px; }
  nav { margin-top: 36px; }
  main { padding: 56px 40px 80px; }
}

/* Handy: Seitenleiste wird zur Kopfleiste unter dem Menü, Navigation seitlich wischbar */
@media (max-width: 700px) {
  .topbar { padding: 0 16px; gap: 22px; }
  .layout { flex-direction: column; }
  aside {
    flex: none; width: 100%; height: auto; overflow: visible; align-self: stretch;
    padding: 12px 16px 0; z-index: 10;
    background: oklch(98% 0.006 75 / .96); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    border-bottom: 1px solid oklch(91% 0.01 70);
    justify-content: flex-start;
  }
  .name { display: inline-block; font-size: 16px; }
  .location { display: inline-block; font-size: 12px; margin: 0 0 0 8px; }
  nav {
    flex-direction: row; gap: 2px; margin: 6px -16px 0; padding: 0 12px;
    overflow-x: auto; white-space: nowrap; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  nav::-webkit-scrollbar { display: none; }
  nav a { flex: 0 0 auto; font-size: 14px; padding: 10px 10px 8px; border-bottom: 2px solid transparent; }
  nav a.active { border-bottom-color: oklch(52% 0.14 45); }
  .nav-indicator { display: none; }
  main { padding: 28px 20px 56px; max-width: none; }
  section { margin-bottom: 56px; scroll-margin-top: 140px; }
  h1 { font-size: 30px; margin-bottom: 14px; }
  h2 { font-size: 21px; margin-bottom: 18px; }
  .intro p { font-size: 17px; }
  .body-text, .project-text, .timeline-title { font-size: 16px; }
  .timeline-row { flex-direction: column; gap: 2px; margin-bottom: 18px; }
  .timeline-time { flex: none; font-size: 13px; }
  .timeline-title { flex: none; }
  .page { padding: 28px 20px 40px; }
  .page section { scroll-margin-top: 72px; }
  .site-footer { margin-top: 48px; }
}
