@import url('/www/css/index.css');

.promo-banner {
  box-shadow: none;
}

body {
  background: linear-gradient(to bottom, #6d3e06, #293d65);
  color: white;
  font-size: 1.15rem;
  line-height: 1.7;
}

#franz-hero {
  padding: 80px 20px;
  position: relative;
}

.sir-franzi-gif {
  max-width: 220px;
  border-radius: 12px;
  animation: floatBanner 5s ease-in-out infinite;
}

@keyframes floatBanner {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.75rem 1.5rem;
}

.feature-list li {
  padding-left: 1.4rem;
  position: relative;
}

.feature-list li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--primary);
}

.product-image {
  border-radius: 10px;
  cursor: pointer;
}

.highlight {
  color: #ffd800;
  font-weight: bold;
}

.delayed-fade {
  opacity: 0;
  transform: translateY(20px);
  transition: all .6s ease;
}

.delayed-fade.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .promo-hero {
    flex-direction: column;
  }

  .promo-banner,
  .promo-text {
    max-width: 100%;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }
}



/* Fix: Ritter-GIF nicht verschwinden lassen */
.sir-franzi-gif {
  max-width: 220px;
  border-radius: 12px;
  animation: floatBanner 5s ease-in-out infinite;
  display: block !important;
}

/* Modal Image Fix */
.modal-dialog {
  max-width: 90vw;
  margin: auto;
}

.modal-body {
  padding: 0;
}

.modal-body img {
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
  display: block;
  margin: auto;
}

/* Responsive Hero Layout */
.promo-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  text-align: center;
  padding: 20px 10px;
}

/* Carousel Size Tweak */
.carousel-item img {
  max-height: 450px;
  object-fit: contain;
  width: 100%;
}

/* Section Padding und Textzentrierung */
.content-section {
  padding: 40px 20px;
  max-width: 1100px;
  margin: auto;
}

.content-section p {
 font-size: 1.5rem !important;
}
/* Responsive: Mobile */
@media (max-width: 768px) {
  .promo-hero {
    flex-direction: column;
    text-align: center;
  }

  .sir-franzi-gif {
    max-width: 180px;
    margin: 0 auto 20px;
  }

  .promo-text h1 {
    font-size: 4rem;
  }

  .feature-list {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0;
  }

  .feature-list li {
    font-size: 1rem;
    line-height: 1.5;
  }

  .carousel-item img {
    max-height: 250px;
  }

  .btn {
    width: 100%;
    max-width: 250px;
    margin: 10px auto;
  }
}


.modal-content {
  background: transparent;
  border: none;
  box-shadow: none;
  margin-top: 100px;
  ;
}

.modal-body {
  padding: 0;
}

#modalImage {
  width: 100%;
  height: auto;
  object-fit: contain;
  max-height: 90vh;
  border-radius: 12px;
}





.section-heading {

  font-size: 5rem;
  color: #c3dbe9;
  text-align: center;
  text-shadow: 2px 2px 8px rgba(255, 255, 255, 0.15);
  margin-bottom: 30px;
  letter-spacing: 1px;
  position: relative;

}


.content-section h2 {

  font-size: 4rem !important;
  color: #b78503;
  text-align: center;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.15);
  margin-bottom: 30px;
  letter-spacing: 1px;
  position: relative;

}

.content-section {

  padding: 10px 100px !important;
  margin-bottom: 100px !important;


}






/* Abschnittstitel stärker hervorheben */
.content-section h2 {
  font-size: 3rem !important;
  color: #ffd800;
  text-align: center;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
  margin-bottom: 40px;
  letter-spacing: 1.5px;
}

/* Untertitel / Zwischenüberschriften wie "Was wird getestet?" */
.content-section h3 {
  font-size: 1.8rem;
  color: #ffb347;
  margin-top: 40px;
  margin-bottom: 20px;
  text-align: center;
  font-weight: bold;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
}

/* Paragraph-Text styling */
.product-description {
  max-width: 900px;
  margin: 0 auto 1rem;
  font-size: 1.2rem;
  text-align: center;
  color: #f1f1f1;
  line-height: 1.8;
}

/* Lesbarkeit der Listenelemente */
.feature-list li {
  background: rgba(255, 255, 255, 0.05);
  border-left: 4px solid #ffd800;
  padding: 10px 15px 10px 25px;
  border-radius: 6px;
  margin-bottom: 10px;
  font-size: 1.1rem;
  color: #eee;
  position: relative;
}

.feature-list li strong {
  color: #ffd800;
}

/* Sekundäre Listen wie unter "Auswertung & Vergleich" */
#more-content ul {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 0 auto 1rem;
}

#more-content ul li {
  background: rgba(255, 255, 255, 0.03);
  padding: 8px 16px;
  margin: 6px 0;
  border-left: 3px solid #ffb347;
  color: #f0f0f0;
  font-size: 1.1rem;
  border-radius: 4px;
  line-height: 1.5;
  text-align: left;
}

/* Button "Mehr lesen" visuell abheben */
.btn-link {
  color: #ffd800 !important;
  font-weight: bold;
  text-decoration: underline;
  font-size: 1.1rem;
}

.btn-link:hover {
  color: #ffffff !important;
  text-decoration: none;
}


#background-overlay {
  margin-top: 100px;
}

:root {
  --color-bg: transparent;
}



@media (max-width: 800) {

  /* Headings kleiner */
  .content-section h2 {
    font-size: 2.2rem !important;
    line-height: 1.3;
  }

  .content-section h3 {
    font-size: 1.4rem;
    margin-top: 30px;
  }

  /* Paragraph-Text anpassen */
  .product-description {
    font-size: 1rem;
    padding: 0 10px;
    line-height: 1.6;
  }

  /* Feature-Liste kompakter */
  .feature-list {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .feature-list li {
    font-size: 1rem;
    padding: 10px 15px;
  }

  /* Detail-Liste (z.B. Score-Summary) */
  #more-content ul li {
    font-size: 1rem;
    padding: 10px 12px;
    line-height: 1.6;
  }

  /* Buttons */
  .btn {
    font-size: 1rem;
    padding: 10px 15px;
    width: 90%;
    max-width: 300px;
  }

  /* Modal-Bild sicher skalieren */
  #modalImage {
    max-height: 70vh;
    border-radius: 10px;
  }

  /* Hero-Anordnung */
  .promo-hero {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 10px;
  }

  .promo-banner {
    width: 80%;
    max-width: 250px;
  }

  .promo-text h1 {
    font-size: 4rem;
  }

  .feature-carousel {
    font-size: 0.95rem;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
  }

  /* Abschnitts-Padding */
  .content-section {
    padding: 20px 10px !important;
    margin-bottom: 60px !important;
  }

  /* Torch Background Scaling (optional) */
  #background-overlay img.torch-image {
    width: 60px;
    height: auto;
    position: absolute;
    right: 10px;
    top: 20px;
  }

  #background-overlay {
    margin-top: 10px !important;
  }
}




.typing-animation {
  position: relative;
  display: inline-block;
  font-family: 'Stoneage', sans-serif;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: bold;
  text-transform: uppercase;
  white-space: normal;
  overflow: visible;
  cursor: default;

  /* Gold-Copper Gradient */
  background: linear-gradient(90deg,
      #ffcc00 0%,
      /* Gold */
      #ffaa00 30%,
      /* Amber */
      #ff8800 60%,
      /* Kupfer */
      #ffd700 100%
      /* zurück zu Gold */
    );
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  /* Golden Glow */
  text-shadow:
    0 0 6px #ffcc66,
    0 0 12px #ff9900,
    0 0 24px #ffcc00;

  clip-path: inset(100% 0 0 0);
  animation:
    reveal 0.8s ease-out forwards,
    gradientMove 8s ease infinite,
    neonPulse 3s ease-in-out infinite,
    quickGlitch 6s steps(2) infinite;
}

/* Keyframes */
@keyframes reveal {
  to {
    clip-path: inset(0);
  }
}

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

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes neonPulse {

  0%,
  100% {
    text-shadow: 0 0 6px #ffcc66, 0 0 14px #ffaa00;
  }

  50% {
    text-shadow: 0 0 12px #ffee99, 0 0 24px #ff8800;
  }
}

@keyframes quickGlitch {

  0%,
  10%,
  100% {
    transform: none;
  }

  6% {
    transform: translate(2px, -1px) skewX(2deg);
  }

  8% {
    transform: translate(-2px, 1px) skewX(-2deg);
  }
}

/* Chromatische Aberration – dezent in warmen Tönen */
.typing-animation::before,
.typing-animation::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: inherit;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  pointer-events: none;
}

.typing-animation::before {
  text-shadow: -2px 0 #ffb347;
  clip-path: inset(0 100% 0 0);
  animation: abGold 7s infinite;
}

.typing-animation::after {
  text-shadow: 2px 0 #fff0aa;
  clip-path: inset(0 100% 0 0);
  animation: abGlow 14s infinite;
}

@keyframes abGold {

  0%,
  5%,
  100% {
    clip-path: inset(0 100% 0 0);
  }

  10%,
  15% {
    clip-path: inset(10% 0 0 0);
  }

  20%,
  25% {
    clip-path: inset(60% 0 0 0);
  }
}

@keyframes abGlow {

  0%,
  7%,
  100% {
    clip-path: inset(0 100% 0 0);
  }

  12%,
  18% {
    clip-path: inset(40% 0 0 0);
  }

  22%,
  28% {
    clip-path: inset(20% 0 0 0);
  }
}

/* Mobile Fallback */
@media (max-width: 768px) {
  .typing-animation {
    font-size: 2.5rem;
    animation:
      reveal 0.8s ease-out forwards,
      gradientMove 8s ease infinite,
      neonPulse 2.5s ease-in-out infinite;
    clip-path: inset(0);
  }

  .typing-animation::before,
  .typing-animation::after {
    display: none;
  }

  #background-overlay {
    margin-top: 10px !important;
  }
}





.btn-primary {
  background: linear-gradient(135deg, #eeb808, #fc6117) !important;
  box-shadow: 0 8px 16px rgb(255 175 96 / 40%) !important;
}



.feature-carousel {
  position: relative;
  width: 100%;
  height: 3.5rem;
  margin: 2rem auto 0;
  overflow: hidden;
  font-family: 'Stoneage', sans-serif;
  font-size: clamp(1.25rem, 4vw, 2rem);
  color: #ffbd21;
  text-shadow: 0 0 8px rgb(255 132 35 / 80%);
}



  
.content-section h2 {
    font-size: 5rem !important;
  
  }

    .content-section p {
    font-size: 1.5rem !important;
  
  }

  @media (max-width: 768px) {
   .content-section h2 {
    font-size: 3rem !important;
  
  }

    .content-section p {
    font-size: 1.3rem !important;
  
  }
}