:root {
  --bg: #0b0f19;
  --bg-soft: #111827;
  --surface: rgba(255, 255, 255, 0.08);
  --surface-strong: rgba(255, 255, 255, 0.13);
  --border: rgba(255, 255, 255, 0.16);
  --text: #f8fafc;
  --text-muted: #b6c2d1;
  --accent: #b44a3c;
  --accent-light: #f59b88;
  --accent-dark: #7f2d25;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --max-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 10%, rgba(180, 74, 60, 0.25), transparent 28rem),
    radial-gradient(circle at 90% 5%, rgba(245, 155, 136, 0.13), transparent 24rem),
    var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  max-width: 100%;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  box-shadow: 0 0 18px rgba(245, 155, 136, 0.75);
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 999;
  width: min(calc(100% - 32px), var(--max-width));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: background 240ms ease, border-color 240ms ease, box-shadow 240ms ease, transform 240ms ease;
}

.site-header.scrolled {
  background: rgba(11, 15, 25, 0.76);
  border-color: var(--border);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-name {
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.brand-mark {
  position: relative;
  display: block;
  width: 44px;
  height: 44px;
  overflow: hidden;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 12px 28px rgba(180, 74, 60, 0.28), 0 0 0 6px rgba(180, 74, 60, 0.08);
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 45%);
  pointer-events: none;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
}

.site-nav a {
  position: relative;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 650;
  transition: color 180ms ease, background 180ms ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.1);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 17px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

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

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.65fr);
  align-items: center;
  gap: 42px;
  padding: 150px 0 90px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(8px);
  opacity: 0.75;
  animation: floatOrb 9s ease-in-out infinite;
}

.orb-one {
  top: 20%;
  right: 20%;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(180, 74, 60, 0.48), transparent 65%);
}

.orb-two {
  bottom: 12%;
  left: 8%;
  width: 210px;
  height: 210px;
  background: radial-gradient(circle, rgba(245, 155, 136, 0.25), transparent 68%);
  animation-delay: -3s;
}

.grid-glow {
  position: absolute;
  inset: 14% -10% auto;
  height: 520px;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, black 0%, transparent 68%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-light);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(4.2rem, 12vw, 9.4rem);
  line-height: 0.88;
  letter-spacing: -0.08em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4.1rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.22rem;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  max-width: 680px;
  color: var(--text);
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: -0.04em;
}

.hero-text,
.section-heading p,
.text-card p,
.goal-card p,
.contact-card p,
.timeline-content p,
.profile-card p {
  color: var(--text-muted);
}

.hero-text {
  max-width: 650px;
  margin-bottom: 32px;
  font-size: 1.05rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button-primary {
  background: linear-gradient(145deg, var(--accent), var(--accent-dark));
  color: white;
  box-shadow: 0 16px 38px rgba(180, 74, 60, 0.34);
}

.button-primary:hover {
  box-shadow: 0 20px 52px rgba(180, 74, 60, 0.48);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border);
  color: var(--text);
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
}

.button-ghost:hover {
  border-color: var(--border);
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
}

.button-whatsapp {
  background: rgba(37, 211, 102, 0.12);
  border-color: rgba(37, 211, 102, 0.32);
  color: #4cd97b;
}

.button-whatsapp:hover {
  background: rgba(37, 211, 102, 0.22);
  border-color: rgba(37, 211, 102, 0.55);
  box-shadow: 0 16px 38px rgba(37, 211, 102, 0.18);
}

.profile-card,
.text-card,
.highlight-card,
.skill-card,
.goal-card,
.contact-card,
.timeline-content {
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.055));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.profile-card {
  display: grid;
  gap: 24px;
  padding: 30px;
  border-radius: var(--radius-xl);
  transform-style: preserve-3d;
}

.profile-avatar {
  position: relative;
  width: 132px;
  height: 132px;
  overflow: hidden;
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 26px 58px rgba(0, 0, 0, 0.3), 0 0 0 10px rgba(180, 74, 60, 0.08);
}

.profile-avatar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 40%);
  pointer-events: none;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.profile-label,
.timeline-meta {
  margin-bottom: 6px;
  color: var(--accent-light) !important;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.profile-card h2 {
  margin-bottom: 10px;
  font-size: 2.4rem;
}

.profile-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.profile-stats div {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
}

.profile-stats strong,
.profile-stats span {
  display: block;
}

.profile-stats strong {
  font-size: 0.95rem;
}

.profile-stats span {
  color: var(--text-muted);
  font-size: 0.84rem;
}

.content-section {
  padding: 100px 0;
  scroll-margin-top: 110px;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 22px;
}

.text-card,
.highlight-card,
.skill-card,
.goal-card,
.contact-card,
.timeline-content {
  border-radius: var(--radius-lg);
}

.text-card,
.highlight-card,
.skill-card,
.goal-card,
.contact-card {
  padding: 30px;
}

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

.card-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: rgba(180, 74, 60, 0.18);
  color: var(--accent-light);
  font-size: 1.5rem;
  font-weight: 800;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--text-muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-light);
  box-shadow: 0 0 0 6px rgba(245, 155, 136, 0.12);
}

.timeline {
  position: relative;
  display: grid;
  gap: 20px;
  margin-top: 42px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 15px;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(245, 155, 136, 0.55), transparent);
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 18px;
}

.timeline-dot {
  position: relative;
  z-index: 1;
  width: 31px;
  height: 31px;
  margin-top: 20px;
  border: 8px solid var(--bg);
  border-radius: 50%;
  background: var(--accent-light);
  box-shadow: 0 0 0 1px rgba(245, 155, 136, 0.35), 0 0 34px rgba(245, 155, 136, 0.34);
}

.timeline-content {
  padding: 24px 26px;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.timeline-content:hover,
.skill-card:hover,
.highlight-card:hover,
.text-card:hover {
  transform: translateY(-5px);
  border-color: rgba(245, 155, 136, 0.35);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.07));
}

/* ── Timeline: aufklappbare Detailbereiche ── */

.timeline-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.timeline-title-row h3 {
  flex: 1;
  margin-bottom: 12px;
}

.timeline-chevron {
  flex-shrink: 0;
  margin-top: 5px;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg);
  transition: transform 280ms cubic-bezier(0.2, 0.72, 0.24, 1), border-color 280ms ease;
}

.timeline-content[aria-expanded="true"] .timeline-chevron {
  transform: rotate(-135deg);
  border-color: var(--accent-light);
}

.timeline-content[aria-expanded="true"] {
  border-color: rgba(245, 155, 136, 0.45);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.08));
  box-shadow: 0 0 0 1px rgba(245, 155, 136, 0.18), 0 24px 80px rgba(0, 0, 0, 0.35);
  transform: translateY(-5px);
}

.timeline-details {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-6px);
  transition:
    max-height 420ms cubic-bezier(0.2, 0.72, 0.24, 1),
    opacity 320ms ease,
    transform 320ms ease;
}

.timeline-content[aria-expanded="true"] .timeline-details {
  max-height: 600px;
  opacity: 1;
  transform: translateY(0);
}

.timeline-detail-label {
  margin: 14px 0 6px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  color: var(--accent-light);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.timeline-detail-label + .timeline-detail-list {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.timeline-detail-list {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding: 16px 0 0;
  list-style: none;
  border-top: 1px solid var(--border);
}

.timeline-detail-list li {
  position: relative;
  padding-left: 22px;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.timeline-detail-list li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-light);
  opacity: 0.65;
}

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

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chips span {
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 650;
}

.goal-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 16px;
  min-height: 420px;
  align-content: center;
  padding: clamp(32px, 6vw, 72px);
}

.goal-card::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -160px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 155, 136, 0.24), transparent 68%);
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
}

.contact-card h2 {
  max-width: 760px;
}

.contact-actions {
  justify-content: flex-end;
}

.site-footer {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
  padding: 28px 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}

.site-footer a {
  font-weight: 800;
  color: var(--text);
}

.footer-links {
  display: flex;
  gap: 20px;
  align-items: center;
}

.reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.98);
  transition:
    opacity 700ms ease,
    transform 700ms cubic-bezier(0.2, 0.72, 0.24, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.delay-1 {
  transition-delay: 120ms;
}

.delay-2 {
  transition-delay: 240ms;
}

@keyframes floatOrb {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(18px, -24px, 0) scale(1.08);
  }
}

@media (max-width: 980px) {
  .hero,
  .two-column,
  .contact-card {
    grid-template-columns: 1fr;
  }

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

  .contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .site-header {
    top: 12px;
  }

  .menu-toggle {
    display: inline-block;
  }

  .site-nav {
    position: fixed;
    top: 72px;
    right: 16px;
    left: 16px;
    display: grid;
    gap: 4px;
    padding: 14px;
    border-radius: 24px;
    background: rgba(11, 15, 25, 0.94);
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-nav.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .site-nav a {
    padding: 14px 16px;
  }

  .hero {
    padding-top: 132px;
  }

  .hero-actions,
  .contact-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

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

  .content-section {
    padding: 74px 0;
  }
}



@media (max-width: 520px) {
  .brand-name {
    font-size: 0.98rem;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .profile-avatar {
    width: 116px;
    height: 116px;
    border-radius: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
