body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #ddd;
  color: #000;
  overflow: hidden;
}
body.pink-mode {
  background: #000;          /* Hintergrund wird schwarz */
  color: #fb00ff;            /* Text wird pink */
}

body.pink-mode .dot {
  color: #fb00ff;
}

body.pink-mode .project-table .row.active {
  border-bottom: 1px dotted #fb00ff;
}
header {
  display: flex;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  font-size: 14px;
}

.nav-center {
  text-align: center;
}



.image-viewer {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.image-viewer img {
  max-height: 90vh;
  max-width: 90vw;
  transition: opacity 0.2s ease-in-out;
}

.project-table {
  position: absolute;
  bottom: 30px;
  left: 30px;
  width: auto;
  font-size: 13px; /* ↓ kleiner gemacht */
  line-height: 1.4; /* ↓ enger gesetzt */
}

.project-table .row {
  display: grid;
  grid-template-columns: 200px 200px 60px; /* ↓ Spalten schmaler */
  padding: 1px 0; /* ↓ weniger Abstand */
  border-bottom: 1px dotted transparent;
  cursor: pointer;
  white-space: nowrap;
}

.project-table .row.header {
  font-weight: bold;
  pointer-events: none;
}

.project-table .row.active {
  border-bottom: 1px dotted black;
}

.project-table .dot {
  color: black;
  margin-left: 4px;
  font-size: 14px;
}

.arrow-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  cursor: pointer;
  user-select: none;

}

.arrow-nav.left {
  left: 30px;
}

.arrow-nav.right {
  right: 30px;
}

.contact-text {
  position: relative;
  text-decoration: none;
  color: inherit;
}
.contact-text {
  position: relative;
  text-decoration: none;
  color: inherit;
}

.hearts-container {
  position: absolute;
  top: 0;
  left: 50%;
  pointer-events: none;
}

.heart {
  position: absolute;
  top: 0;
  left: 0;
  font-size: calc(7px * var(--s)); /* 💥 größer */
  transform: translateX(var(--x)) translateY(0);
  opacity: 0;
  animation: none;
}

.contact-text:hover .heart {
  animation: fallDown 2.2s ease-in-out forwards; /* 💥 langsamer */
  animation-delay: calc(0.2s * var(--i)); /* 💥 mehr Abstand */
}

@keyframes fallDown {
  0% {
    transform: translateX(var(--x)) translateY(0) scale(var(--s));
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  60% {
    transform: translateX(calc(var(--x) * 1.1)) translateY(40px) scale(var(--s));
    opacity: 1;
  }
  100% {
    transform: translateX(calc(var(--x) * 1.3)) translateY(80px) scale(var(--s));
    opacity: 0;
  }

}


.infinity-bar {
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 30px;
  overflow: hidden;
  background: transparent;
  z-index: 9999;
  font-size: 12px;
  line-height: 30px;
  white-space: nowrap;
  color: inherit;
}

.infinity-scroll {
  display: flex;
  animation: scroll-left 100s linear infinite;
}

.infinity-scroll span {
  padding-right: 2rem;
}
@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.pink-heart {
  color: rgb(255, 0, 247); /* oder #ff69b4 etc. */
}


@media (max-width: 768px) {
 
  .project-table {
    bottom: 6vw;
    left: 0;
    right: 0;
    width: 100%;
    padding: 0 1vw; /* gleichmäßiger Abstand rechts + links */
    box-sizing: border-box;
  }
  


  .project-table .row {
    display: grid;
    grid-template-columns: 1.6fr 0.4fr; /* 2 gleich breite Spalten */
    font-size: 14px;
    padding: 2px 2px;
    border-bottom: 1px solid #ccc;
  }

  .project-table .row.header {
    font-weight: bold;
    border-bottom: 2px solid black;
  }

  /* Client-Spalte (mittlere Spalte = 2. div) ausblenden */
  .project-table .row div:nth-child(2) {
    display: none;
  }

  /* Pfeile neu positionieren */
  .arrow-nav {
    top: auto;
    bottom: 260px; /* über der Projektliste */
    transform: translateX(-50%);
    font-size: 2.5rem;
    position: absolute;
    left: 90%;
    z-index: 999;
  }

  .arrow-nav.left {
    display: none;
  }

  .arrow-nav.right {
    display: none;
  }

  .image-viewer {
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
  }
  
  .image-viewer img {
    max-height: 80vh;
    max-width: 80vw;
    transition: opacity 0.2s ease-in-out;
  }



  .infinity-bar {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 50px; /* größer gemacht */
    background: transparent;
    z-index: 9999;
    font-size: 11vw; /* etwas größer */
    line-height: 50px; /* an neue Höhe angepasst */
    overflow: hidden;
    white-space: nowrap;
    color: inherit;
    pointer-events: none; /* verhindert, dass sie klickbar ist */
  }
  

.infinity-scroll {
  display: flex;
  animation: scroll-left 100s linear infinite;
}

.infinity-scroll span {
  padding-right: 2rem;
}
@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

}

