:root {
  --bg: #f5e8d6;
  --bg-soft: #fbf5ee;
  --paper: #fffdfa;
  --rose: #ccb8b4;
  --rose-deep: #b69f99;
  --text: #2f2826;
  --muted: #756c68;
  --line: rgba(47, 40, 38, 0.12);
  --shadow: 0 24px 70px rgba(47, 40, 38, 0.10);
  --radius: 28px;
  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(204, 184, 180, 0.45), transparent 24%),
    linear-gradient(180deg, #efe0cc 0, #f5e8d6 220px, #f8ecde 100%);
  line-height: 1.65;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.container {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.section-shell {
  padding: 38px 0;
}

.muted-area {
  background: linear-gradient(180deg, rgba(255,253,250,0.55), rgba(255,253,250,0.8));
  border-top: 1px solid rgba(47, 40, 38, 0.05);
  border-bottom: 1px solid rgba(47, 40, 38, 0.05);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(245, 232, 214, 0.78);
  border-bottom: 1px solid rgba(47, 40, 38, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--rose), var(--rose-deep));
  box-shadow: 0 0 0 8px rgba(204, 184, 180, 0.24);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong { font-size: 0.96rem; }
.brand small { color: var(--muted); font-size: 0.8rem; margin-top: 2px; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.main-nav a {
  color: var(--muted);
  font-size: 0.92rem;
}

.main-nav a:hover { color: var(--text); }

.nav-cta {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.5);
}

.hero {
  padding-top: 34px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 38px;
  align-items: center;
}

.hero-copy {
  padding: 26px 0;
}

.eyebrow,
.section-kicker {
  margin: 0 0 10px;
  color: var(--muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
}

.hero h1,
.section-heading h2,
.contact-card h2 {
  margin: 0;
  line-height: 1.08;
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 5.3rem);
  max-width: 11ch;
}

.lead {
  max-width: 58ch;
  color: var(--muted);
  font-size: 1.02rem;
  margin: 22px 0 0;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-weight: 600;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(47, 40, 38, 0.08);
}

.button-primary {
  background: var(--text);
  color: white;
  border-color: var(--text);
}

.button-secondary {
  background: rgba(255,255,255,0.58);
}

.quick-facts {
  display: grid;
  grid-template-columns: max-content max-content max-content; /* Boxen werden so breit wie Inhalt */
  gap: 14px;
  margin-top: 28px;
  justify-content: start; /* nicht auseinanderziehen */
}

.fact-card,
.panel,
.contact-card {
  border: 1px solid rgba(47, 40, 38, 0.08);
  background: rgba(255,253,250,0.78);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.fact-card {
  padding: 20px 32px;
}

.fact-label {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 6px;
}

.hero-visual {
  position: relative;
  padding: 18px 0 30px 18px;
}

.portrait-card {
  overflow: hidden;
  border-radius: 34px;
  background: rgba(255,255,255,0.65);
  border: 1px solid rgba(47, 40, 38, 0.08);
  box-shadow: var(--shadow);
}

.portrait-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.section-heading {
  margin-bottom: 24px;
}

.section-heading h2,
.contact-card h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.profile-grid,
.split-grid,
.education-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.82fr);
  gap: 24px;
}

.profile-panel,
.timeline-item,
.contact-card,
.panel {
  padding: 24px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.stat-card {
  min-height: 150px;
}

.stat-value {
  display: block;
  font-size: 2rem;
  line-height: 1;
  font-weight: 800;
  margin-bottom: 14px;
}

.timeline {
  position: relative;
  display: grid;
  gap: 18px;
  margin-left: 18px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: -18px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: rgba(47, 40, 38, 0.14);
}

.timeline-item {
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -31px;
  top: 30px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--rose-deep);
  box-shadow: 0 0 0 6px rgba(204, 184, 180, 0.24);
}

.highlight-panel {
  background: linear-gradient(180deg, rgba(255,253,250,0.95), rgba(247,239,231,0.95));
}

.timeline-meta {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.timeline-item h3,
.panel h3 {
  margin: 12px 0 6px;
  font-size: 1.1rem;
}

.timeline-company {
  margin: 0 0 14px;
  color: var(--muted);
  font-weight: 600;
}

.timeline-item ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
}

.result-badge {
  margin: 16px 0 0;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(204, 184, 180, 0.16);
  font-size: 0.92rem;
  font-weight: 600;
}

.skill-panels,
.stacked-panels {
  display: grid;
  gap: 18px;
}

.tools-column {
  display: grid;
  gap: 18px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.tag-list span {
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(204, 184, 180, 0.16);
  border: 1px solid rgba(47, 40, 38, 0.06);
  font-size: 0.88rem;
}

.language-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.language-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(47, 40, 38, 0.08);
}

.language-list div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.contact-area {
  padding-bottom: 56px;
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(240px, 0.7fr);
  gap: 22px;
  align-items: center;
}

.contact-card p:last-child {
  margin-bottom: 0;
}

.site-footer {
  padding: 0 0 44px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding-top: 4px;
}

.footer-inner p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-button {
  min-width: 136px;
}


@media (max-width: 1080px) {
  .hero-grid,
  .profile-grid,
  .split-grid,
  .education-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .quick-facts {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: 14ch;
  }

  .hero-visual {
    padding-left: 0;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .header-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .main-nav {
    gap: 12px 14px;
  }

  .hero h1 {
    font-size: clamp(2.1rem, 12vw, 3.3rem);
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .timeline {
    margin-left: 14px;
  }

  .timeline::before {
    left: -14px;
  }

  .timeline-item::before {
    left: -26px;
  }

  .panel,
  .timeline-item,
  .contact-card,
  .profile-panel {
    padding: 20px;
    border-radius: 22px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
