/* Starte Hier Page Styles */

/* Hero Section Customization */
.hero {
    min-height: auto !important;
    padding: 0 !important;
    max-width: 100% !important;
    width: 100%;
}

.hero-content {
    max-width: 100% !important;
    width: 100%;
    padding: 2rem 1.5rem !important; /* Reduced padding */
    gap: 1rem !important; /* Reduced gap */
}

/* Hero headings */
.hero h1 {
    margin-bottom: 1rem !important;
    font-size: 2.5rem !important;
}

.hero__sub {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 1.5rem !important; /* Reduced bottom margin */
}

.hero__selection-heading {
    text-align: center; 
    margin-top: 0.5rem !important;
    margin-bottom: 0.5rem !important;
}

.hero__cta-group {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem !important;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-option {
    flex: 1;
    max-width: 450px;
}

.btn-option p {
    font-size: 0.9rem;
    margin-top: 0.8rem;
    text-align: center;
}

.testimonial-blob {
    margin-top: 1.5rem !important;
    text-align: center;
}

.testimonial-blob small {
    display: block;
    font-style: italic;
    text-align: center;
    margin-top: 5px;
}

.btn-equal {
    display: block;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}

.btn--primary {
    background-color: var(--primary-color);
    transform: scale(1.1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-size: 1.2rem;
    padding: 1rem 2rem;
}

.btn--secondary {
    background-color: var(--accent-color);
    font-size: 1.2rem;
    padding: 1rem 2rem;
}

/* Value Pitch Styling */
.value-pitch {
    background-color: #f8fafc;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    max-width: 900px;
    margin: -2rem auto 3rem;
    position: relative;
    z-index: 10;
}

/* Other sections spacing fixes */
.timeline, 
.carousel, 
.compare, 
.faq,
.testimonials {
    padding: 3rem 1.5rem !important;
}

.value-pitch__list {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.value-pitch__list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.value-pitch__list .custom-icon {
    font-size: 1.25rem;
}

/* Self Test Styling */
.self-test {
    background-color: white;
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    max-width: 800px;
    margin: 0 auto 4rem;
    text-align: center;
}

.self-test h2 {
    margin-bottom: 1.5rem;
}

#self-test-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

#self-test-form label {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
}

#self-test-form label:hover {
    background-color: #f1f5f9;
    border-color: var(--primary-light);
}

#self-test-form input[type="radio"] {
    width: 20px;
    height: 20px;
}

#self-test-form input[type="radio"]:checked + label {
    background-color: var(--primary-light);
    color: white;
    border-color: var(--primary-color);
}

/* Timeline Styling */
.timeline {
    max-width: 1000px;
    margin: 0 auto 5rem;
    padding: 2rem;
}

.timeline h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.timeline__steps {
    display: flex;
    justify-content: space-between;
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
}

.timeline__steps::before {
    content: '';
    position: absolute;
    top: 32px;
    left: 0;
    right: 0;
    height: 4px;
    background-color: var(--light-gray);
    z-index: 0;
}

.timeline__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex: 1;
    z-index: 1;
    text-align: center;
    max-width: 300px;
}

.timeline__icon {
    width: 64px;
    height: 64px;
    background-color: white;
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1rem;
    z-index: 1;
}

.timeline__content {
    padding: 0 1rem;
}

.timeline__content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.timeline__content p {
    font-size: 0.9rem;
    color: var(--gray-color);
}

/* Carousel Styling */
.carousel {
    background-color: #f1f5f9;
    padding: 4rem 2rem;    
    text-align: center;
}

.carousel h2 {
    margin-bottom: 3rem;
    text-align: center;
}

.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns on desktop */
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .screenshot-grid {
        grid-template-columns: 1fr; /* 1 column on mobile */
    }
}

.screenshot-item {
    text-align: center;
    transition: var(--transition);
}

.screenshot-item:hover {
    transform: translateY(-5px);
}

.screenshot-item img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    max-width: 100%;
    height: auto;
}

.screenshot-item figcaption {
    margin-top: 1rem;
    font-weight: 500;
    font-size: 1.1rem;
    color: var(--dark-color);
}

/* Tabbed Optin Section Styling */
.optin-tabs-section {
    background-color: white;
    padding: 2rem 1.5rem !important; /* Further reduced padding */
    max-width: 1200px;
    margin: 0 auto 4rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    scroll-margin-top: 20px; /* Helps with scroll positioning */
}

.optin-tabs-heading {
    text-align: center;
    font-size: 1.8rem !important; /* Reduced font size */
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.optin-tabs-subheading {
    text-align: center;
    color: var(--gray-color);
    font-size: 1rem; /* Reduced font size */
    max-width: 800px;
    margin: 0 auto 1rem; /* Reduced margin */
}

.tabs-container {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.tabs-header {
    display: flex;
    border-bottom: 1px solid var(--light-gray);
}

.tab-btn {
    flex: 1;
    padding: 0.8rem; /* Reduced padding */
    border: none;
    background-color: #f8fafc;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.tab-btn.active {
    background-color: white;
    color: var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
}

.tab-btn:hover:not(.active) {
    background-color: #f1f5f9;
}

.tab-pane {
    display: none;
    padding: 1.5rem; /* Reduced padding */
}

.tab-pane.active {
    display: block;
}

/* New Opt-in Form Container */
.optin-form-container {
    max-width: 800px;
    margin: 0 auto;
}

.optin-form-container h3 {
    font-size: 1.6rem; /* Reduced font size */
    margin-bottom: 0.5rem; /* Reduced margin */
    color: var(--primary-color);
    text-align: center;
}

.optin-form-container p {
    font-size: 1rem; /* Reduced font size */
    margin-bottom: 1rem; /* Reduced margin */
    text-align: center;
}

.optin-form {
    max-width: 500px;
    margin: 0 auto 1rem; /* Reduced bottom margin */
}

.optin-form form {
    margin-top: 0;
}

/* Submit button styling for the form */
.optin-form .button {
    width: 100%;
    padding: 0.8rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transition: all 0.3s ease;
}

.optin-form .button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Benefits list in a container */
.benefits-box {
    margin-top: 1.5rem;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 800px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem; /* Reduced gap */
    margin-bottom: 0.7rem; /* Reduced margin */
    font-size: 1rem; /* Reduced font size */
    width: 48%; /* Two-column layout */
}

.benefits-list li i {
    margin-top: 0.25rem;
    min-width: 16px;
    min-height: 16px;
    background-size: contain;
}

.benefits-list .custom-icon-check {
    filter: invert(58%) sepia(77%) saturate(456%) hue-rotate(94deg) brightness(91%) contrast(88%);
}

.urgency-message {
    background-color: #fffbea;
    border-left: 4px solid #f59e0b;
    padding: 0.8rem; /* Reduced padding */
    margin: 0 auto 1.5rem;
    font-size: 1rem; /* Reduced font size */
    max-width: 500px; /* Match form width */
    text-align: center;
}

/* Modal Styling */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background-color: white;
    border-radius: var(--border-radius);
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 2rem;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--gray-color);
}

.modal-tab-header {
    display: flex;
    border-bottom: 1px solid var(--light-gray);
    margin-bottom: 1.5rem;
}

.modal-tab-btn {
    flex: 1;
    padding: 0.75rem;
    border: none;
    background: none;
    cursor: pointer;
    font-weight: 600;
}

.modal-tab-btn.active {
    color: var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
}

.modal-tab-pane {
    display: none;
}

.modal-tab-pane.active {
    display: block;
}

.modal-benefits {
    list-style: none;
    padding: 0;
    margin: 1rem 0 2rem;
}

.modal-benefits li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.modal-benefits li i {
    min-width: 16px;
    min-height: 16px;
    background-size: contain;
}

.modal-benefits .custom-icon-check {
    filter: invert(58%) sepia(77%) saturate(456%) hue-rotate(94deg) brightness(91%) contrast(88%);
}

.modal-urgency {
    background-color: #fffbea;
    border-radius: var(--border-radius);
    padding: 0.75rem;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 600;
}

.countdown {
    color: #c2410c;
}

/* Micro Testimonials Customization */
.micro-testimonials {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.micro-testimonials .testimonials-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.micro-testimonials .testimonial {
    flex: 0 0 calc(33.333% - 1.5rem);
    min-width: 250px;
}

/* Comparison Table Styling */
.comparison-table {
    max-width: 1000px;
    margin: 3rem auto;
    overflow-x: auto;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}

.comparison-table th, 
.comparison-table td {
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid var(--light-gray);
}

.comparison-table th:first-child,
.comparison-table td:first-child {
    text-align: left;
}

.comparison-table th {
    background-color: #f8fafc;
    font-weight: 600;
    font-size: 1.1rem;
}

.comparison-table th:first-child {
    width: 40%;
}

.comparison-table tr:nth-child(even) {
    background-color: #f8fafc;
}

.comparison-table .custom-icon {
    min-width: 16px;
    min-height: 16px;
    background-size: contain;
}

.comparison-table .custom-icon-check {
    filter: invert(58%) sepia(77%) saturate(456%) hue-rotate(94deg) brightness(91%) contrast(88%) !important;
}

.comparison-table .custom-icon-times {
    filter: invert(25%) sepia(94%) saturate(7142%) hue-rotate(359deg) brightness(98%) contrast(118%) !important;
}

/* Table CTA */
.table-cta {
    text-align: center;
    margin-top: 2rem;
}

/* Opt-in Sections */
.optin {
    background-color: #f8fafc;
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 5rem;
}

.optin.hide {
    display: none;
}

.optin h2 {
    margin-bottom: 1rem;
    font-size: 2.2rem;
    color: var(--primary-color);
}

.optin__sub {
    color: var(--gray-color);
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

/* Compare Section Styling */
.compare {
    padding: 5rem 2rem;
    text-align: center;
}

.compare h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.compare-subtitle {
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.2rem;
    color: var(--gray-color);
}

.compare-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.card {
    flex: 1;
    min-width: 300px;
    max-width: 450px;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.card--free {
    background-color: white;
    border: 2px solid var(--primary-light);
    z-index: 2;
    position: relative;
}

.card--bootcamp {
    background-color: #f1f5f9;
    position: relative;
}

.card--free::before {
    content: 'Empfohlen';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--success-color);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--light-gray);
}

.card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    text-align: left;
}

.card li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.card .custom-icon-check {
    filter: invert(58%) sepia(77%) saturate(456%) hue-rotate(94deg) brightness(91%) contrast(88%);
}

.card .btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
}

.btn--secondary {
    background-color: var(--gray-color);
}

/* Footer CTA Styling */
.final-cta {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    text-align: center;
    padding: 4rem 2rem;    
    position: relative;
    overflow: hidden;
    width: 100%;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/wp-content/landing/assets/patterns/dots.svg');
    background-size: 200px;
    opacity: 0.1;
    z-index: 0;
}

.final-cta h2, .final-cta p {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.final-cta h2 {
    color: white;
    font-size: 2.5rem;
    text-align: center;
}

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

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}

.cta-button {
    background-color: white;
    color: var(--primary-color);
    padding: 1rem 2rem;
    font-size: 1.2rem;
}

.secondary-cta {
    background-color: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid white;
}

.secondary-cta:hover {
    background-color: rgba(255, 255, 255, 0.25);
    color: white;
}

/* Sticky CTA Bar */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    gap: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.sticky-cta.show {
    transform: translateY(0);
}

.sticky-cta p {
    margin: 0;
    font-weight: 500;
}

.btn--sticky {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
}

/* Fix FAQ Icons */
.faq-question .toggle i {
    min-width: 16px;
    min-height: 16px;
    background-size: contain;
}

/* Responsive adjustments */
@media (max-width: 1100px) {
    /* Larger screens but not desktops */
    .hero h1 {
        font-size: 2.2rem !important;
    }
    
    .hero-content {
        padding: 2rem 1.5rem !important;
    }
    
    .btn-option {
        max-width: 400px;
    }
}

@media (max-width: 900px) {
    /* Tablet view */
    .hero-content {
        padding: 1.5rem !important;
    }
    
    .hero h1 {
        font-size: 2rem !important;
        max-width: 100% !important;
    }
    
    .hero__sub {
        margin-bottom: 1rem !important;
    }
    
    .hero__cta-group {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem !important;
    }
    
    .btn-option {
        max-width: 100%;
        width: 100%;
    }
    
    /* Opt-in section mobile adjustments */
    .optin-tabs-section {
        padding: 1.5rem 1rem !important;
        scroll-margin-top: 10px;
    }
    
    .optin-tabs-heading {
        font-size: 1.6rem !important;
    }
    
    .tab-pane {
        padding: 1.2rem 1rem;
    }
    
    /* Make benefits list single column on tablets */
    .benefits-list li {
        width: 100%;
    }
    
    /* Timeline steps mobile layout */
    .timeline__steps {
        flex-direction: column;
        gap: 3rem;
    }
    
    .timeline__steps::before {
        top: 0;
        bottom: 0;
        left: 32px;
        right: auto;
        width: 4px;
        height: auto;
    }
    
    .timeline__step {
        flex-direction: row;
        text-align: left;
        width: 100%;
        max-width: 100%;
    }
    
    .timeline__icon {
        margin-bottom: 0;
        margin-right: 1.5rem;
    }
    
    .micro-testimonials .testimonial {
        flex: 0 0 100%;
    }
    
    .comparison-table {
        overflow-x: scroll;
    }
    
    /* Stack tabs vertically on mobile */
    .tabs-header {
        flex-direction: column;
    }
    
    .tab-btn {
        text-align: center;
        border-bottom: 1px solid var(--light-gray);
        white-space: normal;
    }
    
    .tab-btn.active {
        border-bottom: 1px solid var(--light-gray);
        border-left: 4px solid var(--primary-color);
    }
    
    .tabs-header .tab-btn:last-child {
        border-bottom: none;
    }
    
    /* Fix form container spacing on mobile */
    .optin-form-container {
        padding: 0;
    }
    
    .optin-form {
        margin-top: 1rem;
        margin-bottom: 1rem;
    }
    
    .urgency-message {
        padding: 0.8rem;
        margin: 0 auto 1.2rem;
    }
}

@media (max-width: 600px) {
    /* Small mobile view */
    .hero {
        padding: 0 !important;
    }
    
    .hero-content {
        padding: 1.5rem 1rem !important;
    }
    
    .hero h1 {
        font-size: 1.8rem !important;
        line-height: 1.2 !important;
    }
    
    .hero__sub {
        font-size: 1rem !important;
    }
    
    .value-pitch {
        padding: 1.5rem !important;
        margin-top: -1rem !important;
    }
    
    /* Ultra-compact opt-in for small phones */
    .optin-tabs-section {
        padding: 1rem 0.8rem !important;
    }
    
    .optin-tabs-heading {
        font-size: 1.4rem !important;
    }
    
    .optin-tabs-subheading {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
    }
    
    .tab-pane {
        padding: 1rem 0.6rem;
    }
    
    .optin-form-container h3 {
        font-size: 1.4rem;
    }
    
    .optin-form-container p {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
    }
    
    .benefits-list li {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .value-pitch__list {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .sticky-cta {
        flex-direction: column;
        padding: 1rem 0.5rem;
    }
    
    .compare-container {
        flex-direction: column;
    }
    
    .modal-content {
        width: 95%;
        padding: 1.5rem;
    }
}

/* Fix for icons */
.custom-icon {
    display: inline-block !important;
    width: 1em !important;
    height: 1em !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    vertical-align: -0.125em !important;
}

.custom-icon-check {
    background-image: url('/wp-content/landing/assets/icons/fa/check.svg') !important;
    filter: invert(70%) sepia(76%) saturate(436%) hue-rotate(121deg) brightness(90%) contrast(89%) !important; /* Turquoise color */
}

.custom-icon-times {
    background-image: url('/wp-content/landing/assets/icons/fa/times.svg') !important;
    filter: invert(45%) sepia(94%) saturate(7485%) hue-rotate(357deg) brightness(97%) contrast(106%) !important; /* Red color */
}

.custom-icon-plus {
    background-image: url('/wp-content/landing/assets/icons/fa/plus.svg') !important;
} 