:root{
  /* Grundfarbton wie dein Anhang (warm/hell) */
  --bg0: #f4f1ea;      /* warmes off-white */
  --bg1: #efe9df;

  /* Panels */
  --panel: rgba(255,255,255,0.70);
  --panel2: rgba(255,255,255,0.85);
  --line: rgba(18, 24, 30, 0.12);

  /* Text (auf hellem Hintergrund) */
  --text: rgba(18, 24, 30, 0.92);
  --muted: rgba(18, 24, 30, 0.65);

  --accent: #2f7bbd;
  --accent2:#cc4d7a;
}

* { box-sizing: border-box; }

body{
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;

  background:
    radial-gradient(1100px 700px at 15% 15%, rgba(47,123,189,0.10), transparent 60%),
    radial-gradient(900px 600px at 85% 30%, rgba(204,77,122,0.08), transparent 55%),
    linear-gradient(135deg, var(--bg1), var(--bg0));
}

.shell{
  width: min(1100px, calc(100% - 40px));
  margin: 24px auto;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 70px rgba(0,0,0,0.12);
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(18,24,30,0.10);
  backdrop-filter: blur(10px);
}

/* Topbar */
.topbar{
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  background: rgba(255,255,255,0.55);
  border-bottom: 1px solid var(--line);
}

.pill{
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(18,24,30,0.14);
  background: rgba(255,255,255,0.75);
  color: var(--muted);
}

.nav{
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.nav a{
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  padding: 6px 8px;
  border-radius: 10px;
  transition: background 0.2s ease, color 0.2s ease, border 0.2s ease;
  border: 1px solid transparent;
}

.nav a:hover{
  color: var(--text);
  background: rgba(18,24,30,0.05);
}

.nav a.active{
  color: var(--text);
  background: rgba(18,24,30,0.06);
  border: 1px solid rgba(18,24,30,0.10);
}

/* Hero */
.hero{
  padding: 12px 14px 14px; /* weniger Abstand zur äußeren Box */
}

.hero-line{
  display: none;
}


.hero-grid{
  padding: 22px 18px;     /* mehr Innen-Padding, damit Text/Button nicht kleben */
  min-height: 340px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 14px;
  position: relative;

  background: rgba(255,255,255,0.70);
  border: 1px solid rgba(18,24,30,0.10);
  border-radius: 14px;
}

.hero-title h1{
  margin: 0;
  font-family: "Spectral", Georgia, serif;
  font-weight: 700;
  font-size: clamp(56px, 7vw, 96px);
  letter-spacing: 2px;
  text-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.hero-bottom{
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: end;
}

.intro-small{
  font-size: 13px;
  color: rgba(18,24,30,0.70);
}

.intro-name{
  font-family: "Spectral", Georgia, serif;
  margin-top: 6px;
  line-height: 1.0;
}

.name-1, .name-2{
  font-size: 34px;
  font-weight: 600;
}

.name-2{
  opacity: 0.95;
  margin-left: 10px;
}

/* Button */
.btn{
  align-self: end;
  justify-self: end;
  text-decoration: none;
  color: var(--text);
  font-size: 13px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(18,24,30,0.14);
  background: rgba(255,255,255,0.78);
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,0.92);
}

/* Sections */
.section{
  padding: 18px 24px 22px;
  border-top: 1px solid rgba(18,24,30,0.10);
  background: rgba(255,255,255,0.45);
  width: 100%;
}


.section h2{
  margin: 0 0 12px 0;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 14px;
  color: rgba(18,24,30,0.78);
}

.about-text{
  margin: 0;
  color: rgba(18,24,30,0.82);
  line-height: 1.7;
  width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

@media (min-width: 768px){
  .about-text{
    text-align: justify;
    text-justify: inter-word;
  }
}



.skills-row{
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip{
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(18,24,30,0.14);
  background: rgba(255,255,255,0.70);
  font-size: 12px;
  color: rgba(18,24,30,0.82);
}

/* Projects */
.section-head{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.muted{ color: var(--muted); margin: 0; }

.project-container{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.project{
  padding: 16px;
  background: rgba(255,255,255,0.70);
  border: 1px solid rgba(18,24,30,0.10);
  border-radius: 14px;
  transition: transform 0.25s ease, background 0.25s ease;
}

.project:hover{
  transform: translateY(-3px);
  background: rgba(255,255,255,0.85);
}

.project h3{
  margin: 0 0 10px 0;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(18,24,30,0.85);
}

.project img{
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(18,24,30,0.12);
}

.project p{
  margin: 10px 0 12px 0;
  color: rgba(18,24,30,0.75);
  font-size: 12px;
  line-height: 1.6;
}

.project-link{
  display: inline-block;
  padding: 9px 12px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid rgba(18,24,30,0.14);
  background: rgba(255,255,255,0.78);
  color: rgba(18,24,30,0.90);
  font-size: 12px;
}

.project-link:hover{
  background: rgba(255,255,255,0.92);
}

/* Footer Socials */
.footer{
  padding: 14px 18px;
  border-top: 1px solid rgba(18,24,30,0.10);
  background: rgba(255,255,255,0.55);
}

.socials{
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 16px;
  justify-content: center;
}

.socials img{
  width: 24px;
  height: 24px;
  opacity: 0.85;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.socials a:hover img{
  transform: translateY(-1px) scale(1.05);
  opacity: 1;
}

/* Responsive */
@media (max-width: 980px){
  .project-container{ grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px){
  .topbar{
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-bottom{ grid-template-columns: 1fr; }
  .btn{ justify-self: start; }
  .project-container{ grid-template-columns: 1fr; }
}