* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #0b0d10;
  font-family: 'Inter', sans-serif;
  color: #e6e8eb;
}

::selection {
  background: #2563eb;
  color: #fff;
}

a {
  color: #3b82f6;
  text-decoration: none;
}

a:hover {
  color: #60a5fa;
}

h1,
h2,
.logo,
.project-title,
.exp-title {
  font-family: 'Space Grotesk', sans-serif;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page {
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  background: rgba(11, 13, 16, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #1c2026;
}

.logo {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.navlinks {
  display: flex;
  gap: 36px;
  font-size: 15px;
  font-weight: 500;
}

.navlinks a {
  color: #9aa2ad;
}

.btn-primary {
  background: #2563eb;
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
}

.hero {
  position: relative;
  padding: 140px 48px 120px;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: fadeUp 0.7s ease both;
}

.hero-glow {
  position: absolute;
  top: -100px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.18), transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #3b82f6;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3b82f6;
  box-shadow: 0 0 12px #3b82f6;
}

.hero-title {
  font-size: 68px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0;
  max-width: 820px;
}

.hero-text {
  font-size: 19px;
  line-height: 1.6;
  color: #9aa2ad;
  max-width: 640px;
  margin: 0;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.btn-cta {
  background: #2563eb;
  color: #fff;
  padding: 14px 26px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
}

.btn-outline {
  background: transparent;
  color: #e6e8eb;
  padding: 14px 26px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid #2a2f38;
}

.section {
  padding: 80px 48px;
  max-width: 1100px;
  margin: 0 auto;
  border-top: 1px solid #1c2026;
}

.grid2 {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 64px;
}

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  color: cyan;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 17px;
  line-height: 1.7;
  color: #c4c9d0;
  max-width: 680px;
}

.about-text p {
  margin: 0;
}

.about-content {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}
.about-photo {
  width: 210px;
  height: 280px;
  border-radius: 12px;      /* oder 50% für rund */
  object-fit: cover;
  flex-shrink: 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 16px;
}

.section-head h2 {
  font-size: 36px;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.02em;
}

.project-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: #1c2026;
}

.project-card {
  background: #0f1216;
  padding: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.project-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
}

.project-desc {
  font-size: 15px;
  line-height: 1.65;
  color: #9aa2ad;
  margin: 0 0 16px;
}

.project-media {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3d4451;
  font-size: 13px;
  border-radius: 12px;
  min-height: 140px;
}

.skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
}

.skill-group-title {
  font-size: 14px;
  font-weight: 600;
  color: #e6e8eb;
  margin-bottom: 16px;
}

.skill-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
  color: #9aa2ad;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.timeline-item {
  display: flex;
  gap: 24px;
}

.timeline-date {
  width: 110px;
  flex-shrink: 0;
  font-size: 14px;
  color: #6b7280;
  font-weight: 600;
  padding-top: 2px;
}

.timeline-body {
  border-left: 2px solid #1c2026;
  padding-left: 24px;
  padding-bottom: 4px;
}

.exp-title {
  font-size: 17px;
  font-weight: 600;
  color: #e6e8eb;
  margin-bottom: 6px;
}

.exp-desc {
  font-size: 14px;
  color: #9aa2ad;
  line-height: 1.6;
}

.contact-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.contact-title {
  font-size: 42px;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.02em;
  max-width: 600px;
}

.contact-text {
  font-size: 17px;
  color: #9aa2ad;
  max-width: 520px;
  line-height: 1.6;
  margin: 0;
}

.contact-actions {
  display: flex;
  gap: 16px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 640px;
  margin-top: 8px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field label {
  font-size: 14px;
  font-weight: 600;
  color: #c4c9d0;
}

.form-field input,
.form-field textarea {
  background: #0f1216;
  border: 1px solid #2a2f38;
  border-radius: 8px;
  padding: 12px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: #e6e8eb;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: #2563eb;
}

#cf-submit {
  align-self: flex-start;
  border: none;
  cursor: pointer;
}

#cf-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  font-size: 14px;
  margin: 0;
  min-height: 20px;
}

.form-status-success {
  color: #34d399;
}

.form-status-error {
  color: #f87171;
}

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

.footer {
  padding: 32px 48px;
  border-top: 1px solid #1c2026;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #6b7280;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 860px) {

  .grid2,
  .skills-grid,
  .project-card {
    grid-template-columns: 1fr !important;
  }

  .navlinks {
    display: none !important;
  }

  .hero-title {
    font-size: 44px !important;
  }

  .about-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .about-text {
    text-align: left;
  }

}

@media (max-width: 640px) {

  .nav {
    padding: 16px 20px;
  }

  .logo {
    font-size: 17px;
  }

  .btn-primary {
    padding: 8px 14px;
    font-size: 13px;
  }

  .hero {
    padding: 100px 20px 64px;
    gap: 18px;
  }

  .hero-title {
    font-size: 32px !important;
    letter-spacing: -0.02em;
  }

  .hero-text {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-cta,
  .btn-outline {
    text-align: center;
  }

  .section {
    padding: 56px 20px;
  }

  .section-head h2 {
    font-size: 28px;
  }

  .about-photo {
    width: 160px;
    height: 210px;
  }

  .project-card {
    padding: 24px 20px;
    gap: 20px;
  }

  .project-media {
    min-height: 180px;
  }

  .contact-title {
    font-size: 30px;
  }

  .contact-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .footer {
    padding: 24px 20px;
    justify-content: center;
    text-align: center;
  }

}

.highlight {
  color: cyan;
}