:root {
    --primary-color: #10b981;
    --primary-dark: #059669;
    --secondary-color: #34d399;
    --accent-color: #f59e0b;
    --bg-primary: #f8fafc;
    --bg-secondary: #f1f5f9;
    --bg-card: #ffffff;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --border-light: #e2e8f0;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-hover: rgba(0, 0, 0, 0.06);
}

.is-website {
    display: none;
}

.is-app {
    display: none;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    font-weight: 400;
}

input {
    width: 100%;
    padding: 15px;
    border: 1px solid rgb(208, 208, 208);
    border-radius: 8px;
    margin-bottom: 8px;
}

input:focus {
    outline: 2px solid var(--primary-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-color);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
}

h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
}

h3 {
    font-size: 1.25rem;
}

a {
    color: var(--primary-color);
}

.footer a {
    text-decoration: none;
    color: var(--text-muted);
}

/* Buttons */
.btn-primary {
    background: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s ease;
    border: 2px solid var(--border-light);
}

.btn-secondary:hover {
    background: var(--bg-secondary);
    border-color: var(--primary-color);
}

/* Hero Section */
.hero {
    padding: 80px 0 120px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%2310b981' fill-opacity='0.02'%3E%3Ccircle cx='20' cy='20' r='2'/%3E%3C/g%3E%3C/svg%3E") repeat;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    margin-bottom: 24px;
    background: var(--primary-color);
    background: linear-gradient(135deg, var(--text-primary), var(--primary-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.reset-form-btn-class {
    color: #ff251f !important;
}

.ls-heading {
    font-size: 22px;
    margin-bottom: 20px;
}

#forgot-pw-btn {
    appearance: none;
    border: none;
    background: initial;
    outline: none;
    color: #5e5e5e;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    margin: 20px 0 10px 0;
}

#reset-form-btn {
    appearance: none;
    border: none;
    background: initial;
    outline: none;
    color: #5e5e5e;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    margin: 2px auto 10px auto;
    display: none;
}

.checkbox-wrapper-terms {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 15px 0;
}

#register-sign-button {
    margin-top: 8px;
    padding: 16px 60px;
}

/* Standard-Checkbox ausblenden */
.checkbox-wrapper-terms input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 14px;
    height: 14px;
    border: 2px solid rgb(61, 61, 61);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 8px;
    margin-bottom: 0;
}

.agree-terms {
    font-size: 14px;
    line-height: 1.3;
}

/* Grün beim Aktivieren */
.checkbox-wrapper-terms input[type="checkbox"]:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Weißer Haken */
.checkbox-wrapper-terms input[type="checkbox"]:checked::after {
    content: "✔";
    color: white;
    font-size: 14px;
    line-height: 1;
}

.social-buttons-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

.social-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid #E2EAF1;
    background: #FFF;
    box-shadow: 0px 4px 20px 0px rgba(176, 180, 186, 0.25);
    width: 54px;
    height: 54px;
}

.highlight-heading {
    background: var(--primary-color);
    background: linear-gradient(135deg, var(--text-primary), var(--primary-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Task Cards */
.task-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin: 80px 0;
}

.legals-wrapper {
    padding: 40px 20px 300px 20px;
}

.legals-wrapper * {
    color: black;
}

.legals-wrapper h2 {
    margin-bottom: 15px;
    font-size: 32px;
}

.legals-wrapper h5 {
    margin-bottom: 15px;
    font-size: 18px;
}

.legals-wrapper .text-break {
    margin-bottom: 15px;
    word-wrap: break-word !important;
    word-break: break-word !important;
}

.task-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    /*border: 2px solid var(--border-light);*/
    /*border-color: var(--primary-color);*/
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.02);
}

/*    .task-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 4px;
      background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
      transition: transform 0.3s ease;
    }*/

.task-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px var(--shadow-hover);
    border-color: var(--primary-color);
}

.task-card h3 {
    margin-bottom: 5px;
}

.task-icon {
    width: 44px;
    display: block;
    margin: 0 auto 20px auto;
}

.task-reward {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 16px;
    display: inline-block;
}

/* Stats Section */
.stats-section {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 60px 40px;
    margin: 80px 0;
    text-align: center;
    border: 2px solid var(--border-light);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* How it Works */
.how-it-works {
    margin: 100px auto;
}

.how-it-works h2 {
    text-align: center;
    margin-bottom: 60px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    align-items: stretch; /* sorgt dafür, dass alle gleich hoch werden */
    margin-bottom: 40px;
}

.grid-reversed > :nth-child(1) {
    order: 2;
}

.grid-reversed > :nth-child(2) {
    order: 1;
}

.step-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 40px;
    border: 2px solid var(--border-light);
    transition: all 0.3s ease;
}

.step-card h3 {
    margin-bottom: 5px;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px var(--shadow-hover);
}

.step-number {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.step-visual {
    display: flex;
}

.step-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;      /* wie background-size: cover */
    object-position: center; /* wie background-position: center */
    border-radius: 20px;
}

/* Testimonials */
.testimonials {
    background: var(--bg-secondary);
    padding: 80px 0;
    margin: 80px 0;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 60px;
}

.testimonial-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 32px;
    border: 2px solid var(--border-light);
    transition: all 0.3s ease;
    height: auto; /* wichtig für Swiper */
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px var(--shadow-hover);
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-style: italic;
}

.testimonial-name {
    font-weight: 600;
    color: var(--primary-color);
}

.testimonials-swiper {
    padding-bottom: 60px; /* Platz für Dots + Pfeile */
}

.testimonials-swiper .swiper-pagination {
    bottom: 10px !important;
    text-align: center;
}

.testimonials-swiper .swiper-pagination-bullet {
    background: var(--primary-color); /* grün */
    opacity: 0.4;
}

.testimonials-swiper .swiper-pagination-bullet-active {
    background: var(--primary-color); /* grün */
    opacity: 1;
}

.testimonials-swiper .swiper-button-next,
.testimonials-swiper .swiper-button-prev {
    color: var(--primary-color); /* grün */
    top: auto;          /* Standard-Position überschreiben */
    bottom: 0;          /* unter die Karten setzen */
    transform: translateY(50%); /* etwas nach unten verschieben */
}

.testimonials-swiper .swiper-button-prev {
    left: 40%;
    display: none;
}

.testimonials-swiper .swiper-button-next {
    right: 40%;
    display: none;
}

/* App Section */
.app-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin: 100px 0;
    background: var(--bg-card);
    padding: 60px;
    border-radius: 24px;
    border: 2px solid var(--border-light);
}

.app-downloads {
    display: flex;
    gap: 16px;
    margin-top: 30px;
}

.app-downloads img {
    width: 175px;
}

.app-download {
    background: var(--text-primary);
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.app-download:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.app-visual {
    display: flex;
}

.app-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;      /* wie background-size: cover */
    object-position: center; /* wie background-position: center */
    border-radius: 20px;
}

/* FAQ Section */
.faq-section {
    margin: 100px auto;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 60px;
}

.faq-grid {
    display: grid;
    gap: 20px;
}

.faq-item {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 32px;
    border: 2px solid var(--border-light);
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px var(--shadow-hover);
    border-color: var(--primary-color);
}

.faq-question {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.faq-answer {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    text-align: center;
    padding: 80px 40px;
    border-radius: 24px;
    margin: 80px 0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

.cta-section h2 {
    color: white;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.btn-white {
    background: white;
    color: var(--primary-color);
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s ease;
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    padding: 40px 0;
    text-align: center;
    border-top: 2px solid var(--border-light);
}

.footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.site-header {
    position: relative;
    width: 100%;
    background: white;
    transition: all 0.3s ease;
    box-shadow: none;
}

.site-header.scrolled {
    position: fixed;
    top: 0;
    left: 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 5px 0;
    z-index: 1000;
    background-color: white;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: padding 0.3s ease;
}

.site-header.scrolled .header-container {
    padding: 15px 20px;
}

.logo {
    height: 40px;
}

/* CSS */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    transition: all 0.3s ease;
    box-shadow: none;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: padding 0.3s ease;
    background-color: transparent;
}

.site-header.scrolled {
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.site-header.scrolled .header-container {
    padding: 15px 20px;
}

.logo {
    height: 40px;
}

.btn-header {
    padding: 12px 30px;
}

/* Language Button */
.lang-btn {
    border-radius: 12px;
    padding: 12px 12px;
    background: transparent;
    color: var(--primary-color);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    gap: 2px;
    align-items: center;
    justify-content: center;

    border: 2px solid var(--primary-color);
}

.lang-btn:hover {
    transform: translateY(-2px);
}

.lang-btn svg {
    width: 17px;
    height: 17px;
    fill: var(--primary-color);
    position: relative;
    bottom: 1px;
}

.header-actions {
    display: flex;
    gap: 10px;
}

/* damit Inhalt nicht vom Header überdeckt wird */
body {
    padding-top: 90px; /* Höhe des Headers im Ausgangszustand */
}

.p-logo {
    display: flex;
    gap: 5px;
    align-items: center;
    justify-content: center;
}

.p-logo-text {
    color: #1e293b;
    font-style: italic;
    font-weight: 800;
    font-size: 28px;
}

.p-logo-text span {
    color: #059669;
}

.payout-slider {
    width: 100%;
    overflow: hidden;
    padding: 0 0;
    position: relative;
}

.slider-container {
    display: flex;
    align-items: center;
    gap: 60px;
    width: fit-content;
}

.slider-container.scrolling {
    animation: slide infinite linear;
}

.slide-item {
    flex-shrink: 0;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-item img {
    height: 100%;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.slide-item:hover img {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.05);
}

#signin_error, #pw_error, #resetpwerror {
    display: none;
    font-weight: 700;
    color: red;
    margin-bottom: 8px;
    font-size: 13px;
}

#signin_success, #pw_error, #resetpwsuccess {
    display: none;
    font-weight: 700;
    color: #0fb57e;
    margin-bottom: 8px;
    font-size: 13px;
}

.forgot-pw-text {
    line-height: 1.4;
    font-size: 16px;
    margin: -8px 0 14px 0;
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 1050px)
{
    .app-section {
        grid-template-columns: 1fr;
        padding: 45px 32px;
        gap: 0;
    }
}

/* Responsive */
@media (max-width: 768px) {
    input {
        font-size: 16px !important;
    }

    .slide-item {
        height: 30px;
    }

    .slider-container {
        gap: 40px;
    }

    .p-logo-text {
        display: none;
    }

    .hero {
        padding: 60px 0 80px;
    }

    .task-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .grid-reversed > :nth-child(1) {
        order: 1;
    }

    .grid-reversed > :nth-child(2) {
        order: 2;
    }

    .stats-section {
        padding: 40px 20px;
    }

    .container {
        padding: 0 16px;
    }

    .cta-section {
        padding: 45px 32px;
    }

    .cta-section p {
        margin-bottom: 20px;
    }

    .stats-grid {
        gap: 25px;
        margin-top: 25px;
    }

    .step-card {
        padding: 32px;
    }

    .step-number {
        width: 30px;
        height: 30px;
        font-size: 14px;
        margin-bottom: 15px;
    }
}

@media (max-width: 600px)
{
    .app-downloads img {
        width: 100%;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

.task-card:nth-child(1) { animation: fadeInUp 0.8s ease-out 0.1s both; }
.task-card:nth-child(2) { animation: fadeInUp 0.8s ease-out 0.2s both; }
.task-card:nth-child(3) { animation: fadeInUp 0.8s ease-out 0.3s both; }


#terms-wrapper, #password, #repeat-password {
    display: none;
}

#register-sign-button {
    width: 100%;
}

/* MODAL */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.5); /* Backdrop */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 999999;
}

.modal-content-wrapper {
    background: #fff;
    padding: 90px 50px;
    border-radius: 17px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    cursor: initial;
    position: relative;
}

.modal.long-animation {
    transition: opacity .3s ease, visibility .3s ease; /* Longer duration */
}

.modal-content {
    margin-bottom: 15px;
}

.modal-icon-wrapper svg {

}

.modal.show {
    opacity: 1;
    visibility: visible;
}

.smodal-close-btn {
    width: 16px;
    height: 16px;
    position: absolute;
    right: 15px;
    top: 20px;
    fill: var(--primary-dark);
    cursor: pointer;
}

.modal-button-neutral {
    padding: 15px 50px;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    width: 100%;
    max-width: 300px;
    color: #4B4B4B;
    border: 1px solid #E2EAF1;
    background-color: white;
    margin-top: 10px;
}

.modal-button-positive {
    padding: 15px 50px;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    width: 100%;
    max-width: 300px;
    color: white;
    background-color: #3DD9CF;
    background: linear-gradient(239deg, #34c4d9 19.17%, #84e1ce 86.28%);
    margin-top: 10px;
    border: none;
}

@media screen and (max-width: 768px)
{
    .modal-content-wrapper {
        max-height: 80vh;
    }

    #survey-modal .modal-content-wrapper,#website-overlay-modal .modal-content-wrapper, .modal-content-wrapper-fullscreen {
        max-height: initial;
        max-width: initial;
        height: 97vh;
        height: 97dvh;
        width: 95%;
    }

    #survey-modal .modal-content-wrapper,#website-overlay-modal .modal-content-wrapper, .modal-content-wrapper-fullscreen {
        padding: 51px 20px 35px 20px;
    }
}

@media screen and (max-width: 550px)
{
    .modal-content-wrapper {
        padding: 55px 20px;
    }

    .modal-icon-wrapper svg {
        width: 45px;
        height: auto;
    }
}
