:root{
  --bg:#0b0d12;
  --panel:#111523;
  --text:#e9ecf1;
  --muted:#a6afbf;
  --line:#20273a;
  --accent:#7aa2ff;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(1200px 800px at 20% 0%, #131a2e 0%, var(--bg) 55%);
  color:var(--text);
  line-height:1.6;
}

.container{
  width:min(1040px, calc(100% - 2rem));
  margin:0 auto;
}

.site-header{
  position:sticky;
  top:0;
  z-index:10;
  background: rgba(11,13,18,0.75);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--line);
}

.nav-wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0.9rem 0;
  gap:1rem;
}

.brand{
  color:var(--text);
  text-decoration:none;
  font-weight:700;
  letter-spacing:0.2px;
}

.nav{display:flex; flex-wrap:wrap; gap:0.7rem}
.nav{align-items: center;}

.nav-link{
  color:var(--muted);
  text-decoration:none;
  padding:0.35rem 0.6rem;
  border-radius:10px;
  border:1px solid transparent;
}
.nav-link:hover{color:var(--text); border-color:var(--line); background:rgba(255,255,255,0.03)}

.nav-link.is-active{color:var(--text); border-color:rgba(122,162,255,0.35); background:rgba(122,162,255,0.08)}



/* ===== Navbar: centered Research with two outlined items ===== */

.nav.nav-center{
  justify-content: center;
  gap: 1.2rem;
}

.nav-research{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  align-self: center;
}


.nav-research-title{
  color: var(--muted);
  padding: 0.35rem 0.6rem;
  border: 1px solid transparent;
  background: transparent;
  cursor: default;
}

.nav-research-title:hover{
  color: var(--muted);
  padding: 0.35rem 0.6rem;
  border: 1px solid transparent;
  background: transparent;
  cursor: default;
}

.nav-research-items{
  display: flex;
  gap: 0.6rem;
}

.nav-research-item{
  color:var(--muted);
  text-decoration:none;
  padding:0.35rem 0.6rem;
  border-radius:10px;
  border:1px solid transparent;
}


.nav-research-item:hover{color:var(--text); border-color:var(--line); background:rgba(255,255,255,0.03)}

.nav-research-item.is-active{color:var(--text); border-color:rgba(122,162,255,0.35); background:rgba(122,162,255,0.08);}
/*
.nav-research-item{
  border: none !important;
  background: transparent !important;
  border-radius: 0; /* optional: keine pill-form 
}
*/


.hero{
  display:grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap:1.25rem;
  padding:2rem 0 1rem;
  align-items:stretch;
}

.hero h1{font-size:2.3rem; margin:0 0 0.4rem}
.lead{color:var(--muted); font-size:1.05rem; margin:0.2rem 0 1rem}
.meta{display:flex; flex-wrap:wrap; gap:0.6rem; margin-top:1rem; color:var(--muted)}
.meta a{color:var(--muted)}
.meta a:hover{color:var(--text)}

.section{margin:1.25rem 0}
.grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:1rem;
  margin:1rem 0 0;
}

.card{
  background: rgba(17,21,35,0.75);
  border:1px solid var(--line);
  border-radius:18px;
  padding:1rem 1rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.card h2{margin:0 0 0.5rem; font-size:1.1rem}
.card h3{margin:0 0 0.35rem; font-size:1.05rem}

.list{margin:0.5rem 0 0; padding-left:1.1rem}
.list li{margin:0.35rem 0}

.tag{
  display:inline-block;
  font-size:0.8rem;
  padding:0.05rem 0.45rem;
  border-radius:999px;
  border:1px solid rgba(122,162,255,0.4);
  color:var(--text);
  margin-right:0.4rem;
}

.projects{display:grid; grid-template-columns: repeat(2, minmax(0, 1fr));gap:0.9rem;}

.project{padding:0.2rem 0;text-align: center}
.project-links{display:flex; gap:0.5rem; align-items:center; color:var(--muted)}
.project-links span{opacity:0.6}

.pubs{margin:0.6rem 0 0; padding-left:1.2rem}
.pubs li{margin:0.8rem 0}
.pub-title{font-weight:650}
.pub-meta{color:var(--muted); font-size:0.95rem}
.pub-links{display:flex; gap:0.5rem; align-items:center; color:var(--muted); margin-top:0.2rem}
.pub-links span{opacity:0.6}

.page{padding:1.6rem 0 1rem}

.button{
  display:inline-block;
  background: rgba(122,162,255,0.15);
  border:1px solid rgba(122,162,255,0.45);
  color:var(--text);
  text-decoration:none;
  padding:0.55rem 0.9rem;
  border-radius:14px;
  font-weight:600;
}
.button:hover{background: rgba(122,162,255,0.22)}
.button-ghost{
  background: transparent;
  border-color: var(--line);
}
.button-ghost:hover{background: rgba(255,255,255,0.04)}

.text-link{color:var(--accent); text-decoration:none}
.text-link:hover{text-decoration:underline}

.site-footer{
  border-top:1px solid var(--line);
  margin-top:2rem;
  padding:1.2rem 0;
  color:var(--muted);
}
.footer-wrap{
  display:flex;
  justify-content:space-between;
  gap:1rem;
  flex-wrap:wrap;
}
.muted{opacity:0.8}

.two-col{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:1rem;
  margin-top:1rem;
}

.portrait{
  width:100%;
  max-width:260px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius:18px;
  border:1px solid var(--line);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

/* ===== CV layout (2-column rows like the screenshot) ===== */
.cv .page-title{
  margin-bottom: 0.75rem;
}

.cv-section{
  margin: 2rem 0;
}

.cv-heading{
  font-size: 1.7rem;
  margin: 0 0 1rem 0;
  letter-spacing: 0.2px;
}

.cv-list{
  display: grid;
  gap: 0.9rem;
}

.cv-item{
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.2rem;
  align-items: start;
}

.cv-date{
  color: var(--text);
  opacity: 0.95;
  font-weight: 600;
  white-space: nowrap;
}

.cv-body{
  color: var(--text);
}

.cv-role{
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.cv-place{
  color: var(--muted);
}

.cv-link{
  color: #27c1d9; /* teal-ish like in screenshot */
  text-decoration: none;
}

.cv-link:hover{
  text-decoration: underline;
}

.cv-note{
  color: var(--muted);
  margin: 0;
}

/* ===== CV: more space + description text ===== */

.cv-section{
  margin: 2.6rem 0;     /* more space between sections */
}

.cv-list{
  gap: 1.2rem;          /* more space between entries */
}

.cv-item{
  padding-bottom: 0.2rem;
}

.cv-place{
  margin-bottom: 0.35rem;  /* space before description */
}

.cv-desc{
  color: var(--text);
  opacity: 0.95;
  line-height: 1.65;
  font-size: 0.97rem;
  max-width: 760px;        /* avoids ultra-long lines */
}
/* CV bullet descriptions */

.cv-bullets{
  margin: 0.35rem 0 0;
  padding-left: 1.1rem;
  list-style: disc;
}

.cv-bullets li{
  margin: 0.3rem 0;
  line-height: 1.6;
}

/* subtle academic blue bullets */
.cv-bullets li::marker{
  color: #3aa0ff;
}


/* ===== Helical Turbulence Orbit ===== */
.research-orbit{
  position: relative;
  width: min(520px, 100%);
  aspect-ratio: 1 / 1;
  margin: 1.2rem auto 0;
  display: grid;
  place-items: center;
}


.orbit-ring{
  position: absolute;
  width: 88%;
  height: 88%;
  border-radius: 50%;

  /* klarer, heller Rand */
  border: 2px solid rgba(233,236,241,0.35);

  /* EINHEITLICHE Hervorhebung im Inneren */
  background-color: rgba(122,162,255,0.06);

  /* Tiefe, damit es sich vom Hintergrund absetzt */
  box-shadow:
    0 0 0 1px rgba(233,236,241,0.12) inset,
    0 0 24px rgba(122,162,255,0.10);
}



/* Center card */
.orbit-center{
  position: relative;
  z-index: 2;
  width: 58%;
  text-decoration: none;
  color: var(--text);

  background: transparent;
  border: 1px solid transparent;     /* <- WICHTIG */
  border-radius: 18px;
  overflow: hidden;

  box-shadow: none;
  display: flex;
  flex-direction: column;
  align-items: center;

  transition: box-shadow 140ms ease, border-color 140ms ease, background 140ms ease;
  will-change: box-shadow;
  cursor: pointer;
}



.orbit-center img{
  height: 220px;
  width: auto;
  max-width: 100%;
  display: block;
  margin: 0.6rem auto 0;   /* <- zentriert + etwas Abstand oben */
  background: transparent;
}



.orbit-center-label{
  padding: 0.65rem 0.8rem;
  font-weight: 650;
  text-align: center;
}

.orbit-center:hover{
  border-color: rgba(39,193,217,0.55);
  box-shadow: 0 10px 22px rgba(0,0,0,0.22), 0 0 0 3px rgba(39,193,217,0.12);
  background: transparent; /* keine dunkle Box */
}


/* Orbit nodes */
.orbit-node{
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  text-decoration: none;
  color: var(--text);

  background: rgba(17,21,35,0.75);
  border: 1px solid var(--line);               /* bleibt konstant */
  box-shadow: 0 10px 22px rgba(0,0,0,0.22);
  white-space: nowrap;

  transition: box-shadow 140ms ease, border-color 140ms ease, background 140ms ease;
  will-change: box-shadow;
}

.orbit-node:hover{
  border-color: rgba(39,193,217,0.55);
  box-shadow: 0 10px 22px rgba(0,0,0,0.22), 0 0 0 3px rgba(39,193,217,0.12);
  /* kein transform -> kein Springen */
}


.orbit-icon{
  font-size: 1.05rem;
}

.orbit-text{
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
}

/* Positions: top / right / left */
.orbit-top{ top: 2%; left: 50%; transform: translateX(-50%); }
.orbit-right{ right: 2%; top: 50%; transform: translateY(-50%); }
.orbit-left{ left: 2%; top: 50%; transform: translateY(-50%); }



/* Mobile tweaks */
@media (max-width: 520px){
  .orbit-center{ width: 68%; }
  .orbit-center img{ height: 180px; }
  .orbit-node{ padding: 0.4rem 0.6rem; }
}


@media (max-width: 720px){
  .cv-item{
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
  .cv-date{
    opacity: 0.9;
  }
}


/* Responsive */
@media (max-width: 860px){
  .hero{grid-template-columns: 1fr; padding-top:1.4rem}
  .portrait-placeholder{height:200px}
  .grid{grid-template-columns: 1fr; }
  .two-col{grid-template-columns:1fr}
}

@media (max-width: 860px){
  .projects{
    grid-template-columns: 1fr;
  }
}
