/* Laims Namespace Wrapper */
.laims-page {
    --laims-primary: #B5FF3B;
    --laims-powered-by-color: #a6bd56;
    --laims-black: #111111;
    --laims-white: #FFFFFF;
    --laims-gray-light: #F5F5F5;
    --laims-gray-muted: #666666;
    --laims-lime: #B5FF3B;
    --laims-light-gray: #F5F5F5;
    --laims-gray: #666666;
    --laims-button-color: #FFFFFF;

    position: relative;
    padding: 0;
    color: var(--laims-black);
    background-color: var(--laims-white);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* alle Bilder im Laims-Block sicher */
.laims-page img {
    max-width: 100%;
    display: block;
}

/* Container */
.laims-container,
.laims-page-container {
    width: 100%;
    box-sizing: border-box;
}

/* Hero – wie original */
.laims-page-hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--laims-primary) 0%, var(--laims-black) 100%);
    color: var(--laims-white);
    text-align: center;
    padding: 0 20px;
}



.laims-page-hero-inner {
    position: relative;
    z-index: 1;
    width: 100%;
}

.laims-hero-content {
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

/* Logo – kein fixes 1000px mehr */
.laims-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    box-sizing: border-box;
    width: 1000px;
    height: 250px;
}

.laims-logo {
    width: 1000px;
    height: 1000px;
}

.logo-container img {
    max-width: 100%;
    height: auto;
    
}

/* Typo */
.laims-section-heading {
    font-size: clamp(3rem, 9vw, 6rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.laims-section-heading .laims-highlight {
    color: var(--laims-primary);
    text-shadow: #111111 2px 2px 4px;
}

.laims-hero-text {
    font-size: clamp(1rem, 2vw, 1.25rem);
    max-width: 600px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

/* Buttons */
.laims-btn {
    display: inline-block;
    padding: 20px 34px;
    background-color: var(--laims-primary);
    color: var(--laims-black);
    border-radius: 4px;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.laims-btn-primary {
    background-color: var(--laims-primary);
    color: var(--laims-black);
}

.laims-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(181, 255, 59, 0.4);
}

.laims-btn:focus {
    outline: 2px solid var(--laims-primary);
    outline-offset: 2px;
}

/* Problem / Solution Section */
.laims-problem-solution {
    background-color: var(--laims-black);
    color: var(--laims-white);
    padding: 80px 0;
}

.laims-section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 40px;
    text-align: center;
}

.laims-problem-content {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
}

.laims-section-image {
    margin-bottom: 40px;
}

/* Lösungskarten */
.laims-solution-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
    max-width: 1440px;
    align-self: center;
    justify-self: center;
}

.laims-solution-card {
    background-color: var(--laims-lime);
    color: var(--laims-black);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
}

.laims-solution-card h3 {
    margin-bottom: 15px;
}

.laims-solution-icon {
    font-size: 2rem;
    margin-bottom: 20px;
    display: inline-block;
}

/* Features */
.laims-features-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin-top: 50px;
    max-width: 1100px;
    align-self: center;
    justify-self: center;
}

.laims-feature-card {
    background-color: var(--laims-white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    max-width: 250px;
    text-align: center;
}

.laims-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.laims-feature-icon {
    width: 60px;
    height: 60px;
    background-color: var(--laims-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    padding: 5px;
}

.laims-feature-icon svg {
    width: 32px;
    height: 32px;
    fill: var(--laims-black);
}

/* Utility */
.laims-text-primary {
    color: var(--laims-primary);
}

/* Animations */
.laims-animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.laims-animate-on-scroll.laims-active {
    opacity: 1;
    transform: translateY(0);
}

.laims-fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: laimsFadeIn 0.8s ease forwards;
}

.laims-delay-0 { animation-delay: 0s; }
.laims-delay-1 { animation-delay: 0.1s; }
.laims-delay-2 { animation-delay: 0.2s; }
.laims-delay-3 { animation-delay: 0.3s; }

/* How it works – LAIMS */
.laims-how-it-works {
    background-color: var(--laims-gray-light);
    text-align: center;
    padding: 80px 0;
}

.laims-how-title {
    margin-bottom: 60px;
}

.laims-how-title h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    line-height: 1.2;
    font-weight: 700;
}

.laims-how-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.laims-step {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    position: relative;
    padding: 2rem;
    background-color: var(--laims-white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.laims-step h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.laims-step p {
    margin-top: 0.5rem;
}

.laims-step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background-color: var(--laims-primary);
    color: var(--laims-black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* Responsive How it works */
@media (max-width: 768px) {
    .laims-how-it-works {
        padding: 60px 0;
    }

    .laims-step {
        max-width: 100%;
    }
}

/* LAIMS Offer Section */
.laims-offer {
    background-color: var(--laims-black);
    color: var(--laims-white);
    text-align: center;
    padding: 80px 20px;
    margin-top: 2rem;
}

.laims-offer-content {
    max-width: 800px;
    margin: 0 auto;

    & p {
        max-width: 800px;
    }
}

.laims-offer-content h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 700;
}

.laims-offer-content p {
    font-size: 1.1rem;
    margin-top: 0.5rem;
}


/* LAIMS CTA Section */
.laims-cta {
    padding: 20px 0;
    background-color: var(--laims-black);
    color: var(--laims-white);
    text-align: center;
}

.laims-cta-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.laims-cta-heading {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 0; /* Abstand macht das Gap der Container-Column */
}

.laims-cta-text {
    max-width: 600px;
    margin: 0 auto 0;
    opacity: 0.9;
    font-size: 1rem;
}

/* LAIMS Pulse CTA Button (aus .pulse-cta übernommen) */
.laims-pulse-cta { 
    --laims-btn-size: 130px;
    inline-size: var(--laims-btn-size);
    block-size: var(--laims-btn-size);
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: radial-gradient(60% 60% at 50% 50%, #111 0%, var(--laims-primary) 100%);
    color: var(--laims-button-color);
    display: grid;
    place-items: center;
    position: relative;
    box-shadow: 0 8px 20px -6px color-mix(in srgb, var(--laims-primary) 50%, black);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
    outline: none;
    z-index: 10;
}

.laims-pulse-icon {
    inline-size: 40%;
    block-size: 40%;
    fill: currentColor;
    transform: translateX(2%);
}

/* Puls-Effekt */
.laims-pulse-cta::before,
.laims-pulse-cta::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    box-shadow: 0 0 0 0 var(--laims-button-color);
    animation: laims-pulse 2.2s ease-out infinite;
}

.laims-pulse-cta::after {
    animation-delay: 1s;
}

@keyframes laims-pulse {
    0% {
        box-shadow: 0 0 0 0 color-mix(in srgb, var(--laims-primary) 80%, transparent);
        opacity: 1;
    }
    70% {
        box-shadow: 0 0 0 28px color-mix(in srgb, var(--laims-powered-by-color) 0%, transparent);
        opacity: .4;
    }
    100% {
        box-shadow: 0 0 0 40px transparent;
        opacity: 0;
    }
}

/* Hover/Focus */
.laims-pulse-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 28px -6px color-mix(in srgb, var(--laims-primary) 60%, black);
}

.laims-pulse-cta:active {
    transform: scale(.95);
}

.laims-pulse-cta:focus-visible {
    box-shadow:
        0 0 0 4px color-mix(in srgb, var(--laims-powered-by-color) 30%, transparent),
        0 8px 24px -6px color-mix(in srgb, var(--laims-primary) 60%, black);
}

/* LAIMS Modal */
.laims-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.laims-modal.laims-active,
.laims-modal.active { /* falls dein JS 'active' benutzt */
    opacity: 1;
    visibility: visible;
}

.laims-modal-content {
    background-color: var(--laims-white);
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    padding: 40px;
    position: relative;
    transform: translateY(20px);
    transition: all 0.3s ease;
    border-top: 4px solid var(--laims-primary);
}

.laims-form-group input, textarea{
    background-color: white;
    color: black;
}

.laims-modal.laims-active .laims-modal-content,
.laims-modal.active .laims-modal-content {
    transform: translateY(0);
}

.laims-close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--laims-gray-muted);
}

.laims-modal-content h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--laims-black);
}

/* Form */
.laims-form-group {
    margin-bottom: 20px;
}

.laims-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--laims-black);
}

.laims-form-group input,
.laims-form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
}

.laims-form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.laims-success-message {
    display: none;
    text-align: center;
    padding: 20px;
}

.laims-success-message svg {
    width: 60px;
    height: 60px;
    fill: var(--laims-primary);
    margin-bottom: 20px;
    animation: laims-checkmark 0.5s ease;
}

@keyframes laims-checkmark {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}


/* Bewegungen reduzieren */
@media (prefers-reduced-motion: reduce) {
    .laims-pulse-cta::before,
    .laims-pulse-cta::after {
        animation: none;
    }
}


@keyframes laimsFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
    .laims-page-hero {
        min-height: 300px;
    }

    .laims-logo-container {
        width: 100%;
        height: 100px;
    }

    .laims-solution-cards{
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        max-width: none;
    }

    .laims-solution-card{
        margin: 0 20px 0 20px;
    }

    .laims-problem-content{
        padding: 0 20px
    }
}

@media (max-width: 420px) {
    .laims-section-title {
        font-size: 1.8rem;
    }
}
