:root {
  --gold: #C4932A;
  --gold-light: #E8B84B;
  --dark: #1A1A1A;
  --dark-mid: #252525;
  --dark-card: #2C2C2C;
  --off-white: #F5F0E8;
  --text-muted: #9A9A8A;
  --font-display: 'Playfair Display', serif;
  --font-body: 'DM Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--dark);
  color: var(--off-white);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.4rem 4rem;
  background: rgba(26,26,26,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(196,147,42,0.15);
}
.nav-logo { font-family: var(--font-display); font-size: 1.1rem; color: var(--gold); letter-spacing: 0.04em; text-decoration: none; }
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; transition: color 0.25s; }
.nav-links a:hover { color: var(--gold); }

/* ── HERO ── */
.hero { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; position: relative; padding-top: 80px; }
.hero-left { display: flex; flex-direction: column; justify-content: center; padding: 6rem 4rem 6rem 6rem; position: relative; z-index: 1; }
.hero-eyebrow { font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.5rem; display: flex; align-items: center; gap: 0.75rem; }
.hero-eyebrow::before { content: ''; display: block; width: 2rem; height: 1px; background: var(--gold); }
.hero-name { font-family: var(--font-display); font-size: clamp(3rem,5vw,5.5rem); font-weight: 700; line-height: 1.05; margin-bottom: 1.5rem; color: var(--off-white); }
.hero-name span { color: var(--gold); display: block; }
.hero-tagline { font-size: 1rem; color: var(--text-muted); max-width: 420px; margin-bottom: 3rem; line-height: 1.8; }
.hero-tagline strong { color: var(--off-white); font-weight: 500; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── BUTTONS ── */
.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.85rem 2rem; border-radius: 2px; font-family: var(--font-body); font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: all 0.25s; border: none; }
.btn-primary { background: var(--gold); color: var(--dark); font-weight: 500; }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--off-white); border: 1px solid rgba(196,147,42,0.4); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-1px); }
.btn-cv { background: transparent; color: var(--gold); border: 1px solid var(--gold); font-weight: 500; }
.btn-cv:hover { background: var(--gold); color: var(--dark); transform: translateY(-1px); }

/* ── HERO RIGHT ── */
.hero-right { position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-right::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(196,147,42,0.06) 1px,transparent 1px),linear-gradient(90deg,rgba(196,147,42,0.06) 1px,transparent 1px); background-size: 48px 48px; }
.hero-graphic { position: relative; z-index: 1; width: 340px; height: 340px; }
.data-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(196,147,42,0.2); animation: pulse-ring 4s ease-in-out infinite; }
.data-ring:nth-child(2) { inset: -30px; animation-delay: 1s; opacity: 0.5; }
.data-ring:nth-child(3) { inset: -60px; animation-delay: 2s; opacity: 0.25; }
@keyframes pulse-ring { 0%,100% { transform: scale(1); opacity: 0.3; } 50% { transform: scale(1.02); opacity: 0.6; } }
.data-center { width: 100%; height: 100%; border-radius: 50%; background: radial-gradient(circle at 40% 40%,rgba(196,147,42,0.15),rgba(26,26,26,0.8)); border: 1px solid rgba(196,147,42,0.3); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.5rem; }
.stat-item { text-align: center; }
.stat-number { font-family: var(--font-display); font-size: 2.4rem; color: var(--gold); line-height: 1; }
.stat-label { font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-muted); }
.stat-divider { width: 40px; height: 1px; background: rgba(196,147,42,0.3); margin: 0.4rem 0; }

/* ── SHARED SECTION STYLES ── */
section { position: relative; z-index: 1; }
.section-inner { max-width: 1100px; margin: 0 auto; padding: 6rem 4rem; }
.section-label { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.75rem; display: flex; align-items: center; gap: 0.75rem; }
.section-label::after { content: ''; flex: 1; height: 1px; background: rgba(196,147,42,0.25); max-width: 60px; }
.section-title { font-family: var(--font-display); font-size: clamp(2rem,3.5vw,3rem); font-weight: 700; line-height: 1.2; margin-bottom: 1rem; }
.section-subtitle { color: var(--text-muted); max-width: 560px; margin-bottom: 3.5rem; }

/* ── ABOUT ── */
#about { background: var(--dark-mid); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.about-text p { color: var(--text-muted); margin-bottom: 1.2rem; line-height: 1.9; }
.about-text p strong { color: var(--off-white); font-weight: 500; }
.about-text blockquote { border-left: 2px solid var(--gold); padding-left: 1.5rem; margin: 2rem 0; font-family: var(--font-display); font-size: 1.15rem; color: var(--off-white); line-height: 1.6; font-style: italic; }
.skills-panel { background: var(--dark-card); border: 1px solid rgba(196,147,42,0.12); padding: 2rem; }
.skills-title { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.75rem; }
.skill-group { margin-bottom: 1.4rem; }
.skill-group:last-child { margin-bottom: 0; }
.skill-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.skill-tag { background: rgba(196,147,42,0.08); border: 1px solid rgba(196,147,42,0.2); color: var(--off-white); font-size: 0.78rem; padding: 0.25rem 0.65rem; border-radius: 2px; }
.skill-tag--lang { display: flex; gap: 0.35rem; align-items: center; }
.skill-tag--lang em { color: var(--text-muted); font-style: normal; font-size: 0.72rem; }

/* ── PROJECTS ── */
#projects { background: var(--dark); }
.projects-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.project-card { background: var(--dark-card); border: 1px solid rgba(196,147,42,0.1); padding: 2rem; position: relative; overflow: hidden; transition: border-color 0.3s,transform 0.3s; cursor: pointer; text-decoration: none; display: block; color: inherit; }
.project-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg,transparent,var(--gold),transparent); transform: scaleX(0); transition: transform 0.4s; }
.project-card:hover { border-color: rgba(196,147,42,0.35); transform: translateY(-3px); }
.project-card:hover::before { transform: scaleX(1); }
.project-tag { font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; display: flex; gap: 0.5rem; flex-wrap: wrap; }
.tag { background: rgba(196,147,42,0.1); padding: 0.2rem 0.6rem; border-radius: 1px; }
.project-title { font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 0.75rem; line-height: 1.35; }
.project-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 1.5rem; }
.project-footer { display: flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); text-decoration: none; }
.project-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.project-footer::after { content: '\2192'; transition: transform 0.2s; }
.project-card:hover .project-footer::after { transform: translateX(4px); }
.project-card.featured { grid-column: span 2; background: linear-gradient(135deg,var(--dark-card),rgba(196,147,42,0.06)); }

/* ── EXPERIENCE ── */
#experience { background: var(--dark-mid); }
.experience-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 3.5rem; flex-wrap: wrap; gap: 1.5rem; }
.experience-header-text { flex: 1; }
.experience-header-text .section-subtitle { margin-bottom: 0; }
.timeline { position: relative; padding-left: 2rem; }
.timeline::before { content: ''; position: absolute; left: 0; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(to bottom,var(--gold),rgba(196,147,42,0.1)); }
.timeline-item { position: relative; padding-bottom: 3rem; }
.timeline-item::before { content: ''; position: absolute; left: -2.35rem; top: 8px; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px rgba(196,147,42,0.5); }
.timeline-date { font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.4rem; }
.timeline-role { font-family: var(--font-display); font-size: 1.25rem; margin-bottom: 0.25rem; }
.timeline-company { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1rem; }
.timeline-bullets { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.timeline-bullets li { font-size: 0.88rem; color: var(--text-muted); padding-left: 1rem; position: relative; line-height: 1.6; }
.timeline-bullets li::before { content: '\2014'; position: absolute; left: 0; color: var(--gold); font-size: 0.7rem; }

/* ── TESTIMONIALS ── */
#testimonials { background: var(--dark); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.testimonial-card { background: var(--dark-card); border: 1px solid rgba(196,147,42,0.1); padding: 2rem; display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; transition: border-color 0.3s,transform 0.3s; }
.testimonial-card:hover { border-color: rgba(196,147,42,0.35); transform: translateY(-3px); }
.testimonial-quote { font-family: var(--font-display); font-size: 1rem; color: var(--off-white); line-height: 1.75; font-style: italic; position: relative; padding-top: 1.5rem; }
.testimonial-quote::before { content: '\201C'; position: absolute; top: -0.5rem; left: 0; font-size: 3rem; color: var(--gold); line-height: 1; font-family: var(--font-display); opacity: 0.5; }
.testimonial-author { display: flex; align-items: center; gap: 1rem; padding-top: 1.5rem; border-top: 1px solid rgba(196,147,42,0.12); }
.testimonial-avatar { width: 40px; height: 40px; border-radius: 50%; background: rgba(196,147,42,0.15); border: 1px solid rgba(196,147,42,0.3); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 1rem; color: var(--gold); flex-shrink: 0; }
.testimonial-name { font-size: 0.88rem; font-weight: 500; color: var(--off-white); margin-bottom: 0.2rem; }
.testimonial-role { font-size: 0.75rem; color: var(--text-muted); letter-spacing: 0.04em; }

/* ── CONTACT ── */
#contact { background: var(--dark-mid); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.contact-text p { color: var(--text-muted); margin-bottom: 2rem; line-height: 1.9; }
.contact-links { display: flex; flex-direction: column; gap: 1rem; }
.contact-link { display: flex; align-items: center; gap: 1rem; text-decoration: none; color: var(--off-white); padding: 1rem 1.25rem; background: var(--dark-card); border: 1px solid rgba(196,147,42,0.1); transition: all 0.25s; }
.contact-link:hover { border-color: var(--gold); color: var(--gold); transform: translateX(4px); }
.contact-link-icon { font-size: 1rem; width: 1.5rem; text-align: center; opacity: 0.7; }
.contact-link-label { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); display: block; }
.contact-link-value { font-size: 0.88rem; }

/* ── IMPRESSUM ── */
#impressum { background: var(--dark-mid); }
.impressum-box { background: var(--dark-card); border: 1px solid rgba(196,147,42,0.1); padding: 2.5rem; max-width: 100%; font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; }
.impressum-box h3 { font-family: var(--font-display); font-size: 1.05rem; color: var(--off-white); margin-bottom: 0.75rem; margin-top: 1.75rem; }
.impressum-box h3:first-child { margin-top: 0; }
.impressum-box strong { color: var(--off-white); font-weight: 500; }
.impressum-box a { color: var(--gold); text-decoration: none; }
.impressum-box a:hover { text-decoration: underline; }

/* ── FOOTER ── */
footer { border-top: 1px solid rgba(196,147,42,0.15); padding: 2rem 4rem; display: flex; justify-content: space-between; align-items: center; font-size: 0.75rem; color: var(--text-muted); position: relative; z-index: 1; }

/* ── ANIMATIONS ── */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease,transform 0.7s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 1.2rem 2rem; }
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .hero-left { padding: 5rem 2rem 4rem; }
  .section-inner { padding: 4rem 2rem; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .projects-grid, .testimonials-grid { grid-template-columns: 1fr; }
  .project-card.featured { grid-column: span 1; }
  .experience-header { flex-direction: column; align-items: flex-start; }
  footer { flex-direction: column; gap: 0.5rem; text-align: center; }
}
