/* GLOBALE VARIABLEN */
:root {
  --blue-800: #293654;
  --blue-mid: #5c6f96;
  --blue-light: #dbe7f6;
  --blue-050: #F0F6FF;
  --bg: #F1F5F8;
  --text: #293654;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --section-padding: 60px;
}

* {
  box-sizing: border-box;
  
}

html {
  scroll-behavior: smooth;
  font-size: 13px;
  width: 100%;
}

body {
  margin: 0;
  padding: 0;
  width: 100vw;
  overflow-x: hidden;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

/* LAYOUT KOMPONENTEN */
.container {
  width: min(1000px, 92vw);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

section {
  padding: var(--section-padding) 0;
  position: relative;
  width: 100%;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: .05;
  mix-blend-mode: multiply;
  background-image: radial-gradient(circle at 12% 28%, rgba(32, 33, 41, .16) 0 1px, transparent 2px);
  background-size: 360px 360px;
  filter: blur(.6px);
  z-index: 0;
}

/* TYPOGRAFIE & BUTTONS */
h2 {
  font-family: 'Questrial', sans-serif;
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin: 0 0 12px;
  color: rgba(41, 54, 84, .65);
}

h3 {
  font-family: 'Belleza', serif;
  font-size: 38px;
  margin: 0 0 16px;
  line-height: 1.1;
  color: var(--blue-800);
}

p {
  max-width: 60ch;
  line-height: 1.8;
  color: rgba(41, 54, 84, .8);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 999px;
  font-family: 'Questrial', sans-serif;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s var(--ease);
  cursor: pointer;
  border: none;
}

.btn--primary {
  background: var(--blue-mid);
  color: #fff;
}

.btn--secondary {
  background: var(--blue-light);
  color: var(--text);
}

/* HERO SECTION */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  padding: 0;
  background: linear-gradient(to top, var(--bg) 0%, #E6EBF2 100%);
}

.hero__logo img {
  width: min(600px, 70vw);
  height: auto;
  position: relative;
  margin-left: -10vw;
  margin-top: 5vh;
}

.hero__corner {
  position: absolute;
  right: 32px;
  bottom: 32px;
  max-width: 260px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--blue-800);
  text-align: right;
}

.hero__nav {
  position: absolute;
  right: 60px;
  bottom: 32px;
  max-width: 260px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--blue-800);
  text-align: right;
}

.hero__nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: right;
}

.hero__nav-list li {
  margin-bottom: 8px;
}

.hero__nav-link {
  font-family: 'Questrial', sans-serif;
  font-size: 16px;
  text-decoration: none;
  color: var(--blue-800);
  opacity: 0.6;
  transition: all 0.3s var(--ease);
  display: inline-block;
  letter-spacing: 0.5px;
}

.hero__nav-link:hover {
  opacity: 1;
  transform: translateX(-5px);
  color: var(--blue-mid);
}



/* ORBS & ANIMATIONEN */
.global-orbs-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.global-orbs-container .orbs {
  position: absolute;
}


.orbs {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: visible !important;
}

.orb {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: visible !important;
  z-index: 0;
  width: var(--size);
  height: var(--size);
  left: var(--x);
  top: var(--y);
  opacity: var(--o);
  filter: saturate(0.9);
}

.orb__inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(130% 130% at 30% 30%, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.1) 50%, rgba(92, 111, 150, 0.05) 100%);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: inset 10px 10px 25px rgba(255, 255, 255, 0.9), inset -10px 15px 35px rgba(110, 170, 235, 0.35), inset 15px -15px 35px rgba(92, 111, 150, 0.2), inset -10px -20px 40px rgba(41, 54, 84, 0.25), 0 20px 45px rgba(41, 54, 84, 0.12);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  animation: floaty var(--t, 26s) ease-in-out infinite;
}

.ring {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.5), 0 0 40px rgba(110, 170, 235, 0.3), inset 0 0 20px rgba(255, 255, 255, 0.2);
  mix-blend-mode: screen;
  opacity: 0.9;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0) scale(1.35); }
  50% { transform: translateY(-22px) scale(1.35); }
}

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

.sparkle-wrapper {
  position: absolute;
  display: flex;
  gap: 6px;
  align-items: center;
  opacity: 0;
  animation: twinkle var(--duration) ease-in-out infinite;
  animation-delay: var(--delay);
}

.sparkle-dot {
  border-radius: 50%;
  background-color: var(--color);
  box-shadow: 0 0 10px var(--color);
}

@keyframes twinkle {
  0% {
    opacity: 0;
    transform: translateY(0) scale(0.5);
  }
  50% {
    opacity: var(--max-opacity);
    transform: translateY(-20px) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-40px) scale(0.5);
  }
}

.sticky-container, 
.skills-sticky-wrapper, 
.about-sticky-wrapper,
.journey-sticky,
.skills-sticky-section,
.projects-masonry-fixed .about-sticky-wrapper {
    overflow: visible !important;
}

body {
    overflow-x: hidden;
}

section .orbs {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.journey-layout, 
.skills-sticky-wrapper .container,
.projects-masonry-fixed .container {
    position: relative;
    z-index: 2;
}

/* BACK TO TOP */
.back-to-top-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 25px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
  transform: translateY(20px);
}

.back-to-top-container.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top-container:hover {
  transform: translateY(-5px);
}

.back-to-top-container .orb {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  flex-shrink: 0;
}

.back-to-top-btn {
  margin-bottom: 30px;
}

.arrow-bubble {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--text);
}

.arrow-bubble svg {
  width: 18px;
  height: 18px;
  filter: drop-shadow(0 1px 1px rgba(255, 255, 255, 0.6));
}

/* FOOTER ORBS */
.orbs.orbs--end {
  position: relative;
  margin: 24px 120px 48px auto !important;
  width: 300px;
  transform: scaleX(-1);
  z-index: 2;
}

.orbs.orbs--end .orb {
  width: calc(var(--size) * 0.36) !important;
  height: calc(var(--size) * 0.36) !important;
}





/* ===== About ===== */

.about-sticky-section {
  height: 200vh;
  position: relative;
}

.about-sticky-wrapper {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.about {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: center;
  width: min(1140px, 92vw);
  margin: 0 auto;
}

.about__illustration img {
  width: 100%;
  max-width: 420px;
  height: auto;
  filter: drop-shadow(0 20px 50px rgba(41, 54, 84, 0.1)); 
}

.about__content-box h2 {
  font-family: Questrial, sans-serif;
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin: 0 0 12px;
  color: rgba(41, 54, 84, 0.65);
}

.about__content-box h3 {
  font-family: Belleza, serif;
  font-size: 42px;
  margin: 0 0 16px;
  line-height: 1.1;
  color: var(--blue-800);
}

.about__content-box p {
  max-width: 60ch;
  line-height: 1.8;
  color: rgba(41, 54, 84, 0.8);
  font-size: 16px;
}

.about__actions {
  margin-top: 32px;
  display: flex;
  gap: 16px;
}



/* === Journey === */
.journey-sticky {
  height: 1000vh;
  position: relative;
  width: 100%;
}

.sticky-container {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  padding: 0;
  margin: 0;
}

.journey-header {
  position: absolute;
  top: 25px;
  left: 25px;
  z-index: 10;
}

.journey-header h2 {
  font-family: 'Questrial', sans-serif;
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin: 0 0 8px;
  color: rgba(41, 54, 84, 0.65);
}

.journey-header h3 {
  font-family: 'Belleza', serif;
  font-size: 38px;
  margin: 0;
  line-height: 1.1;
  color: #293654;
}

.timeline-viewport {
  position: relative;
  height: 90vh;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(79, 99, 140, 0.15);
  transform: translateX(-50%);
  z-index: 1;
}

.timeline-anchor {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 12px;
  background: white;
  border: 2px solid #d2e1f8;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 20px rgba(210, 225, 248, 1);
  z-index: 10;
}

.timeline-step {
  position: absolute;
  width: 420px;
  top: 0;
  opacity: 0;
  will-change: transform, opacity;
  text-align: left !important;
}

.timeline-step[data-side="right"] {
  left: calc(50% + 60px);
}

.timeline-step[data-side="left"] {
  right: calc(50% + 60px);
}

.journey-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-radius: 24px;
  padding: 20px 28px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(49, 61, 90, 0.1);
  box-shadow: 0 10px 35px rgba(41, 54, 84, 0.08);
}

.timeline-date {
  font-family: 'Questrial', sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(41, 54, 84, 0.5);
  margin-bottom: 6px;
}

.journey-card__img {
  width: 90px;
  height: auto;
  margin-bottom: 4px;
  object-fit: contain;
  display: block;
  align-self: flex-end;
}

.journey-card h4 {
  font-family: 'Belleza', serif;
  font-size: 20px;
  margin: 0;
  color: #293654;
}

.institution {
  font-family: 'Questrial', sans-serif;
  font-size: 14px;
  color: #5c6f96;
  font-weight: 600;
  margin: 0;
}

.journey-card .mini {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(41, 54, 84, 0.8);
  margin-top: 4px;
}




/* === Skills === */

.skills-sticky-section {
  height: 200vh;
  position: relative;
}

.skills-sticky-wrapper {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  width: 100%;
}

.skills-header {
  margin-bottom: 40px;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
}

.slider-card {
  min-height: 400px !important;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 30px 25px !important;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 22px !important;
  border: 1px solid rgba(49, 61, 90, 0.08);
}

.slider-card h4 {
  font-family: 'Belleza', serif;
  font-size: 20px;
  margin: 0;
  color: var(--blue-800);
}

.skill-group {
  margin-top: 35px;
}

.skill-group:first-of-type {
  margin-top: 25px;
}

.skill-group h5 {
  font-family: 'Questrial', sans-serif;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: rgba(41, 54, 84, 0.45);
  margin: 0 0 14px 0;
  border-bottom: 1px solid rgba(49, 61, 90, 0.06);
  padding-bottom: 6px;
}

.skill-row {
  margin-bottom: 16px;
}

.skill-row:last-child {
  margin-bottom: 0;
}

.skill-row span {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--blue-800);
  font-weight: 500;
  display: block;
  margin-bottom: 6px;
}

.bar-bg {
  width: 100%;
  height: 2px;
  background: rgba(79, 99, 140, 0.08);
  border-radius: 2px;
}

.slider-card:hover .bar-bg {
  height: 6px;
}

.bar-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #4F638C, #D2E1F8);
  border-radius: 2px;
  transition: width 1.2s var(--ease);
}

.slider-card:hover .bar-fill {
  width: var(--level);
}



/* === PROJECTS === */
.projects-masonry-fixed {
  height: 300vh;
  position: relative;
  width: 100%;
}


.projects-masonry-fixed .about-sticky-wrapper {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  overflow: hidden;
  isolation: isolate;
}

.projects-masonry-fixed .orbs {
    position: absolute !important;
    inset: 0 !important;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.projects-masonry-fixed .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(1000px, 92vw);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}


.projects-header {
  margin-bottom: 40px; 
  flex-shrink: 0;
}


.projects-grid-rect {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 200px);
  gap: 20px;
  width: 100%;
  height: 400px; 
  max-height: 400px; 
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: auto; 
  padding-bottom: 200px;

  -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
  transition: -webkit-mask-image 0.3s ease;
}

.projects-grid-rect::-webkit-scrollbar {
  display: none;
}

.masonry-item {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(49, 61, 90, 0.08);
}

.p-1 { grid-column: 1; grid-row: 1 / 3; }
.p-2 { grid-column: 1; grid-row: 3; }
.p-3 { grid-column: 2; grid-row: 1; }
.p-4 { grid-column: 2; grid-row: 2; }
.p-5 { grid-column: 2; grid-row: 3; }
.p-6 { grid-column: 3; grid-row: 1; }
.p-7 { grid-column: 3; grid-row: 2 / 4; }

.project-card { 
  position: relative;
  width: 100%; 
  height: 100%; 
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s var(--ease);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(240, 246, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 25px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0.4s;
  z-index: 2;
}

.project-card:hover .project-overlay {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.overlay-content h4 {
  font-family: 'Belleza', serif;
  font-size: 20px;
  color: #293654;
  margin: 0 0 8px 0;
}

.overlay-content p {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: #5c6f96;
  margin: 0 0 16px 0;
}

.overlay-content .tag {
  font-family: 'Questrial', sans-serif;
  font-size: 10px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 999px;
  background: #dbe7f6;
  color: #5c6f96;
  text-transform: uppercase;
}




/* ===== Footer ===== */
.footer {
  padding: 80px 0 20px;
  width: 100%;
  position: relative;
  overflow: visible;
}

.footer__cta-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 120px;
  padding-bottom: 0;
}

.footer__cta {
  text-align: center;
  z-index: 2;
  margin-top: -40px;
}

.footer__cta h3 {
  font-family: 'Belleza', serif;
  font-size: 38px;
  color: var(--blue-800);
  margin-bottom: 24px;
}

.footer__btn {
  background: #D2E1F8;
  color: var(--blue-800);
  border: 1px solid rgba(41, 54, 84, 0.1);
  padding: 12px 40px;
  font-size: 14px;
  border-radius: 999px;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer__btn:hover {
  background: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(41, 54, 84, 0.1);
}

.footer__person {
  position: absolute;
  right: 0;
  bottom: -190px;
  width: 280px;
  z-index: 3;
  margin-right: 50px;
}

.footer__person img {
  width: 100%;
  height: auto;
  display: block;
}

.footer__divider {
  border: none;
  height: 1px;
  background: rgba(79, 99, 140, 0.2);
  margin: 0;
  margin-bottom: 20px;
}

.footer__main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 60px 0 30px;
}

.footer__name {
  font-family: 'Belleza', serif;
  font-size: 22px;
  margin: 0 0 5px;
  color: var(--blue-800);
}

.footer__tagline {
  font-size: 14px;
  color: var(--blue-mid);
  margin: 0;
}

.footer__contact {
  text-align: right;
  font-size: 14px;
  color: var(--blue-800);
  line-height: 1.6;
}

.footer__contact p {
  margin: 0 0 10px 0;
}

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

.footer__divider--small {
  border: none;
  height: 1px;
  background: rgba(79, 99, 140, 0.2); 
  margin: 0;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--blue-800);
  padding: 5px 0;
  margin-top: -15px;
}

.footer__legal {
  display: flex;
  gap: 20px;
}

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

/* =========================================
   MOBILE FIXES (max-width: 820px)
   ========================================= */
 /* =========================================
   MOBILE FIXES (max-width: 820px) - AKTUALISIERT
   ========================================= */
@media (max-width: 820px) {

  /* 1. HORIZONTALES SCROLLEN STOPPEN & GLOBAL */
  html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
    position: relative;
  }
  
  .global-orbs-container, .hero, section {
    width: 100%;
    overflow-x: hidden !important;
  }

  /* --- NEU: BUBBLE POSITIONIERUNG --- */
  /* Generelle Verkleinerung */
 .orb {
    position: absolute !important;
    transform: scale(0.6);
    opacity: 0.4 !important;
  }

  /* Linke Bubble nach oben links */
 .global-orbs-container .orb:nth-child(1),
  .hero .orb:nth-child(1) {
      top: -60px !important;
      left: 200px !important;
      right: auto !important;
      bottom: auto !important;
      display: block !important;
      z-index: 0;
  }

  /* Rechte Bubble nach unten rechts */
.global-orbs-container .orb:nth-child(2),
  .hero .orb:nth-child(2),
  .hero .orb:last-child {
      top: auto !important;
      bottom: -60px !important;
      right: -60px !important;
      left: auto !important;
  }
  /* ---------------------------------- */


  .container {
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
  }

  /* 2. HEADER & NAV (Rechts unten, ohne Hintergrund) */
  .hero__nav {
    position: absolute !important;
    top: auto !important;
    bottom: 30px !important;
    right: 20px !important;
    width: auto;
    z-index: 10;
  }
  
  .hero__nav-list {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  
  .hero__nav-link {
    font-size: 14px;
    background: transparent !important;
    backdrop-filter: none !important;
    padding: 2px 0;
    color: var(--blue-800);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.9);
  }

  .hero__logo img {
    margin-left: 0 !important;
    width: 90% !important;
    margin-top: 15vh !important;
  }


  /* 3. ABOUT SECTION */
  .about-sticky-section { height: auto !important; min-height: auto; }

  .about-sticky-wrapper {
    position: relative !important;
    height: 100dvh !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
  }

  .about {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
    padding-top: 60px;
  }

  .about__illustration img {
    max-width: 160px;
    height: auto;
    margin: 0 auto;
    display: block;
  }

  /* Einheitliche Überschriftengröße */
  .about__content-box h3,
  .journey-header h3,
  .skills-header h3,
  .projects-header h3,
  .footer__cta h3 {
    font-size: 26px !important; 
    line-height: 1.2 !important;
    margin-bottom: 15px;
  }
  
  .about__content-box h2 { margin-bottom: 5px; }

  .about__content-box p {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
  }

  .about__actions { margin-top: 10px; justify-content: center; }
  .btn { padding: 10px 20px; font-size: 13px; }


  /* 4. JOURNEY / PATH */
  .journey-sticky, .sticky-container {
    height: auto !important;
    position: relative !important;
    display: block !important;
    padding-bottom: 40px;
  }
  
  .journey-header { position: relative; left: 0; margin-bottom: 0; }

  .timeline-viewport {
    height: auto !important;
    overflow: visible !important;
    display: block !important;
    padding-left: 30px; 
    margin-top: 60px;
  }

  .timeline-line {
    display: block !important;
    left: 15px !important;
    top: -30px !important;
    bottom: 0 !important;
    width: 2px !important;
    background: rgba(79, 99, 140, 0.3) !important;
  }
  
  .timeline-anchor { display: none !important; }

  .timeline-steps {
    display: flex;
    flex-direction: column;
    /* --- NEU: Größerer Abstand zwischen den Cards --- */
    gap: 70px; 
  }

  .timeline-step {
    position: relative !important;
    width: 100% !important;
    left: 0 !important;
    right: auto !important;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: all !important;
    margin: 0 !important;
    padding-left: 15px;
  }

  /* --- NEU: Punkt auf der Linie (Ausgefüllt) --- */
  .timeline-step::before {
    content: '';
    position: absolute;
    left: -22px; /* Leicht angepasst für die neue Größe */
    top: 5px;
    width: 14px; /* Etwas größer */
    height: 14px;
    background: #5c6f96 !important; /* Mit Blau gefüllt */
    border: none !important; /* Kein Rahmen mehr */
    border-radius: 50%;
    z-index: 5;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.8); /* Optional: Weißer Ring drumherum für Kontrast zur Linie */
  }


  /* 5. SKILLS */
  .skills-sticky-section { height: auto !important; }
  .skills-sticky-wrapper { position: relative !important; height: auto !important; padding: 40px 0; }
  
  .skills-grid { grid-template-columns: 1fr; gap: 30px; }
  .slider-card { min-height: auto !important; padding: 25px 20px !important; }

  .skill-row .bar-fill {
    width: 0 !important;
    transition: width 1.5s ease-out;
  }
  
  .slider-card.animate-skills .skill-row .bar-fill {
    width: var(--level) !important; 
  }


  /* 6. PROJECTS */
  .projects-masonry-fixed { height: auto !important; }
  .projects-masonry-fixed .about-sticky-wrapper { height: auto !important; padding: 40px 0; display: block !important; }
  
  .projects-grid-rect {
    display: flex !important;
    flex-direction: column;
    height: auto !important;
    max-height: none !important;
    mask-image: none !important;
    -webkit-mask-image: none !important;
    gap: 30px;
    overflow: visible !important;
  }

  .masonry-item { height: 280px; width: 100%; }
  .project-overlay { background: rgba(240, 246, 255, 0.92); }


  /* 7. FOOTER & BACK TO TOP */
  .footer__person { display: none !important; }
  
  .footer__cta-wrapper { flex-direction: column; margin-bottom: 40px; }

  .footer__main {
    flex-direction: column;
    text-align: center;
    padding: 40px 0 20px;
    gap: 30px;
  }

  .footer__contact { text-align: center; }

  .back-to-top-container {
    right: 15px;
    bottom: 15px;
    transform: scale(0.7);
    transform-origin: bottom right;
  }
  
  .back-to-top-container:hover { transform: scale(0.7); }
}
