/* ========================================
   TYPO3 Update Landing Page - Modern Design
   ======================================== */

:root {
    /* Default Brand Colors */
    --primary-color: #3498db;
    --primary-dark: #2980b9;
    --secondary-color: #1a1a1a;
    --accent-color: #0080ff;

    /* CMS-specific Colors */
    --wordpress-color: #21759b;
    --typo3-color: #ff8700;
    --drupal-color: #0678be;
    --joomla-color: #5091cd;
    --moodle-color: #f7931d;

    /* UI Colors */
    --bg-gradient-start: #f8f9fa;
    --bg-gradient-end: #e9ecef;
    --white: #ffffff;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --border-color: #dee2e6;
    --success-color: #28a745;
    --error-color: #dc3545;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;

    /* Typography */
    --font-main: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.6;
}

/* ========================================
   RESET & BASE STYLES
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: var(--font-size-base);
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    line-height: var(--line-height-base);
    color: var(--text-dark);
    background: linear-gradient(135deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   LANGUAGE SWITCHER
   ======================================== */

.language-switcher {
    position: fixed;
    top: var(--spacing-md);
    right: var(--spacing-md);
    z-index: 1000;
    background: var(--white);
    border-radius: 25px;
    padding: var(--spacing-xs);
    box-shadow: var(--shadow-md);
    display: flex;
    gap: var(--spacing-xs);
}

.language-switcher a {
    padding: 0.5rem 1rem;
    text-decoration: none;
    color: var(--text-dark);
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.language-switcher a:hover {
    background: var(--bg-gradient-start);
    color: var(--primary-color);
}

.language-switcher a.active {
    background: var(--primary-color);
    color: var(--white);
}

/* ========================================
   CONTAINER & LAYOUT
   ======================================== */

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--spacing-xl) var(--spacing-md);
}

/* ========================================
   HEADER
   ======================================== */

header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    animation: fadeInDown 0.8s ease-out;
}

header h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--secondary-color);
    margin-bottom: var(--spacing-md);
    font-weight: 700;
    line-height: 1.2;
}

header h1::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: var(--spacing-md) auto 0;
    border-radius: 2px;
}

.subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
    font-weight: 400;
}

/* ========================================
   CONTENT WRAPPER - TWO COLUMN LAYOUT
   ======================================== */

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: start;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

@media (max-width: 1024px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   BENEFITS SECTION
   ======================================== */

.benefits-section {
    animation: fadeInLeft 0.8s ease-out 0.3s backwards;
}

.benefits-section h2 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: var(--spacing-lg);
    font-weight: 700;
}

.benefits-list {
    list-style: none;
    margin-bottom: var(--spacing-xl);
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: var(--white);
    border-radius: 12px;
    margin-bottom: var(--spacing-md);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.benefits-list li:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
}

.benefits-list .icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    color: var(--primary-color);
    stroke-width: 2;
}

.benefits-list strong {
    color: var(--secondary-color);
    display: block;
    margin-bottom: 0.25rem;
}

/* ========================================
   INFO BOX
   ======================================== */

.info-box {
    background: var(--primary-color);
    color: var(--white);
    padding: var(--spacing-xl);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    animation: pulse 2s ease-in-out infinite alternate;
}

/* CMS-specific Info-Box Colors */
body[data-cms="wordpress"] .info-box {
    background: var(--wordpress-color);
}

body[data-cms="typo3"] .info-box {
    background: var(--typo3-color);
}

body[data-cms="drupal"] .info-box {
    background: var(--drupal-color);
}

body[data-cms="joomla"] .info-box {
    background: var(--joomla-color);
}

body[data-cms="moodle"] .info-box {
    background: var(--moodle-color);
}

@keyframes pulse {
    0% {
        box-shadow: var(--shadow-lg);
    }
    100% {
        box-shadow: 0 10px 30px rgba(33, 117, 155, 0.3);
    }
}

/* CMS-specific Pulse Animation */
body[data-cms="wordpress"] .info-box {
    animation: pulse-wordpress 2s ease-in-out infinite alternate;
}

body[data-cms="typo3"] .info-box {
    animation: pulse-typo3 2s ease-in-out infinite alternate;
}

@keyframes pulse-wordpress {
    0% { box-shadow: var(--shadow-lg); }
    100% { box-shadow: 0 10px 30px rgba(33, 117, 155, 0.3); }
}

@keyframes pulse-typo3 {
    0% { box-shadow: var(--shadow-lg); }
    100% { box-shadow: 0 10px 30px rgba(255, 135, 0, 0.3); }
}

.info-box h3 {
    font-size: 1.6rem;
    margin-bottom: var(--spacing-md);
    font-weight: 700;
}

.info-box p {
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

.info-box ul {
    list-style: none;
    margin-top: var(--spacing-md);
}

.info-box ul li {
    padding-left: var(--spacing-lg);
    margin-bottom: var(--spacing-sm);
    position: relative;
}

.info-box ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.2rem;
}

/* ========================================
   FORM SECTION
   ======================================== */

.form-section {
    animation: fadeInRight 0.8s ease-out 0.3s backwards;
}

.form-container {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    position: sticky;
    top: var(--spacing-lg);
}

.form-container h2 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

.form-intro {
    color: var(--text-light);
    margin-bottom: var(--spacing-lg);
    font-size: 1rem;
}

/* ========================================
   FORM ELEMENTS
   ======================================== */

.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: var(--spacing-xs);
    font-size: 0.95rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="url"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem var(--spacing-md);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    font-family: var(--font-main);
    transition: all 0.3s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 135, 0, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #adb5bd;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236c757d' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right var(--spacing-md) center;
    padding-right: var(--spacing-xl);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Checkbox styling */
.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-group label {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    cursor: pointer;
    font-weight: 400;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 0.25rem;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.checkbox-group a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.checkbox-group a:hover {
    text-decoration: underline;
}

/* ========================================
   SUBMIT BUTTON
   ======================================== */

.submit-btn {
    width: 100%;
    padding: var(--spacing-md) var(--spacing-xl);
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    margin-top: var(--spacing-md);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.submit-btn:active {
    transform: translateY(0);
}

.form-note {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: var(--spacing-md);
}

/* ========================================
   SUCCESS MESSAGE
   ======================================== */

.success-message {
    text-align: center;
    padding: var(--spacing-xl);
    background: #28a745;
    color: var(--white);
    border-radius: 12px;
    animation: slideInUp 0.5s ease-out;
}

.success-icon {
    width: 64px;
    height: 64px;
    margin-bottom: var(--spacing-md);
    stroke-width: 2;
}

.success-message h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
}

.success-message p {
    font-size: 1.1rem;
    line-height: 1.6;
}

/* ========================================
   FOOTER
   ======================================== */

footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: var(--white);
    margin-top: var(--spacing-xl);
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--spacing-xl);
}

.footer-column h3 {
    color: var(--white);
    margin-bottom: var(--spacing-md);
    font-size: 1.3rem;
    font-weight: 600;
}

.footer-column h4 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
}

/* Footer Services */
.footer-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-md);
}

.footer-services-columns {
    grid-column: span 2;
}

.footer-services,
.footer-legal {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-services li,
.footer-legal li {
    margin-bottom: var(--spacing-sm);
}

.footer-services a,
.footer-legal a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-services a::before {
    content: '→';
    margin-right: 8px;
    color: var(--primary-color);
    transition: margin-right 0.3s ease;
}

.footer-services a:hover,
.footer-legal a:hover {
    color: var(--primary-color);
    transform: translateX(3px);
}

.footer-services a:hover::before {
    margin-right: 12px;
}

/* Footer Contact */
.footer-contact {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: var(--spacing-sm);
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact svg {
    flex-shrink: 0;
    color: var(--primary-color);
}

.footer-contact a {
    color: #4da6ff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.footer-contact a:hover {
    color: #80bfff;
    text-decoration: underline;
}

/* Footer Bottom */
.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
    :root {
        --spacing-xl: 2rem;
        --spacing-lg: 1.5rem;
    }

    .language-switcher {
        top: var(--spacing-sm);
        right: var(--spacing-sm);
    }

    .container {
        padding: var(--spacing-lg) var(--spacing-sm);
    }

    header h1 {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1.1rem;
    }

    .benefits-list li {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .benefits-list li:hover {
        transform: translateY(-4px) translateX(0);
    }

    .form-container {
        padding: var(--spacing-lg);
        position: static;
    }

    .info-box {
        padding: var(--spacing-lg);
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .footer-services-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .footer-services-columns {
        grid-column: span 1;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.75rem;
    }

    .benefits-section h2,
    .form-container h2 {
        font-size: 1.5rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

/* ========================================
   TESTIMONIALS / REVIEWS SECTION
   ======================================== */

.testimonials-section {
    margin: var(--spacing-xl) 0;
    padding: var(--spacing-xl) 0;
    text-align: center;
}

.testimonials-section h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-xl);
}

.testimonials-swiper {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-lg) 0 var(--spacing-xl);
    position: relative;
}

.testimonial-card {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    height: auto;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
    margin: 0 var(--spacing-sm);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.stars {
    color: #ffc107;
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    font-style: italic;
    margin-bottom: var(--spacing-lg);
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-top: auto;
    padding-top: var(--spacing-md);
    border-top: 2px solid var(--bg-gradient-end);
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    flex-shrink: 0;
}

.author-info {
    text-align: left;
}

.author-info h4 {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.author-info p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

/* Swiper Navigation Buttons */
.swiper-button-next,
.swiper-button-prev {
    color: var(--primary-color);
    background: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 20px;
    font-weight: 900;
}

/* Swiper Pagination */
.swiper-pagination-bullet {
    background: var(--primary-color);
    opacity: 0.4;
    width: 12px;
    height: 12px;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--primary-color);
}

/* Trust Badges */
.trust-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    max-width: 1000px;
    margin: var(--spacing-xl) auto 0;
    padding: var(--spacing-lg) 0;
}

.trust-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    background: var(--white);
    padding: var(--spacing-md);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.trust-badge:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.badge-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.badge-text {
    text-align: left;
}

.badge-text strong {
    display: block;
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 0.25rem;
}

.badge-text span {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ========================================
   SEO CONTENT SECTION
   ======================================== */

.seo-content {
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-xl);
}

.seo-section {
    margin-bottom: var(--spacing-xl);
}

.seo-section h2 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: var(--spacing-md);
    font-weight: 700;
}

.seo-section p {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

/* Cost Factors Cards */
.cost-factors {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin: var(--spacing-lg) 0;
}

.factor-card {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.factor-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.factor-card h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: var(--spacing-sm);
}

.factor-card p {
    margin: 0;
    color: var(--text-dark);
}

.highlight-text {
    background: linear-gradient(135deg, #fff3cd 0%, #fff8e1 100%);
    padding: var(--spacing-md);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    margin: var(--spacing-lg) 0;
}

/* Version Timeline */
.version-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--spacing-md);
    margin: var(--spacing-lg) 0;
}

.version-item {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: all 0.3s ease;
}

.version-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.version-item.current {
    border: 2px solid #28a745;
}

.version-item.recommended {
    border: 2px solid var(--primary-color);
}

.version-item.outdated {
    border: 2px solid #ffc107;
}

.version-item.critical {
    border: 2px solid #dc3545;
}

.version-item h3 {
    font-size: 1.4rem;
    margin-bottom: var(--spacing-sm);
    color: var(--secondary-color);
}

.version-badge {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.version-badge.lts {
    background: #28a745;
    color: var(--white);
}

.version-badge.warning {
    background: #ffc107;
    color: var(--secondary-color);
}

.version-badge.danger {
    background: #dc3545;
    color: var(--white);
}

.version-item p {
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
}

.version-item ul {
    list-style: none;
    padding: 0;
}

.version-item ul li {
    padding-left: var(--spacing-lg);
    margin-bottom: var(--spacing-xs);
    position: relative;
    color: var(--text-dark);
}

.version-item ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Process Steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    margin: var(--spacing-lg) 0;
}

.step {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto var(--spacing-md);
    box-shadow: var(--shadow-md);
}

.step h3 {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: var(--spacing-sm);
}

.step p {
    margin: 0;
    color: var(--text-dark);
    font-size: 0.95rem;
}

/* FAQ Section */
.faq {
    margin: var(--spacing-lg) 0;
}

.faq-item {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: 12px;
    margin-bottom: var(--spacing-md);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-item h3 {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.faq-item h3::before {
    content: 'Q:';
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.4rem;
}

.faq-item p {
    margin: 0;
    padding-left: var(--spacing-lg);
    color: var(--text-dark);
    line-height: 1.8;
}

/* CTA Section */
.cta-section {
    background: var(--primary-color);
    color: var(--white);
    padding: var(--spacing-xl);
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: var(--spacing-md);
}

.cta-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    padding: var(--spacing-md) var(--spacing-xl);
    background: var(--white);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: var(--bg-gradient-start);
}

/* ========================================
   CMS NAVIGATION
   ======================================== */

.cms-navigation {
    margin: var(--spacing-xl) 0;
    padding: var(--spacing-xl) 0;
    text-align: center;
}

.cms-navigation h2 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: var(--spacing-lg);
    font-weight: 700;
}

.cms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    max-width: 1000px;
    margin: 0 auto;
}

.cms-card {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cms-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.cms-card.active {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(255, 135, 0, 0.05), rgba(255, 135, 0, 0.1));
}

.cms-card.active .cms-icon {
    filter: brightness(0) invert(1);
}

.cms-card .cms-icon {
    width: 48px;
    height: 48px;
    margin-bottom: var(--spacing-md);
    object-fit: contain;
    transition: filter 0.3s ease;
}

.cms-card h3 {
    font-size: 1.4rem;
    color: var(--secondary-color);
    margin-bottom: var(--spacing-sm);
    margin: 0;
}

.cms-card p {
    color: var(--text-light);
    margin: 0;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

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

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }

/* ========================================
   HOW IT WORKS - STEPS GRID
   ======================================== */

.how-it-works {
    margin: var(--spacing-xl) 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.step-card {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

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

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
    margin: 0 auto var(--spacing-md);
}

.step-card h3 {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-sm);
    color: var(--dark);
}

.step-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ========================================
   PRINT STYLES
   ======================================== */

@media print {
    .language-switcher,
    .form-section,
    footer {
        display: none;
    }

    body {
        background: white;
    }

    .content-wrapper {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
}

/* ========================================
   DARK MODE
   ======================================== */

@media (prefers-color-scheme: dark) {
    :root {
        /* Dark Mode Farben - helle Texte auf dunklem Hintergrund */
        --background: #0f0f1e;
        --light-bg: #1e1e2e;
        --white: #ffffff;
        --dark: #f5f5f5;
        --text-primary: #e8e8e8;
        --text-secondary: #b8b8b8;
        --secondary-color: #1a1a2e;
        --border-color: #3a3a4e;
    }

    body {
        background: var(--background) !important;
        background-color: var(--background) !important;
        color: var(--text-primary) !important;
    }

    .container {
        background-color: var(--background) !important;
    }

    h1, h2, h3, h4, h5, h6 {
        color: var(--white) !important;
        opacity: 1 !important;
    }

    p, li, span, div {
        color: var(--text-primary) !important;
    }

    header {
        background: transparent;
        opacity: 1 !important;
    }

    header h1,
    header p {
        color: var(--white) !important;
    }

    .header {
        background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%) !important;
        background-color: #1a1a2e !important;
        opacity: 1 !important;
    }

    body[data-cms] .header {
        background: transparent;
        opacity: 1 !important;
    }

    .header h1,
    .header p,
    .header .subtitle {
        color: var(--white) !important;
        opacity: 1 !important;
    }

    .subtitle {
        color: var(--text-primary) !important;
    }

    .benefits-list li,
    .info-box,
    .form-container,
    .testimonial-card,
    .cms-card,
    .factor-card,
    .step-card,
    .version-item,
    .faq-item,
    .trust-badge {
        background: var(--light-bg);
        border-color: var(--border-color);
        color: var(--text-primary);
    }

    .benefits-list li strong,
    .factor-card h3,
    .step-card h3,
    .faq-item h3,
    .badge-text strong {
        color: var(--white);
    }

    .info-box {
        border-left-color: var(--primary-color);
    }

    .info-box h3,
    .info-box strong {
        color: var(--white);
    }

    input,
    select,
    textarea,
    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group input[type="url"],
    .form-group input[type="tel"],
    .form-group select,
    .form-group textarea {
        background: var(--light-bg) !important;
        border-color: var(--border-color) !important;
        color: var(--white) !important;
    }

    input::placeholder,
    textarea::placeholder {
        color: var(--text-secondary) !important;
    }

    input:focus,
    select:focus,
    textarea:focus,
    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus {
        border-color: var(--primary-color) !important;
        background: var(--light-bg) !important;
        color: var(--white) !important;
    }

    label {
        color: var(--text-primary) !important;
    }

    .form-group label {
        color: var(--text-primary) !important;
    }

    .cms-card {
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    }

    .cms-card:hover {
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    }

    .cms-card.active {
        background: var(--primary-color);
        color: white;
    }

    .version-badge.current {
        background: var(--primary-color);
    }

    .version-badge.supported {
        background: #27ae60;
    }

    .version-badge.warning {
        background: #f39c12;
    }

    .trust-badge {
        background: var(--light-bg);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    }

    footer {
        background: linear-gradient(135deg, #0f0f1e 0%, #1a1a2e 100%);
    }

    .footer-bottom {
        border-top-color: rgba(255, 255, 255, 0.1);
    }

    /* Legal Pages Dark Mode */
    .legal-page {
        background: var(--background);
    }

    .legal-content h2 {
        color: var(--text-primary);
        border-bottom-color: var(--primary-color);
    }

    .legal-content h3,
    .legal-content h4 {
        color: var(--text-primary);
    }

    /* SEO Content Dark Mode */
    .seo-section {
        color: var(--text-secondary);
    }

    .seo-section h2 {
        color: var(--text-primary);
    }

    .highlight-text {
        background: var(--light-bg);
        border-left-color: var(--primary-color);
    }

    .cta-section {
        background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    }

    .cta-button {
        background: var(--primary-color) !important;
        color: var(--white) !important;
        box-shadow: 0 4px 15px rgba(255, 135, 0, 0.3);
    }

    .cta-button:hover {
        background: var(--primary-color) !important;
        color: var(--white) !important;
        box-shadow: 0 6px 20px rgba(255, 135, 0, 0.4);
    }

    .submit-btn,
    button[type="submit"] {
        background: var(--primary-color) !important;
        color: var(--white) !important;
    }

    .submit-btn:hover,
    button[type="submit"]:hover {
        background: var(--primary-color) !important;
        color: var(--white) !important;
        opacity: 0.9;
    }

    /* Swiper Navigation Buttons */
    .swiper-button-next,
    .swiper-button-prev {
        background: var(--light-bg) !important;
        color: var(--primary-color) !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    }

    .swiper-button-next:hover,
    .swiper-button-prev:hover {
        background: var(--secondary-color) !important;
    }

    .swiper-pagination-bullet {
        background: var(--text-secondary) !important;
    }

    .swiper-pagination-bullet-active {
        background: var(--primary-color) !important;
    }

    /* Language Switcher */
    .language-switcher {
        background: var(--light-bg) !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    }

    .language-switcher a {
        color: var(--text-primary) !important;
        background: transparent !important;
    }

    .language-switcher a:hover,
    .language-switcher a.active {
        background: var(--primary-color) !important;
        color: var(--white) !important;
    }

    /* Homepage Specific Dark Mode */
    .header {
        background: var(--dark-bg) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .hero {
        background: linear-gradient(135deg, var(--dark-bg) 0%, #1a1a1a 100%) !important;
    }

    .hero h2,
    .cms-overview h2,
    .quick-form h2,
    .benefits h2,
    .section-subtitle {
        color: var(--white) !important;
    }

    .hero-subtitle,
    .section-subtitle {
        color: rgba(255, 255, 255, 0.8) !important;
    }

    .cms-overview,
    .quick-form,
    .benefits {
        background: var(--dark-bg) !important;
    }

    .benefit-card {
        background: var(--light-bg) !important;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .benefit-card h3 {
        color: var(--white) !important;
    }

    .benefit-card p {
        color: rgba(255, 255, 255, 0.8) !important;
    }

    .benefit-icon {
        filter: grayscale(0.3);
    }

    /* Footer Dark Mode - Links nicht blau */
    .footer {
        background: #000000;
    }

    .footer-section a,
    .footer-links a {
        color: rgba(255, 255, 255, 0.8) !important;
    }

    .footer-section a:hover,
    .footer-links a:hover {
        color: var(--primary-color) !important;
    }

    .footer-bottom {
        border-top-color: rgba(255, 255, 255, 0.1);
    }

    /* Form Dark Mode */
    .form {
        background: var(--light-bg) !important;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    }

    .form-group label {
        color: var(--white) !important;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        background: var(--dark-bg) !important;
        border-color: rgba(255, 255, 255, 0.2) !important;
        color: var(--white) !important;
    }

    .form-group input::placeholder,
    .form-group textarea::placeholder {
        color: rgba(255, 255, 255, 0.5) !important;
    }

    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus {
        border-color: var(--primary-color) !important;
    }
}

/* ========================================
   HOMEPAGE STYLES
   ======================================== */

/* Header */
.header {
    background: #2c3e50;
    color: var(--white);
    padding: var(--spacing-xl) 0;
    text-align: center;
}

/* CMS-specific Header Colors */
body[data-cms="wordpress"] .header {
    background: var(--wordpress-color);
}

body[data-cms="typo3"] .header {
    background: var(--typo3-color);
}

body[data-cms="drupal"] .header {
    background: var(--drupal-color);
}

body[data-cms="joomla"] .header {
    background: var(--joomla-color);
}

body[data-cms="moodle"] .header {
    background: var(--moodle-color);
}

.header h1 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.header .subtitle {
    font-size: 1.25rem;
    color: var(--white);
    opacity: 0.95;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
    padding: var(--spacing-xl) 0;
    text-align: center;
}

.hero h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-xl);
}

/* CMS Overview Section */
.cms-overview {
    padding: var(--spacing-xl) 0;
    background: #f8f9fa;
}

.cms-overview h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-xl);
}

/* Quick Form Section */
.quick-form {
    padding: var(--spacing-xl) 0;
    background: #e9ecef;
}

.quick-form h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
}

.form {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

/* Button Styles */
.btn {
    display: inline-block;
    width: 100%;
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-main);
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: var(--shadow-md);
    margin-top: var(--spacing-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: var(--primary-color);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Benefits Section */
.benefits {
    padding: var(--spacing-xl) 0;
    background: #ffffff;
}

.benefits h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: var(--spacing-xl);
    color: var(--text-dark);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    max-width: 1200px;
    margin: 0 auto;
}

.benefit-card {
    background: #ffffff;
    padding: var(--spacing-lg);
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

.benefit-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

.benefit-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Footer */
.footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: var(--spacing-xl) 0 var(--spacing-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-lg);
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: var(--spacing-md);
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.footer-services-column {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.footer-links {
    display: flex;
    gap: var(--spacing-lg);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 768px) {
    .header h1 {
        font-size: 2rem;
    }

    .hero h2 {
        font-size: 1.5rem;
    }

    .footer-services-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}