:root {
  --white: #ffffff;
  --black: #000000;
  --pink: #f7c6d9;
  --pink-dark: #e4a6bb;
  --blue: #7ec8e3;
  --orange: #ffa008;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@keyframes gradientAnimation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

body {
  background: linear-gradient(
    270deg,
    #fde6ef,
    #f3e6fb,
    #d8eff9,
    #fde6ef,
    #d8eff9
  );
  background-size: 800% 800%;
  animation: gradientAnimation 60s ease infinite;
  color: var(--black);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.6;
}

/* Header */
header {
  display: grid;
  grid-template-columns: 150px 1fr 150px;
  align-items: center;
  padding: 2rem 3vw;
  text-transform: uppercase;
  border-bottom: 1px solid #eee;
}

.header-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  text-align: left;
  justify-self: start;
}

.header-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-self: center;
  gap: 0.5rem;
  text-align: center;
  width: 100%;
  max-width: 600px; /* Breiter für den Text */
}

.logo {
  max-width: 150px; /* Logo größer */
  height: auto;
  margin-bottom: 0.5rem;
  display: block;
}

header h1 {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin: 0;
  white-space: nowrap; /* verhindert Zeilenumbruch */
}

.subcategories {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
  letter-spacing: 1px;
  color: var(--pink);
  transition: color 0.3s;
}

.subcategories span:hover {
  color: var(--pink-dark);
}

.header-right {
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--black);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-end;
  justify-self: end;
  text-align: right;
  max-width: 200px;
}

.header-right a {
  color: var(--black);
  text-decoration: none;
  border-bottom: 1px solid var(--pink);
  transition: color 0.3s, border-color 0.3s;
}

.header-right a:hover {
  color: var(--pink-dark);
  border-color: var(--pink-dark);
}

/* Projektboxen */
.projects {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  padding: 5rem 3vw;
}

.project-box {
  position: relative;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 30px;
  box-shadow: 0 12px 30px rgba(200, 150, 200, 0.3);
  backdrop-filter: blur(14px) brightness(1.05);
  -webkit-backdrop-filter: blur(14px) brightness(1.05);
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 3rem 4rem;
  width: 85%;
  max-width: 1000px;
  color: var(--black);
  text-align: center;
  transition: all 0.4s ease;
  overflow: hidden;
}

.project-box::before {
  content: '';
  position: absolute;
  top: -40%;
  left: -40%;
  width: 180%;
  height: 180%;
  background: radial-gradient(circle at center, #f7c6d9 0%, #d8eff9 100%);
  opacity: 0.15;
  filter: blur(40px);
  z-index: 0;
  animation: floatGlow 10s ease-in-out infinite alternate;
}

.project-box:hover {
  transform: translateY(-10px) scale(1.015);
  box-shadow: 0 20px 50px rgba(200, 170, 240, 0.4);
}

/* Titel der Projekte jetzt Inter, bold, dunkler und klar */
.project-box h2 {
  position: relative;
  z-index: 1;
  margin-bottom: 1rem;
  font-size: 1.8rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  color: #000000; /* dunkle, warme Farbe */
}

.project-box p {
  position: relative;
  z-index: 1;
  font-size: 1.2rem;
  line-height: 1.8;
  font-family: 'Inter', sans-serif;
  color: var(--pink);
}

/* sanfte Animation */
@keyframes floatGlow {
  0% {
    transform: translate(0%, 0%);
  }
  100% {
    transform: translate(10%, 10%);
  }
}

/* Footer */
.footer-image {
  margin-top: 4rem;
  text-align: center;
  padding: 2rem 0;
}

.footer-image img {
  max-width: 150px;
  height: auto;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.footer-image img:hover {
  opacity: 1;
}

.scrolling-text {
    width: 100%;
    overflow: hidden;
    position: relative;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1.8rem;
    color: var(--pink-dark);
    text-transform: uppercase;
    letter-spacing: 4px;
    user-select: none;
    white-space: nowrap;
  }
  
  .scrolling-text .text-track {
    display: inline-block;
    padding-right: 2rem; /* Abstand zwischen den Wiederholungen */
    animation: scrollLeft 100s linear infinite;
  }
  
  .scrolling-text .text-track:nth-child(2) {
    position: absolute;
    top: 0;
    left: 100%;
  }
  
  @keyframes scrollLeft {
    0% {
      transform: translateX(0%);
    }
    100% {
      transform: translateX(-100%);
    }
  }
  