html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Helvetica Neue', sans-serif;
    margin: 0;
    padding: 0;
    background: #f8f9fb;
    color: #1a1a1a;
}

.navbar {
    position: fixed;
    top: 1rem;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    background: transparent;
}

.navbar-logo {
    height: 30px;
    width: auto;
    color: white;
    transition: color 0.3s ease;
}

.navbar.scrolled .navbar-logo {
    color: #5a4fff;
}

.navbar-logo.visible {
    opacity: 1;
}

.navbar-links {
    display: flex;
    gap: 1rem;
    background: transparent;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    align-items: center;
    transition: all 0.3s ease;
}

.navbar-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 25px;
}

.navbar-links a:hover {
    background: rgba(255, 255, 255, 0.2);
}

.navbar-links a.active {
    font-weight: 700;
    background: rgba(255, 255, 255, 0.2);
}

.navbar.scrolled .navbar-links {
    background: rgba(90, 79, 255, 0.9);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.navbar-links .btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.container {
    width: 90%;
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem 0;
}

.hero {
    background: linear-gradient(180deg, #5a4fff 0%, #fff7f6 98%);
    color: white;
    padding-top: 6rem;
    padding-bottom: 2rem;
    text-align: center;
}

.hero-logo {
    height: 80px;
    max-width: 200px;
    width: auto;
    display: block;
    margin: 0 0 1.5rem 0;
    padding-top: 1rem;
    transition: all 0.3s ease;
}

.hero-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hero-left {
    flex: 1;
    text-align: left;
    max-width: 600px;
}

.hero-screenshot {
    flex: 1;
    text-align: center;
    max-width: 360px;
    margin-left: 2rem;
    margin-top: -3rem;
    display: flex;
    justify-content: center;
}

.hero-screenshot img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    transform: scale(0.80);
    transform-origin: center center;
}

/* Sichtbarkeit nach Gerät */
.mobile-only {
    display: none;
}

.desktop-only {
    display: block;
}

@media (max-width: 768px) {
    .hero {
        padding-top: 1rem;
        padding-bottom: 2rem;
    }

    .hero-wrapper {
        align-items: center;
    }

    .hero-left {
        text-align: center;
        max-width: 100%;
    }

    .hero-screenshot {
        max-width: 100%;
        margin-left: 0;
        margin-top: 2rem;
    }

    .hero-screenshot img {
        transform: scale(1);
    }

    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: block;
        margin-top: 2rem;
    }

    .hero-left {
        order: 1;
    }

    .hero-screenshot {
        order: 2;
    }

    .segment-select {
        order: 3;
    }

    .hero-logo {
        margin: 1rem auto 1.5rem auto;
        padding-top: 0;
    }

    .cta-buttons {
        flex-direction: column !important;
        width: 100%;
    }

    .segments {
        flex-direction: column;
    }

    .segment {
        margin: 0.3rem 0;
    }

    .segment-select p {
        color: #1a1a1a;
    }
}

@media (min-width: 769px) {
    .segments {
        flex-direction: row !important;
        justify-content: space-between;
        gap: 1rem;
        width: 100%;
    }

    .segment {
        margin: 0;
        flex: 1;
        text-align: center;
    }

    .cta-buttons {
        flex-direction: row;
        width: 100%;
    }

    .segment-select p {
        color: white !important;
        text-shadow: 0 2px 4px rgba(255, 255, 255, 0.7);
    }
}

.hero h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);

    transition: all 0.3s ease-in-out;
}

.hero p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
    font-size: 1.1rem;
    transition: all 0.3s ease-in-out;
}

.cta-buttons {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    margin-bottom: 2rem;
    width: 100%;
}

.cta-buttons .btn {
    flex: 1;
    text-align: center;
}

.btn.primary {
    background: linear-gradient(135deg, #5a4fff, #7f6fff);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: bold;
    box-shadow: 0 3px 12px rgba(90, 79, 255, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn.primary:hover {
    background: linear-gradient(135deg, #7f6fff, #5a4fff);
    transform: translateY(-1px);
}

.btn.secondary {
    background: white;
    color: #5a4fff;
    border: 2px solid #5a4fff;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn.secondary:hover {
    background: #f0f0ff;
}

.segment-select p {
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.segments {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.segment {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0.3rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.12);
    color: black;
    backdrop-filter: blur(4px);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.segment:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-1px);
}

.segment.active {
    background: #fff;
    color: #5a4fff;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(90, 79, 255, 0.2);
}

.branchen-section {
    padding: 5rem 0 2rem 0;
    background: #ffffff;
    transition: all 0.3s ease-in-out;
}

.branchen-section h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.branchen-section p {
    font-size: 1rem;
    color: #444;
    text-align: center;
}

.branchen-section .container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 0;
}

.branchen-features {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.feature {
    background: #f4f4f4;
    padding: 1rem 1.25rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease;
}

.feature:hover {
    transform: translateY(-2px);
}

.feature h3 {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
    color: #8c82ec;
}

.feature p {
    margin: 0;
    font-size: 0.95rem;
    color: #333;
}

.visual {
    text-align: center;
    margin: 2rem 0;
}

.visual img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.testimonials {
    margin-top: 3rem;
    background: #f9f9f9;
    padding: 2rem 1rem;
    border-radius: 8px;
}

.testimonial {
    margin-bottom: 1.5rem;
}

.testimonial p {
    font-style: italic;
    color: #333;
    margin-bottom: 0.5rem;
}

.testimonial span {
    font-weight: bold;
    color: #8c82ec;
}

/* Skeleton Loader */
.skeleton {
    background: linear-gradient(90deg, #eeeeee 25%, #dddddd 50%, #eeeeee 75%);
    background-size: 200% 100%;
    animation: shine 1.5s infinite linear;
    border-radius: 6px;
    height: 1.2rem;
    margin: 0.5rem 0;
}

@keyframes shine {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.painpoints-intro {
    padding: 120px 0 80px;
    background: linear-gradient(180deg, #fff7f6 0%, #ffffff 100%);
    text-align: center;
}

.painpoints-intro .container {
    position: relative;
}

.painpoints-intro h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    text-align: center;
}

.painpoints-intro .subline {
    font-size: 1.1rem;
    color: #444;
    text-align: center;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.pain-list {
    /* Signalrot */
    list-style: none;
    padding: 0;
    margin: 0 auto 2rem;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: 1.05rem;
}

.pain-list li {
    position: relative;
    padding: 0.75rem 1rem;
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
    font-weight: 500;
    color: #222;
    background-color: white;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow:
        0px 0 12px rgba(224, 49, 49, 0.4),
        0 2px 6px rgba(0, 0, 0, 0.05);
}

.transition {
    color: #5a4fff;
    padding: 1.25rem 1.5rem;
    border-radius: 25px;
    text-align: center;
    font-weight: 600;
    font-size: 1.5rem;
    margin-top: 2rem;
    text-shadow: 0 0 20px rgba(90, 79, 255, 0.4);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    box-shadow: 0 8px 32px rgba(90, 79, 255, 0.25);
}

.problemloesung {
    padding: 3rem 1rem;
    background: #ffffff;
}

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

.problem-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.problem-card {
    background: white;
    padding: 1rem 1.25rem;
    border-radius: 8px;
    box-shadow:
        0px 0 12px rgba(90, 79, 255, 0.4),
        /* lila Glow */
        0 2px 6px rgba(0, 0, 0, 0.05);
    /* leichter Softshadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0px 0 16px rgba(90, 79, 255, 0.5),
        0 4px 8px rgba(0, 0, 0, 0.06);
}

.problem-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    text-align: left;
}

.problem-text {
    color: #aa0000;
    font-weight: 500;
    margin-bottom: 0.5rem;
    text-align: left;
}

.loesung-text {
    color: #008c5f;
    font-weight: 500;
    text-align: left;
}

/* Responsive Grid */
@media (min-width: 700px) {
    .problem-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (min-width: 1200px) {
    .problem-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
    transition-delay: var(--delay, 0s);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.branchen-subline {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2rem;
    text-align: center;
}

.feature.highlight {
    background: white;
    padding: 1rem 1.25rem;
    border-radius: 8px;
    box-shadow:
        0px 0 12px rgba(90, 79, 255, 0.4),
        0 2px 6px rgba(0, 0, 0, 0.05);
}

.feature.highlight h3 {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
    color: #8c82ec;
    text-align: left;
}

.feature.highlight p {
    margin: 0;
    font-size: 0.95rem;
    color: #333;
    text-align: left;
}

.branchen-visual {
    text-align: center;
    margin: 2rem 0;
}

.branchen-visual img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.testimonial-card {
    background: #eafff1;
    padding: 1.5rem;
    border-radius: 8px;
    font-style: italic;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.testimonial-card span {
    display: block;
    margin-top: 0.75rem;
    font-style: normal;
    font-weight: 600;
    color: #8c82ec;
}

.cta-final {
    background: linear-gradient(180deg, #ffffff 0%, #f7f7f7 20%);
    padding: 10rem 1.5rem;
    text-align: center;
    border-top: 1px solid #eee;
}

.cta-final h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.cta-final .subline {
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-final .cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.cta-final .trust-note {
    font-size: 0.9rem;
    color: #777;
}

.cta-final .container {
    width: 90%;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #ddd;
    display: flex;
    gap: 0;
    z-index: 999;
}

.sticky-cta .btn.full {
    flex: 1;
    border-radius: 0;
    padding: 1rem;
    font-size: 0.7rem;
    text-align: center;
    border: none;
}

.sticky-cta .btn.primary.full {
    background: linear-gradient(135deg, #5a4fff, #7f6fff);
}

.sticky-cta .btn.secondary.full {
    background: white;
    color: #5a4fff;
    border-left: 1px solid #ddd;
}

@media (min-width: 768px) {
    .sticky-cta {
        display: none;
    }
}

.preissektion {
    padding: 5rem 1.5rem 2rem 1.5rem;
    background: #fff;
    text-align: center;
}

.preissektion h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.preissektion .subline {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2rem;
}

.preissektion .container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    width: 100%;
}

.pricing-note {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    margin-top: 1rem;
    grid-column: 1 / -1;
}

@media (min-width: 769px) {
    .pricing-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

.price-card {
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 2rem;
    background: #fafafa;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    position: relative;
}

.price-card:hover {
    border-color: #5a4fff;
    box-shadow: 0 4px 20px rgba(90, 79, 255, 0.15);
    transform: translateY(-2px);
}

.price-card.recommended {
    border: 2px solid #5a4fff;
    background: #f5f4ff;
}

.price-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.price {
    font-size: 1.6rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.price-card ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0 2rem 0;
    color: #444;
    font-size: 0.95rem;
}

.price-card ul li {
    margin-bottom: 0.5rem;
}

.btn.small {
    padding: 0.65rem 1.25rem;
    font-size: 0.95rem;
    border-radius: 25px;
}

.label-ribbon {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #5a4fff;
    color: white;
    padding: 0.3rem 1rem;
    font-size: 0.8rem;
    font-weight: bold;
    border-radius: 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    z-index: 1;
}

.fade-seq {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-seq.visible {
    opacity: 1;
    transform: translateY(0);
}

.footer {
    background: #f7f7f7;
    padding: 2rem 0 5rem 0;
    border-top: 1px solid #eee;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-nav a {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: #5a4fff;
}

@media (max-width: 768px) {
    .footer-nav {
        gap: 1rem;
    }

    .footer-nav a {
        font-size: 0.85rem;
    }
}

@media (min-width: 769px) {
    .footer {
        padding-bottom: 2rem;
    }
}

/* Mobile Navbar Styles */
.mobile-navbar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    background: transparent;
    padding: 1rem;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.mobile-navbar.scrolled {
    background: rgba(90, 79, 255, 0.9);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.mobile-navbar .navbar-logo {
    color: white;
    height: 30px;
    width: auto;
}

.burger-menu {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.burger-menu span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: white;
    transition: all 0.3s ease;
}

.burger-menu.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(90, 79, 255, 0.98);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: center;
}

.mobile-menu-content a {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 500;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.mobile-menu-content a:hover {
    color: rgba(255, 255, 255, 0.8);
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .navbar {
        display: none;
    }

    .mobile-navbar {
        display: flex;
    }

    .hero {
        padding-top: 5rem;
    }
}

/* Erstgespräch Dialog Styles */
.initial-consultation-dialog {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.initial-consultation-dialog.active {
    display: flex;
}

.dialog-content {
    background: white;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow: hidden;
    position: relative;
}

#form-container {
    width: 100%;
    height: 100%;
}

#booking-iframe {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 12px;
}

.success-message {
    padding: 30px;
    text-align: center;
    display: none;
}

.success-message.show {
    display: block;
}

.success-icon {
    font-size: 48px;
    color: #28a745;
    margin-bottom: 20px;
}

.success-message h3 {
    margin-bottom: 10px;
    color: #333;
}

.success-message p {
    color: #666;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .dialog-content {
        width: 95%;
        margin: 20px;
    }

    #booking-iframe {
        height: 500px;
    }
}

.floating-arrow {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.8);
    animation: float 2s ease-in-out infinite;
    opacity: 1;
    transition: opacity 0.3s ease;
    z-index: 10;
}

@media (max-width: 768px) {
    .floating-arrow {
        bottom: 80px;
    }
}

.floating-arrow.hidden {
    opacity: 0;
}

@keyframes float {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

/* Wiki Hero Styles */
.wiki-hero {
    background: linear-gradient(180deg, #5a4fff 0%, #fff7f6 98%);
    color: white;
    padding: 8rem 0 4rem 0;
    text-align: center;
    margin-bottom: 2rem;
}

.wiki-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.wiki-hero .subline {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Wiki Styles */
.wiki-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.wiki-breadcrumb {
    margin-bottom: 2rem;
    color: #666;
}

.wiki-breadcrumb a {
    color: #5a4fff;
    text-decoration: none;
}

.wiki-breadcrumb a:hover {
    text-decoration: underline;
}

.wiki-categories {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.wiki-category {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(90, 79, 255, 0.1);
    border: 1px solid rgba(90, 79, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wiki-category:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(90, 79, 255, 0.15);
}

.wiki-category h2 {
    margin-bottom: 1rem;
    color: #5a4fff;
    font-size: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.wiki-category h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #5a4fff, #7f6fff);
    border-radius: 3px;
}

.wiki-articles {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.wiki-article-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    border: 1px solid rgba(90, 79, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.wiki-article-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(90, 79, 255, 0.1), rgba(127, 111, 255, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.wiki-article-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(90, 79, 255, 0.15);
    border-color: rgba(90, 79, 255, 0.3);
}

.wiki-article-card:hover::before {
    opacity: 1;
}

.wiki-article-card h3 {
    color: #5a4fff;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.wiki-article-card p {
    color: #666;
    margin: 0;
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

.wiki-article {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(90, 79, 255, 0.1);
    border: 1px solid rgba(90, 79, 255, 0.1);
}

.wiki-article h1 {
    margin-bottom: 1.5rem;
    color: #5a4fff;
    font-size: 2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.wiki-article h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #5a4fff, #7f6fff);
    border-radius: 3px;
}

.wiki-article h2 {
    margin: 2rem 0 1rem;
    color: #5a4fff;
    font-size: 1.5rem;
}

.wiki-article h3 {
    margin: 1.5rem 0 1rem;
    color: #333;
}

.wiki-article h4 {
    margin: 1.25rem 0 0.75rem;
    color: #444;
}

.wiki-article p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: #444;
}

.wiki-article ul,
.wiki-article ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.wiki-article li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.wiki-article strong {
    color: #5a4fff;
}

.wiki-cta {
    background: linear-gradient(135deg, #5a4fff 0%, #7f6fff 100%);
    color: white;
    padding: 2rem;
    margin: 3rem 0;
    text-align: center;
    box-shadow: 0 4px 20px rgba(90, 79, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.wiki-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    pointer-events: none;
}

.wiki-cta h2 {
    color: white;
    margin-bottom: 1rem;
    position: relative;
}

.wiki-cta p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    position: relative;
}

.wiki-cta .btn {
    background: white;
    color: #5a4fff;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: all 0.3s ease;
    position: relative;
}

.wiki-cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .wiki-hero {
        padding: 6rem 0 3rem 0;
    }

    .wiki-hero h1 {
        font-size: 2rem;
    }

    .wiki-hero .subline {
        font-size: 1.1rem;
    }

    .wiki-articles {
        grid-template-columns: 1fr;
    }

    .wiki-article {
        padding: 1.5rem;
    }

    .wiki-cta {
        margin: 2rem 0;
        padding: 1.5rem;
    }
}