:root {
  --primary-color: #000000;
  --secondary-color: #0DFDB1;
  --background: #000000;
  --text: #111;
  --text2: #d1d1d1;
  --cubicbz: cubic-bezier(.9,0,.1,1);
  --containerWidth: 500px;
}

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

body {
  font-family: 'Poppins', sans-serif;
  background: var(--background);
  color: var(--text);
}

header {
  background: var(--primary-color);
  color: white;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
}

.logo img {
    max-height: 40px;
    filter: brightness(0) invert(1);
    width: auto;
    height: auto;
}

.desktop-nav a,
.mobile-nav a {
  color: white;
  text-decoration: none;
  margin-left: 1.5rem;
  font-weight: bold;
}

.desktop-nav {
  display: flex;
}

.burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.burger span {
  height: 3px;
  width: 25px;
  background: white;
  margin: 4px 0;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  background-color: var(--primary-color);
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
}

.mobile-nav a {
  padding: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.hero-slider-css {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-slider-css img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: fadeSlider 15s infinite;
}

.hero-slider-css img:nth-child(1) {
  animation-delay: 0s;
}
.hero-slider-css img:nth-child(2) {
  animation-delay: 5s;
}
.hero-slider-css img:nth-child(3) {
  animation-delay: 10s;
}

@keyframes fadeSlider {
  0% { opacity: 0; }
  10% { opacity: 1; }
  30% { opacity: 1; }
  40% { opacity: 0; }
  100% { opacity: 0; }
}

/* Text drüber */
.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 0 1rem;
  width: 100%;
  max-width: 90%;
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 10px #000;
}

.hero-sub {
  font-size: 1.5rem;
  text-shadow: 1px 1px 6px #000;
}

.cursor5 {
  display: inline-block;
  margin-left: 2px;
  animation: blink 0.8s steps(1) infinite;
  color: white;
  font-weight: bold;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-title { font-size: 2.4rem; }
  .hero-sub { font-size: 1.3rem; }
}

@media (max-width: 768px) {
  .hero-title { font-size: 2rem; }
  .hero-sub { font-size: 1.1rem; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.6rem; }
  .hero-sub { font-size: 1rem; }
}


.spacer {
  height: 40px;
}

footer {
  background: var(--primary-color);
  color: white;
  padding: 4rem 2rem;
  font-size: 0.9rem;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  gap: 2rem;
}

/* Linke Spalte */
.footer-left {
  flex: 1;
  min-width: 150px;
}

.footer-left ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-left ul li {
  margin-bottom: 0.7rem;
}

.footer-left ul li a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-left ul li a:hover {
  color: var(--secondary-color);
}

/* Mittlere Spalte */
.footer-center {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 200px;
  text-align: center;
}

/* Rechte Spalte */
.footer-right {
  flex: 1;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  gap: 1rem;
}

.footer-right .social-media a {
  color: var(--secondary-color);
  margin-left: 1rem;
  font-size: 1.4rem;
  transition: color 0.3s ease;
}

.footer-right .social-media a:hover {
  color: white;
}

.footer-logo img {
  max-height: 60px;
  filter: brightness(0) invert(1);
  width: auto;
  height: auto;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-left,
  .footer-center,
  .footer-right {
    align-items: center;
    text-align: center;
  }

  .footer-right {
    align-items: center;
  }

  .footer-right .social-media a {
    margin-left: 0.8rem;
    margin-right: 0.8rem;
  }
}


/* POP UP */

.legal-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.legal-tabs button {
  background: none;
  border: none;
  padding: 0.5rem 1rem;
  cursor: pointer;
  color: inherit;
  font-weight: bold;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.legal-tabs button.active {
  color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.legal-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.legal-popup-box {
  background: white;
  color: black;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  padding: 2rem;
  border-radius: 12px;
  position: relative;
  transform: scale(0.8);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
  overflow: hidden;
}

/* Animation wird ausgelöst durch diese Klasse */
.legal-popup-box.show {
  transform: scale(1);
  opacity: 1;
}

.legal-popup-overlay.active .legal-popup-box {
  transform: scale(1);
  opacity: 1;
}

.legal-popup-content h2 {
  margin-top: 0;
  font-size: 1.5rem;
  text-align: center;
  color: var(--secondary-color);
}

.legal-close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: black;
  cursor: pointer;
}

.legal-scrollbox {
  overflow-y: auto;
  max-height: 60vh;
  padding-right: 0.5rem;
}

.legal-scrollbox::-webkit-scrollbar {
  width: 8px;
}

.legal-scrollbox::-webkit-scrollbar-thumb {
  background-color: var(--secondary-color);
  border-radius: 4px;
}



/* FOOTER VORBEI */


.st-pin-section {
  height: 100vh;
  background: var(--background);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Poppins', sans-serif;
  position: relative;
  overflow: hidden;
}

.st-layout-wrapper {
  width: 100%;
  max-width: 1200px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.st-title {
  font-size: 3rem;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(50px);
}

.st-content-wrapper {
  display: flex;
  justify-content: space-between;
  width: 100%;
  gap: 2rem;
  opacity: 0;
}

.st-text-left, .st-image-right {
  width: 50%;
  opacity: 0;
  transform: translateY(50px);
}

.st-image-right img {
  opacity: 0;
  transform: scale(0.8);
  transition: 0.3s ease;
}




.marquee-wrapper {
  position: relative;
  height: 400px;
  overflow: hidden;
  background: var(--primary-color);
}

.marquee {
  position: absolute;
  width: 300vw;
  left: -100vw;
  display: flex;
  justify-content: center;
  pointer-events: none;
  padding: 1.5rem 0;
  overflow: hidden;
  z-index: 1;
}

.truss-bg {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 600vw;
  background: url('img/truss.png') repeat-x;
  background-size: auto 100%;
  z-index: -1;
  will-change: transform;
}

.marquee-top {
  top: 20%;
  transform: rotate(-3.5deg);
}

.marquee-bottom {
  bottom: 20%;
  transform: rotate(5deg);
}

.marquee-content {
  display: flex;
  flex-wrap: nowrap;
  min-width: 300vw;
}

.track {
  display: flex;
  gap: 4rem;
  font-size: 3rem;
  align-items: center;
  font-weight: bold;
  color: var(--text2);
  white-space: nowrap;
  padding: 1rem;
  min-width: max-content;
  text-shadow: 5px 5px 5px rgba(0, 0, 0, 0.719);
}

.track img {
  width: 70px;
  height: 70px;
  object-fit: cover;
}






.st-back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: #00ffc3;
  color: #000;
  font-size: 24px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 1000;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.st-back-to-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1.05);
}



/* Reveal <3 by TPCS */


.wrapp {
  position: relative;
  width: 100%;
  height: auto;
  padding: 0 150px;
  z-index: 1;
}

.rv_title {
  margin-top: 0;
  margin-bottom: 80px;
  font-size: 60px;
  text-transform: uppercase;
  color: var(--text2);
}

.rv_title span {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1px var(--secondary-color);
}

/* Reveal --- 2 --- <3 by TPCS */

.reveal {
  padding: 50px;
  padding-top: 80px;
  padding-bottom: 0;
}

.reveal__img {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  row-gap: 150px;
  width: 100%;
  height: auto;
  padding-bottom: 170px;
}

.reveal__img-item {
  position: relative;
  width: calc(50% - 75px);
  height: auto;
  padding-left: 53px;
  overflow: hidden;
  margin-bottom: 80px;
}

.reveal__img-item:nth-child(even) {
  transform: translateY(150px);
}

.reveal__img-num {
  position: absolute;
  top: 0;
  left: 0;
  font-size: 40px;
  color: var(--text2);
  writing-mode: vertical-lr;
  transform: scale(-1, -1);
}

.reveal__img-inner,
.reveal__img-bl {
  width: 100%;
  height: 550px;
  clip-path: polygon(0% 0%, 0% 0%, 0% 100%, 0% 100%);
}

.reveal__img-inner {
  background: var(--background);
}

.reveal__img-bl {
  overflow: hidden;
}

.reveal__img-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}

/* Zusatzinfos unter dem Bild */
.reveal__img-info {
  padding-top: 20px;
  color: var(--text2);
}

.reveal__img-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 8px;
}

.reveal__img-price {
  font-size: 18px;
  color: var(--secondary-color);
  margin-bottom: 6px;
}

.reveal__img-desc {
  font-size: 16px;
  line-height: 1.4;
  color: var(--text1);
}

.reveal__label {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 5px 12px;
  font-size: 14px;
  font-weight: bold;
  z-index: 100; /* hoch genug, um über dem Bild zu sein */
  opacity: 1; /* für Test, später animierbar */
  transform: none; /* für Test, später animierbar */
  background-color: #333; /* default */
  color: white;
  pointer-events: none;
}

.reveal__label.beliebt {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: bold;
  padding: 6px 12px;
  font-size: 14px;
  color: white;
  background: linear-gradient(-45deg, #ff6600, #ff3300, #ff6600, #cc0000);
  background-size: 400% 400%;
  animation: flameBackground 1s infinite ease-in-out;
  box-shadow: 0 0 15px rgba(255, 100, 0, 0.5);
}

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

/* Flammen-Icon */
.reveal__label.beliebt i {
  color: white;
  animation: pulseFire 0.8s infinite ease-in-out;
}

@keyframes pulseFire {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.2); opacity: 0.85; }
}
.reveal__label.nicht-verfuegbar {
  background-color: #e74c3c !important; /* kräftiges Rot */
}


.reveal__label.sale {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-weight: bold;
  padding: 8px 16px;
  font-size: 16px;
  color: white;
  background: linear-gradient(135deg, #ff0033, #ff00cc);
  background-size: 200% 200%;
  animation: flameBackground 2s ease-in-out infinite;
  box-shadow: 0 0 15px rgba(255, 0, 80, 0.6);
  width: fit-content;
  max-width: 90%;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

/* Shine Effekt */
.reveal__label.sale::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -30%;
  width: 60%;
  height: 200%;
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(25deg);
  animation: shine 2.5s infinite ease-in-out;
  pointer-events: none;
  z-index: 2;
}

/* Hintergrund-Flammenbewegung */
@keyframes flameBackground {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Shine gleitet über das Label */
@keyframes shine {
  0%   { left: -30%; }
  50%  { left: 110%; }
  100% { left: 110%; }
}

/* Tag-Icon pulsiert */
.reveal__label.sale i {
  animation: pulseTag 1.2s infinite ease-in-out;
  z-index: 3;
}

@keyframes pulseTag {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.3); opacity: 0.85; }
}


.reveal__label.neu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-weight: bold;
  padding: 8px 16px;
  font-size: 16px;
  border-radius: 999px;
  color: white;
  background: linear-gradient(135deg, #00c3ff, #00ff88);
  background-size: 200% 200%;
  animation: newPop 0.6s ease-out, neonPulse 2s ease-in-out infinite;
  box-shadow: 0 0 12px rgba(0, 255, 200, 0.6);
  width: fit-content;
  max-width: 90%;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  transform: translateY(-5px);
}

/* Shine (optional wie bei SALE) */
.reveal__label.neu::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -30%;
  width: 60%;
  height: 200%;
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(25deg);
  animation: shine 2.5s infinite ease-in-out;
  pointer-events: none;
  z-index: 2;
}

/* Neue Labels poppen beim Erscheinen */
@keyframes newPop {
  0%   { transform: scale(0.7); opacity: 0; }
  60%  { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(1); }
}

/* Pulsierendes Neon-Licht */
@keyframes neonPulse {
  0%, 100% { box-shadow: 0 0 10px rgba(0,255,200,0.6); }
  50%      { box-shadow: 0 0 20px rgba(0,255,200,0.9); }
}

/* Shine reused */
@keyframes shine {
  0%   { left: -30%; }
  50%  { left: 110%; }
  100% { left: 110%; }
}

/* Icon bounce leicht */
.reveal__label.neu i {
  animation: bounceStar 1.2s infinite ease-in-out;
  z-index: 3;
}

@keyframes bounceStar {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-3px); }
}














/* BUCHUNGEN */






@media (max-width: 768px) {
  .wrapp {
    padding: 0 20px;
  }

  .rv_title {
    font-size: 40px;
    margin-bottom: 40px;
    text-align: center;
  }

  .reveal {
    padding: 30px 0;
  }

  .reveal__img {
    flex-direction: column;
    row-gap: 80px;
    padding-bottom: 80px;
  }

  .reveal__img-img {
    object-fit: contain;
    width: 100%;
    height: 100%;
  }

  .reveal__img-item {
    width: 100%;
    padding-left: 40px; /* kleineres Padding */
    transform: none !important;
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    position: relative;
  }

  .reveal__img-num {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 30px;
    writing-mode: vertical-lr;
    transform: scale(-1, -1);
    color: var(--text2);
  }

  .reveal__img-inner,
  .reveal__img-bl {
    height: 400px;
    width: 100%;
  }

  .reveal__img-title {
    font-size: 20px;
  }

  .reveal__img-price {
    font-size: 16px;
  }

  .reveal__img-desc {
    font-size: 15px;
  }
}

/* ==============================================
   Tablet (iPad) zwischen 768px und 1024px Breite
   ============================================== */
@media (min-width: 768px) and (max-width: 1024px) {

  /* Damit die Seite links/rechts Luft hat */
  .wrapp {
    padding: 0 20px;
  }

  /* Titel etwas kleiner und mittig ausgerichtet */
  .rv_title {
    font-size: 32px;
    margin-bottom: 20px;
    text-align: center;
  }

  /* Abschnittsabstand etwas reduzieren */
  .reveal {
    padding: 20px 0;
  }

  /* 
    1 Spalte – kein flex-wrap oder Zwei-Spalten-Layout 
    Jedes Item wird hier untereinander auf 100% Breite gebrochen 
  */
  .reveal__img {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px;              /* Abstand zwischen den Items */
    padding-bottom: 20px;
    overflow: visible !important; /* Falls durch JS/GSAP Overflow versteckt wird */
  }

  /* 
    Jedes Item nimmt nun 100% der Breite ein, 
    wird zentriert und ohne Rotation/Transform 
  */
  .reveal__img-item {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto 20px auto;  /* Unten Platz, automatisch zentriert */
    padding-left: 10px;       /* Minimaler Abstand links/rechts */
    padding-right: 10px;
    transform: none !important;/* Alte GSAP-Transforms aufheben */
    position: relative;
    display: flex;
    flex-direction: column;
  }

  /* 
    Nummer (Nummerierung) etwas verkleinern und nach oben in den Rand verschieben 
  */
  .reveal__img-num {
    position: absolute !important;
    top: -5px !important;
    left: 0 !important;
    font-size: 20px !important;
    writing-mode: vertical-lr !important;
    transform: scale(-1, -1) !important;
    color: var(--text2) !important;
  }

  /* 
    Das eigentliche Bild immer in voller Breite, Höhe passt sich automatisch an 
    object-fit: contain sorgt, dass nichts beschnitten wird 
  */
  .reveal__img-img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    display: block;
  }

  /* 
    Diese Container hatten vorher feste 400px-Höhe – 
    jetzt lassen wir sie automatisch wachsen 
  */
  .reveal__img-inner,
  .reveal__img-bl {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }

  /* 
    Textelemente unter dem Bild noch kompakt 
  */
  .reveal__img-title {
    font-size: 18px !important;
    margin-top: 10px !important;
  }

  .reveal__img-price {
    font-size: 14px !important;
    margin-top: 6px !important;
  }

  .reveal__img-desc {
    font-size: 13px !important;
    margin-top: 4px !important;
    line-height: 1.4 !important;
  }
}


@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }

  .burger {
    display: flex;
  }

  .mobile-nav.active {
    display: flex;
  }

  .about-content {
    flex-direction: column;
  }

  .reveal-text {
  font-size: 3.5rem;
  font-weight: bold;
  overflow: hidden;
  display: inline-block;
  }
}


@media (max-width: 768px) {
  .marquee-wrapper {
    height: 250px;
  }

  .marquee {
    padding: 0.5rem 0;
    border-radius: 5px;
    box-shadow: none;
  }

  .marquee-top {
    top: 25%;
    transform: rotate(-3deg); /* etwas weniger gekippt */
  }

  .marquee-bottom {
    bottom: 25%;
    transform: rotate(3deg); /* etwas weniger gekippt */
  }

  .track {
    font-size: 1.3rem;
    gap: 1.5rem;
  }

  .track img {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  .track {
    font-size: 1.1rem;
    gap: 1rem;
  }

  .track img {
    width: 30px;
    height: 30px;
  }
}

@media (max-width: 768px) {
  .st-back-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    font-size: 20px;
  }
}

.popup-success {
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: var(--form-accent);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  font-weight: bold;
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.5s ease;
  z-index: 9999;
}

.popup-success.show {
  opacity: 1;
  transform: translateY(0);
}

.paket-blocked {
  background-color: #d9534f;
  color: white !important;
  border: 2px solid #d43f3a !important;
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
  text-decoration: line-through;
}