/* ---------- FONTS ---------- */
@font-face {
  font-family: 'SpaceGrotesk';
  src: url('../fonts/SpaceGrotesk-VariableFont_wght.ttf') format('truetype');
  font-weight: 300 700;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-VariableFont_opsz,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-display: swap;
}

/* ----- smooth inner-page-links ----- */

html {
  scroll-behavior: smooth;
}

/* ---------- ROOT ---------- */
:root {
  --pink: #ff00ff;
  --white: #ffffff;
}

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

/* ---------- BASICS ---------- */
body {
  font-family: 'Inter', sans-serif;
  background: #fff;
  color: #000;
  letter-spacing: 0.01em;
}

/* ---------- HERO ---------- */
#hero {
  height: 100vh;
  background: var(--pink);
  color: var(--white);
  position: relative;
  overflow: hidden;

  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
#artefont {
	  cursor: pointer;
  z-index: 2;

  display: flex;
  justify-content: center;
  align-items: center;

  width: min(90vw, 900px); /* Gesamtbreite begrenzen */
  margin: 0 auto;

  gap: 0.5vw;
}
#artefont:hover {
  opacity: 0.85;
}


#artefont img {
  height: clamp(40px, 10vh, 140px);
  width: auto;
}


/* artefont Intro Letters */
#artefont span {
  display: inline-block;
  opacity: 0;
  transform: translateY(-80px);
  transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}


#artefont img:last-child {
  animation: subtlePulse 4s infinite ease-in-out;
}

@keyframes subtlePulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}


.tagline {
  margin-top: 12px;

  font-size: 0.75rem;
  font-weight: bold;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  opacity: 0;
  transition: opacity 0.8s ease;

  color: white;

  pointer-events: none;
}

.tagline.visible {
  opacity: 0.6;
}


/* ---------- FLOATING LETTERS ---------- */

.topics {
  position: absolute;
  width: 100%;
  height: 100%;
  
  pointer-events: none;
  
  z-index: 1;

}

/* CLEAN FLOATING SYSTEM */
.floating {
  position: absolute;
  cursor: pointer;  
  pointer-events: auto;


  transform: translate(-50%, -50%) scale(0.6);

  opacity: 0;
  transform: scale(0.6);

  transition:
    transform 0.35s ease,
    opacity 0.6s ease;
	
	
}
.floating img {
/*  height: 10vw; */
  width: 100%;
  height: auto;
  display: block;  
  transition: all 0.35s ease;
}

/* becomes visible */
.floating.visible {
  opacity: 1;
  transform: scale(1);
}

/* Zustand versteckt (für Loop) */
.floating.dimmed {
  opacity: 0.2;
  transform: scale(0.9);
}


/* gentle movement */
@keyframes floatY {
  0% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0); }
}

.floating.visible {
  animation: floatY 6s ease-in-out infinite;
}

/* HOVER */
.floating:hover img {
  filter:
    brightness(1.4)
    drop-shadow(0 0 25px rgba(255, 0, 255, 0.9))
    drop-shadow(0 0 60px rgba(255, 0, 255, 0.6))
    drop-shadow(0 0 120px rgba(255, 0, 255, 0.4));

  transform: scale(1.08);
}

.floating:active {
  transform: scale(0.95);
}

/* LABEL */
.floating::after {
content: attr(data-label);

  position: absolute;
  left: 50%;

  transform: translate(-50%, 0);

  font-size: 0.9rem;
  letter-spacing: 0.08em;
  white-space: nowrap;

  opacity: 0;
  transition: all 0.3s ease;

  pointer-events: none;
}
/* Buchstabe UNTEN → Label OBERHALB */
.floating.below::after {
  bottom: 100%;
  transform: translate(-50%, -10px);
}

/* Buchstabe OBEN → Label UNTEN */
.floating.above::after {
  top: 100%;
  transform: translate(-50%, 10px);
}


/* HOVER */
.floating:hover::after {
  opacity: 1;
}

/* Bewegung korrekt getrennt */
.floating.above:hover::after {
  transform: translate(-50%, 20px);
}

.floating.below:hover::after {
  transform: translate(-50%, -20px);
}


/* ---------- CONTENT ---------- */

.content {	
  margin: 0 auto;
	
  min-height: 100vh;  
  padding: 0;   

  display: flex;
  flex-direction: column;
  justify-content: center;

  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.content p,
.content .lead {
  max-width: 65ch;
}


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

/* alternating */
.content:nth-of-type(odd) {
  background: var(--pink);
  color: white;
}

.content:nth-of-type(even) {
  background: white;
  color: black;
}

.content:nth-of-type(odd) h2, .content:nth-of-type(odd) a {
  color: white;
}

.content:nth-of-type(even) h2, .content:nth-of-type(even) a {
  color: var(--pink);
}

.content-inner {
  max-width: 1200px;
  margin: 0 auto;

  height: 100%;
  padding: 80px 40px;

  display: flex;
  flex-direction: column;
  justify-content: center;
}


.content-inner p,
.content-inner .lead {
  max-width: 60ch;
}

.section-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}


/* Headlines */
h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-family: 'SpaceGrotesk';
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 40px;
}



/* Text */
p {
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  line-height: 1.6;
  margin-bottom: 18px;
}

.lead {
  font-size: 1.5rem;
  line-height: 1.4;
  font-weight: 500;
}


/* ---------- FLAMINGO ---------- */

#flamingo .image-block {
  margin-bottom: 30px;
}


/* ---------- EVENT GRID ---------- */

#event .image-block {
  margin-bottom: 30px;
}

.event-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  align-items: center;
}

.event-highlight {
  font-family: 'SpaceGrotesk';
  text-transform: uppercase;
  font-size: 2rem;
  color: var(--pink);
  opacity: 0.7;
  animation: floatY 6s infinite ease-in-out;
}

.event-proof {
  font-family: 'SpaceGrotesk';
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  opacity: 0.6;
  margin-top: 25px;
}

.event-footer {
	display: block;
  margin-top: 30px;
}

/* ---------- IMAGES ---------- */

.image-block {
  position: relative;  
  display: inline-block;    
  justify-self: start;   /* oder center je nach Wunsch */
}
.image-block img {
  max-height: 55vh;
  width: auto;
  max-width: 100%;
  display: block;
  border-radius: 20px 20px 0 20px;
}

/* SQUARE FIX (PERFECT) */
.image-block::after {
  content: "";
  position: absolute;

  width: clamp(40px, 4vw, 60px);
  height: clamp(40px, 4vw, 60px);

  right: -10px;
  bottom: -10px;

  background: var(--pink);
}


/* white square on pink sections */
.content:nth-of-type(odd) .image-block::after {
  background: white;
}

/* subtle movement */
.image-block::after {
  transition: transform 0.3s ease;
}

.image-block:hover::after {
  transform: translate(6px, 6px);
}

/* ---------- TEAM ---------- */

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;

  width: 100%;
}


.team-member {
  text-align: center;
}

.team-member img {
  width: 100%;
  /* height: auto;  */
  height: 300px;
  object-fit: cover;

  border-radius: 20px;

  max-height: none;   /* ← wichtig! */
}

/* ---------- BACK TO TOP ---------- */

.back-top {	
  display: block;

  margin-top: 40px;
  font-family: 'SpaceGrotesk';
  cursor: pointer;
  opacity: 0.6;
}

.back-top:hover {
  opacity: 1;
}

/* ---------- FOOTER ---------- */

footer {
  padding: 60px;
  text-align: center;
}

footer a {
  color: var(--pink);
}

/* ---------- LANGUAGE ---------- */

.lang-switch {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 999;
}

.lang-switch button {
  color: white;
  background-color: #ff00ff;
  border: 2px solid white;
  padding: 3px; 
  cursor: pointer;
}
.lang-switch button:hover {
  background-color: #ff66ff;
  border: 2px solid #dd00dd;
}

/*** next section link **/

.next-section {
  margin-top: 15px;
  font-family: 'SpaceGrotesk';
  cursor: pointer;
  opacity: 0.6;
  transition: all 0.3s ease;
}

.next-section {
  display: inline-block;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

/* Hover */
.next-section:hover {
  opacity: 1;
  transform: translateX(5px);
}


/* ---------- CLIENTS ---------- */

.subline {
  margin-bottom: 60px;
  font-size: 1rem;
  opacity: 0.7;
}

.clients-list {		
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px 40px;
  
 column-count: 2;
  column-gap: 40px;

}

.clients-list a {
  text-decoration: none;
  font-size: 1.1rem;
  line-height: 1.5;
  transition: all 0.25s ease;
  color: inherit;
}
.clients-list a:nth-child(5n) {
  font-weight: 600;
}

/* Hover – VERY IMPORTANT STYLE */
.clients-list a:hover {
  transform: translateX(5px);
  color: var(--pink);
}

/* Pink Section Anpassung */
.content:nth-of-type(odd) .clients-list a:hover {
  color: #ffffff;
}

/** --- contact --- **/

#contact {
  text-align: center;
}

#contact p {
  margin-left: auto;
  margin-right: auto;
}


/* ---------- SCROLL INDICATOR on the start view ---------- */


.scroll-indicator {
  position: absolute;
  left: 50%;
  top: 65%;

  transform: translate(-50%, -50%);

  cursor: pointer;

  opacity: 0;              
  pointer-events: none;    

  transition: opacity 0.8s ease;

}

.scroll-indicator.visible {
  opacity: 1;
  pointer-events: auto;
  
  animation: arrowPulse 2s infinite ease-in-out; 

}

/* SVG kontrollieren */
.scroll-indicator svg {
  width: 28px;
  height: 28px;

  stroke: white;
  stroke-width: 2.5;
  
  filter: drop-shadow(0 0 10px rgba(255,255,255,0.4));

  opacity: 0.9;
  transition: all 0.3s ease;
}
.scroll-indicator:hover svg {
  transform: translateY(5px) scale(1.1);
  opacity: 1;
}

/* Hover */
.scroll-indicator:hover {
  opacity: 1;
  transform: translateX(-50%) translateY(5px);
}

/* Pulsieren */
@keyframes arrowPulse {
  0% {
    transform: translate(-50%, -50%) translateY(0);
    opacity: 0.4;
  }
  50% {
    transform: translate(-50%, -50%) translateY(12px);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) translateY(0);
    opacity: 0.4;
  }
}

/*** background-letters ***/
.background-letters {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;

  z-index: 0;
}

/* einzelne Background-Buchstaben */
.bg-letter {
  position: absolute;

  opacity: 0.2;            /* sehr subtil */  
  transition: opacity 2s ease;
  mix-blend-mode: screen;   /* wichtig! */

  transform: translate(-50%, -50%) rotate(var(--angle));

  animation: floatSlow 40s infinite ease-in-out;  /* ← viel langsamer */
}
.bg-letter.hidden {
  opacity: 0.0;
}

.bg-letter img {
  height: 180vh; /* gigantisch */
  width: auto;
}

@keyframes floatSlow {
  0% {
    transform: translate(-50%, -50%) rotate(var(--angle)) translate(0, 0);
  }
  25% {
    transform: translate(-50%, -50%) rotate(var(--angle)) translate(5px, -8px);
  }
  50% {
    transform: translate(-50%, -50%) rotate(var(--angle)) translate(-4px, -12px);
  }
  75% {
    transform: translate(-50%, -50%) rotate(var(--angle)) translate(6px, -6px);
  }
  100% {
    transform: translate(-50%, -50%) rotate(var(--angle)) translate(0, 0);
  }
}


/** events **/

.event-years {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.event-years .year {
  background: none;
  border: none;
  cursor: pointer;

  font-family: 'SpaceGrotesk';
  font-size: 0.9rem;
  letter-spacing: 0.08em;

  opacity: 0.5;
  transition: all 0.3s ease;
}

.event-years .year.active {
  opacity: 1;
  border-bottom: 1px solid currentColor;
}

.event-years .year:hover {
  opacity: 1;
}

.events-content ul {
  padding-left: 20px;
}

.events-content li {
  margin-bottom: 12px;
  line-height: 1.5;
}

.event-text {
  margin-bottom: 20px;
}

.event-years {
  margin-bottom: 20px;
}

.event-text .lead {
  max-width: 50ch;
}

.year-content {
  display: none;
}

.year-content.active {
  display: block;
}
.year-content {
  opacity: 0;
  transition: opacity 0.3s ease;
}
.year-content.active {
  opacity: 1;
}
.year-content h3 {
  font-family: 'SpaceGrotesk';
  font-size: 1.2rem;

  letter-spacing: 0.08em;
  text-transform: uppercase;

  opacity: 0.7;

  margin-bottom: 15px;

  border-bottom: 1px solid currentColor;
  display: inline-block;
  padding-bottom: 4px;

}

/* ---------- RESPONSIVE ---------- */


@media (max-width: 500px) {
  #artefont img {
    height: 10vw;
  }
}


@media(max-width:768px){
	
  .clients-list {
    grid-template-columns: 1fr;
  }

  
    .section-inner {
    grid-template-columns: 1fr;
		    display: flex;
    flex-direction: column;
    gap: 20px;

  }


 .image-block img {
    max-height: none;
    width: 100%;
  }


 #artefont {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
}

  .floating {
    font-size: 20vw;
  }

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

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

  h2 {
    font-size: 2.2rem;
  }

  .content {
    padding: 80px 20px;	
	gap: 20px;
  }
  
 .content-inner {
    padding: 60px 20px;
  }

}

/*********** end media bis 768 *****/
