/* Basic Reset & Body */
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f9f9f9; /* Light background for contrast */
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 10px 0;
}

h1, h2, h3 {
    color: #003366; /* Primary Blue */
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
}

a {
    color: #0056b3; /* Slightly lighter blue for links */
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
}

/* Header & Hero Section */
header.hero {
    background-color: #eef4f8; /* Light blue background */
    padding: 20px 0; /* Reduced padding */
    text-align: left;
}

.logo {
    max-width: 80px; /* Slightly smaller logo */
    margin-bottom: 5px;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-text {
    flex: 1;
    animation: fadeIn 1s ease-in-out;
    text-align: left; /* Ensure left alignment */
}

.hero-text h1 {
    text-align: left;
}

.hero-image {
    flex: 0 0 300px; /* Fixed width for the image */
    text-align: center;
    animation: fadeIn 1.5s ease-in-out;
}

.hero-image img {
    border-radius: 10px; /* Changed from 50% */
    max-width: 100%; /* Allow image to scale */
    border: 3px solid #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.subtitle {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #555;
}

.cta-button-prozess {
    display: inline-block;
    background-color: #4200FF; /* LeadMagnetix Violett */
    color: #fff;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
    font-family: 'Futura Md BT', sans-serif;
}
.cta-button-prozess:hover {
    background-color: #2C4CFF; /* etwas helleres Hover-Lila */
    text-decoration: none;
}

/* Optional: Wrapper zum Zentrieren */
.cta-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.cta-button {
    display: inline-block;
    background-color: #003366; /* Primary Blue */
    color: #fff;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #002244; /* Darker Blue */
    text-decoration: none;
}

/* Sections General Styling */
section {
    padding: 60px 0;
}

section:nth-child(even):not(.final-cta) {
    background-color: #fff;
}

/* Pain Points Section */
.pain-points .points-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 2rem;
}

.pain-points .point {
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
    position: relative; /* Needed for absolute positioning of alternate text */
    overflow: hidden; /* Hide overflowing text during transition */
    transition: background-color 0.4s ease-in-out;
    min-height: 150px; /* Ensure consistent height */
    display: flex;
    flex-direction: column;
    justify-content: center;
}


/* Nur der Originaltext sichtbar (außerhalb von Media Queries, nur Originaltext anzeigen) */
.pain-points .point .original-text {
    display: inline;
    transition: opacity 0.4s ease-in-out;
}

.pain-points .point .alternate-text {
    display: none;
    transition: opacity 0.4s ease-in-out;
}

/* Standard-Box: weißer Hintergrund, schwarzer Text */
.point {
    background-color: #ffffff;
    color: #000000;
    transition: background-color 0.3s ease, color 0.3s ease;
    padding: 1.5rem;
    border-radius: 1rem;
    text-align: center;
    font-size: 1.1rem;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

/* Nur der Originaltext sichtbar */
.point .original-text {
    display: inline;
}

.point .alternate-text {
    display: none;
}


.pain-points .point:hover {
    background-color: #6f42c1; /* LeadMagnetix Purple */
    color: #fff;
}

.pain-points .point:hover .original-text {
    opacity: 0;
}

.pain-points .point:hover .alternate-text {
    opacity: 1;
}

.transition-text {
    text-align: center;
    font-style: bold;
    color: #555;
    margin-top: 2rem;
}

/* Solution Section */
.solution p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem auto;
}

.pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Adjusted minmax */
    gap: 25px;
    text-align: center;
    font-weight: bold;
}

.pillar {
    padding: 25px;
    background-color: #fff; /* White background for the box */
    border: 1px solid rgb(106, 53, 215); /* Light border */
    border-radius: 12px; /* Rounded corners */
    box-shadow: 0 3px 12px rgba(31, 27, 78, 0.215); 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pillar:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.pillar h3 {
    margin-bottom: 0.8rem;
}

.timeline-example {
    display: block;
    margin: 30px auto 0 auto;
    max-width: 800px;
}

/* Process Section */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: center;
}

.step {
    /* Add icon styles here */
}

/* Social Proof Section */
.testimonials {
    margin-bottom: 3rem;
}

.testimonial {
    background-color: #fff;
    padding: 30px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-left: 5px solid #003366;
}

.testimonial blockquote {
    margin: 0 0 1rem 0;
    font-style: italic;
    color: #555;
}

.testimonial cite {
    font-weight: 600;
    color: #003366;
}

.testimonial-image {
    max-width: 40%;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.client-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 1rem;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.client-logos:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.client-logos img {
    max-height: 60px;
    max-width: 120px;
}


/* Video Section */
.video-section .container {
    text-align: center;
}

.video-placeholder video {
    max-width: 100%;
    width: 720px; /* Specific width for better control */
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
    background-color: #000; /* Black background for video player */
}

.video-caption {
    font-style: italic;
    color: #777;
    margin-bottom: 1rem;
}

/* About Me Section */
.about-me {
     background-color: #eef4f8; /* Light blue background */
}

.about-me h2 {
    text-align: center;
    width: 100%;
    margin-bottom: 2rem;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 0 0 250px;
    text-align: center;
}

.about-image img {
    border-radius: 10px; /* Match hero image */
    max-width: 100%;
    border: 3px solid #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Final CTA Section */
.final-cta {
    background-color: #003366; /* Primary Blue */
    color: #fff;
    text-align: center;
    padding: 60px 0;
}

.final-cta h2 {
    color: #fff;
}

.final-cta p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.final-cta .cta-button {
    background-color: #ffc107; /* Accent Yellow/Gold */
    color: #333; /* Dark text on yellow */
    padding: 15px 35px; /* Slightly larger padding */
    font-size: 1.2rem; /* Larger font size */
    font-weight: bold;
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.final-cta .cta-button:hover {
    background-color: #e0a800; /* Darker Yellow/Gold */
    color: #333;
    transform: translateY(-2px);
    text-decoration: none;
}

.digitalwachstum {
 max-width: 80%;
 margin-top: 30px;
}

/* Footer */
footer {
    background-color: #333;
    color: #ccc;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9rem;
}

footer a {
    color: #fff;
}

footer a:hover {
    color: #ccc;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Add subtle animations to sections on scroll - requires JS */
/* Example: .section-animate { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; } */
/* Example: .section-animate.visible { opacity: 1; transform: translateY(0); } */

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.75rem;
    }
    h3 {
        font-size: 1.25rem;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        text-align: center; /* Center text on mobile */
    }

    .hero-text h1 {
        text-align: center;
    }

    .hero-image {
        flex-basis: auto;
        margin-top: 10px;
        max-width: 300px;
        height: auto;
    }

    .about-content {
        flex-direction: column-reverse; /* Image below text on mobile */
        text-align: center;
    }



    .about-image {
         flex-basis: auto;
         max-width: 200px;
         height: auto;
    }

    .pillars,
    .steps {
        grid-template-columns: 1fr; /* Stack on mobile */
    }

    .pain-points .point {
        min-height: 120px; /* Adjust height for mobile */
    }

    .testimonial-jens-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
      }
    
      .testimonial-jens-logo-cite {
        align-items: center;
        text-align: center;
      }
    
      .testimonial-image {
        max-width: 90%;
      }
      .testimonial-client-logo {
        display: none;
        
    }

        
}

.centered-heading {
    text-align: center;
    font-style: bold;
    margin-top: 10px;
}


/* Legal Pages Basic Style */
body > header h1 {
    text-align: center;
    margin-top: 1rem;
}

main.container section {
    background-color: #fff;
    padding: 30px;
    margin-top: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

main.container ul {
    padding-left: 20px;
}



/* Specific styling for HSL logo in testimonial */
.testimonial-jens-content {
    display: flex; /* Arrange image and logo+cite side-by-side */
    align-items: center; /* Vertically align items */
    gap: 50px; /* Space between image and logo+cite */
}

.testimonial-jens-logo-cite {
    display: flex;
    flex-direction: column; /* Stack logo and citation vertically */
    align-items: bottom; /* Center items horizontally */
    text-align: bottom;
}

.testimonial-client-logo-hsl {
    max-width: 100px; /* Make HSL logo smaller */
    height: auto;
    margin-bottom: 5px; /* Space between logo and citation */
}

/* Styling for Wadlinger logo */
.testimonial-logo-small .testimonial-client-logo {
    max-width: 120px; /* Adjust size for Wadlinger logo if needed */
}

/* Standard-Box: weißer Hintergrund, schwarzer Text */
.point {
    background-color: #ffffff;
    color: #000000;
    transition: background-color 0.3s ease, color 0.3s ease;
    padding: 1.5rem;
    border-radius: 1rem;
    text-align: center;
    font-size: 1.1rem;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Nur der Originaltext sichtbar */
  .point .original-text {
    display: inline;
  }
  
  .point .alternate-text {
    display: none;
  }
  

/* Wenn die Box durch Scrollen >50% sichtbar ist (nur auf Mobilgeräten) */

@media (max-width: 768px) {
  .point.active {
    background-color: #6a35d7; /* Lila */
    color: #ffffff; /* Weißer Text */
  }

  .point.active .original-text {
    display: none;
  }

  .point.active .alternate-text {
    display: inline;
  }
}

/* Standardmäßig: nur Originaltext anzeigen */
.point .original-text {
    display: inline;
  }
  
  .point .alternate-text {
    display: none;
  }
  
  /* Nur auf Desktop: Wechsel bei Hover */
  @media (hover: hover) and (pointer: fine) {
    .point:hover .original-text {
      display: none;
    }
  
    .point:hover .alternate-text {
      display: inline;
    }
  }