/* ==========================================================================
   WESTKAMP MEDIA - STYLESHEET FUER DEN BLOG
   Gemeinsame Styles fuer die Blog-Uebersicht (blog.php) und alle
   Artikelseiten (blog-*.php). Zentral hier pflegen.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. BLOG-UEBERSICHT (Kacheln, Hero, Raster)
   -------------------------------------------------------------------------- */

    /* Spezifische Layout-Erweiterungen für das B2B-Blog-Grid basierend auf den globalen CSS-Variablen */
    .blog-hero-section {
        position: relative;
        min-height: 45vh; 
        display: flex; 
        justify-content: center; 
        align-items: center; 
        text-align: center; 
        padding: 40px 20px; 
        width: 100%;
        overflow: hidden;
    }
    .hero-bg-container {
        position: absolute;
        top: 0; left: 0; width: 100%; height: 100%;
        z-index: 1;
        pointer-events: none;
        overflow: hidden;
        background-color: var(--bg-cream);
    }
    .hero-bg-image-native {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
    }
    .animated-glaskarte {
        opacity: 0;
        will-change: transform, opacity;
        animation: flyInLeftSmooth 1.6s cubic-bezier(0.1, 0.9, 0.2, 1) forwards;
        background: rgba(253, 251, 247, 0.92); 
        backdrop-filter: blur(12px); 
        -webkit-backdrop-filter: blur(12px); 
        padding: clamp(22px, 4vw, 40px) clamp(15px, 5vw, 45px); 
        border-radius: 24px; 
        max-width: 800px; 
        box-shadow: 0 20px 40px rgba(26, 54, 93, 0.05); 
        border: 1px solid rgba(255, 255, 255, 0.6); 
        width: 100%; 
        position: relative;
        z-index: 2;
    }
    .blog-hero-title {
        font-size: clamp(1.8rem, 5.5vw, 2.8rem); 
        font-weight: 900; 
        color: var(--primary-blue); 
        margin: 0 0 10px 0; 
        letter-spacing: -1px; 
        line-height: 1.25; 
        font-family: 'Montserrat', sans-serif;
    }
    .blog-hero-title span {
        color: var(--gold-accent);
    }
    .blog-hero-divider {
        width: 60px; 
        height: 4px; 
        background-color: var(--gold-accent); 
        margin: 0 auto 15px auto; 
        border-radius: 2px;
    }
    .blog-hero-subtitle {
        font-size: clamp(0.95rem, 2.5vw, 1.1rem); 
        color: var(--dark-text); 
        margin: 0; 
        font-weight: 600; 
        font-family: 'Montserrat', sans-serif;
    }

    .blog-intro-section {
        padding: clamp(50px, 6vw, 90px) 0 40px 0;
    }
    .blog-intro-box {
        text-align: center; 
        max-width: 850px; 
        margin: 0 auto 50px auto; 
        font-family: 'Montserrat', sans-serif;
    }
    .blog-intro-h2 {
        font-size: clamp(1.4rem, 3.5vw, 2rem); 
        font-weight: 800; 
        color: var(--primary-blue); 
        margin: 0 0 15px 0; 
        letter-spacing: -0.5px;
    }
    .blog-intro-p {
        color: var(--dark-text); 
        font-size: 1.05rem; 
        line-height: 1.7; 
        font-weight: 500; 
        margin: 0;
    }

    .blog-grid-container {
        display: grid; 
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
        gap: 30px;
        padding-bottom: 40px;
    }
    .sunshine-card {
        display: flex; 
        flex-direction: column; 
        justify-content: space-between; 
        height: 100%; 
        padding: 40px 30px; 
        box-sizing: border-box; 
        background: var(--bg-white); 
        border-radius: 20px; 
        box-shadow: 0 10px 30px rgba(44, 62, 80, 0.02); 
        border: 1px solid rgba(26, 54, 93, 0.08);
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    }
    .sunshine-card:hover {
        transform: scale(1.02);
        box-shadow: 0 20px 40px rgba(26, 188, 156, 0.06);
        border-color: var(--primary-blue);
    }
    .blog-card-inner-wrapper {
        text-align: left;
    }
    
    .blog-tag-badge {
        display: inline-flex; 
        align-items: center;
        gap: 8px;
        background: var(--bg-light); 
        color: var(--dark-text); 
        padding: 6px 14px; 
        border-radius: 50px; 
        font-size: 0.78rem; 
        font-weight: 700; 
        margin-bottom: 25px; 
        text-transform: uppercase; 
        font-family: 'Montserrat', sans-serif;
        border: 1px solid rgba(26, 54, 93, 0.08);
    }
    .blog-tag-badge.red-badge {
        background: rgba(120, 40, 31, 0.08); 
        color: #78281F;
        border: 1px solid rgba(120, 40, 31, 0.15);
    }
    .blog-tag-badge.green-badge {
        background: rgba(20, 90, 50, 0.08); 
        color: #145A32;
        border: 1px solid rgba(20, 90, 50, 0.15);
    }
    .blog-tag-badge.orange-badge {
        background: rgba(125, 102, 8, 0.08);
        color: #7D6608;
        border: 1px solid rgba(125, 102, 8, 0.15);
    }
    
    .blog-tag-icon {
        width: 15px;
        height: 15px;
        display: block;
    }
    .blog-tag-icon path, .blog-tag-icon circle, .blog-tag-icon rect, .blog-tag-icon line, .blog-tag-icon polyline {
        stroke: var(--gold-accent);
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
        fill: none;
        transition: stroke 0.3s ease;
    }
    .sunshine-card:hover .blog-tag-icon path,
    .sunshine-card:hover .blog-tag-icon circle,
    .sunshine-card:hover .blog-tag-icon rect,
    .sunshine-card:hover .blog-tag-icon line,
    .sunshine-card:hover .blog-tag-icon polyline {
        stroke: var(--primary-blue);
    }

    .blog-card-title {
        font-size: 1.35rem; 
        color: var(--primary-blue); 
        margin: 0 0 15px 0; 
        font-weight: 800; 
        font-family: 'Montserrat', sans-serif; 
        line-height: 1.4;
    }
    .blog-card-desc {
        color: var(--muted-text); 
        font-size: 0.95rem; 
        line-height: 1.6; 
        margin: 0 0 20px 0; 
        font-weight: 500; 
    }
    .blog-card-footer {
        margin-top: 15px;
        text-align: left;
    }

    .card-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        position: relative;
        background-color: var(--primary-blue);
        color: var(--bg-white);
        padding: 13px 26px;
        border-radius: 12px;
        font-weight: 700;
        font-size: 0.9rem;
        text-decoration: none;
        font-family: 'Montserrat', sans-serif;
        width: fit-content;
        overflow: hidden;
        box-shadow: 0 4px 12px rgba(26, 54, 93, 0.12);
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
    }
    .card-button::after {
        content: '';
        position: absolute;
        top: 0;
        left: -150%;
        width: 60%;
        height: 100%;
        background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.25), transparent);
        transform: skewX(-25deg);
        animation: lightSweep 4s infinite ease-in-out;
    }
    .card-button svg {
        width: 14px;
        height: 14px;
        fill: currentColor;
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .sunshine-card:hover .card-button {
        background-color: var(--gold-accent);
        color: var(--dark-text);
        box-shadow: 0 6px 20px rgba(224, 169, 109, 0.25);
    }
    .sunshine-card:hover .card-button svg {
        transform: translateX(4px);
    }
    .card-button:hover {
        transform: translateY(-2px) scale(1.02);
    }

    .agency-profile-box {
        background-color: var(--bg-light);
        border: 1px solid rgba(26, 54, 93, 0.05);
        border-left: 5px solid var(--primary-blue);
        border-radius: 0 24px 24px 0;
        padding: clamp(25px, 5vw, 45px);
        margin: 60px auto;
        max-width: 1200px;
        width: 100%;
    }
    .agency-profile-box p {
        margin: 0 0 20px 0;
        line-height: 1.8;
        font-size: 1.05rem;
        font-weight: 500;
        color: var(--muted-text);
    }
    .agency-profile-box p:last-child {
        margin-bottom: 0;
    }
    .agency-profile-box strong {
        font-weight: 700;
        color: var(--primary-blue);
    }

    .blog-separator-box {
        max-width: 600px; 
        margin: 80px auto 0 auto; 
        text-align: center; 
        padding: 0 20px;
    }
    .blog-separator-line {
        width: 100%; 
        height: 1px; 
        background: linear-gradient(to right, transparent, rgba(26, 54, 93, 0.15), transparent);
    }

    /* Hochwertiges, schlankes und unzerbrechliches FAQ-Akkordeon (Rein CSS-basiert) */
    .blog-faq-section {
        max-width: 1000px; 
        margin: 60px auto 120px auto; 
        padding: 0 20px; 
        box-sizing: border-box;
    }
    .blog-faq-section h2 {
        text-align: center;
        font-size: clamp(1.6rem, 3.5vw, 2.2rem);
        font-weight: 800;
        color: var(--primary-blue);
        margin: 0 0 15px 0;
    }
    .blog-faq-divider {
        width: 60px; 
        height: 4px; 
        background-color: var(--gold-accent); 
        margin: 0 auto 40px auto; 
        border-radius: 2px;
    }
    .blog-faq-wrapper {
        display: flex;
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }
    .blog-faq-wrapper .faq-item {
        background: var(--bg-white);
        border: 1px solid rgba(26, 54, 93, 0.08);
        border-left: 5px solid var(--primary-blue); 
        border-radius: 0 12px 12px 0;
        padding: 0; 
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        width: 100%;
        display: block;
    }
    .blog-faq-wrapper .faq-item:hover {
        transform: scale(1.01); 
        box-shadow: 0 10px 20px rgba(26, 54, 93, 0.04);
        border-left-color: var(--gold-accent);
    }
    .blog-faq-wrapper .faq-item summary {
        padding: 20px 25px;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        cursor: pointer;
        list-style: none !important;
        width: 100%;
    }
    /* Radikale Deaktivierung aller Browser-Standard-Pfeile */
    .blog-faq-wrapper .faq-item summary::-webkit-details-marker { display: none !important; }
    .blog-faq-wrapper .faq-item summary::marker { display: none !important; }
    
    .blog-faq-wrapper .faq-question-text {
        font-weight: 700;
        color: var(--primary-blue);
        font-size: 1.1rem;
        padding-right: 20px;
        font-family: 'Montserrat', sans-serif;
    }
    /* Präzise CSS-Ausrichtung für das Plus-Icon an den inneren Pfad */
    .blog-faq-wrapper .faq-plus-icon {
        width: 24px !important;
        height: 24px !important;
        flex-shrink: 0 !important;
        display: block !important;
    }
    .blog-faq-wrapper .faq-plus-icon path {
        stroke: var(--gold-accent, #E0A96D) !important;
        stroke-width: 3 !important;
        stroke-linecap: round !important;
        stroke-linejoin: round !important;
        transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), stroke 0.3s ease !important;
    }
    .blog-faq-wrapper .faq-item:hover summary .faq-plus-icon path {
        stroke: var(--primary-blue, #1A365D) !important;
    }
    .blog-faq-wrapper .faq-item[open] summary .faq-plus-icon path {
        transform: rotate(45deg);
        transform-origin: center;
        stroke: var(--primary-blue, #1A365D) !important;
    }
    .blog-faq-wrapper .faq-answer {
        color: var(--muted-text);
        line-height: 1.7;
        margin: 0;
        padding: 0 25px 20px 25px;
        font-size: 0.98rem;
        font-family: 'Plus Jakarta Sans', sans-serif;
        animation: fadeInSlider 0.4s ease-out;
    }
    @keyframes fadeInSlider {
        from { opacity: 0; transform: translateY(-5px); }
        to { opacity: 1; transform: translateY(0); }
    }

/* --------------------------------------------------------------------------
   2. ARTIKELSEITEN (Textkoerper, Infoboxen, FAQ)
   -------------------------------------------------------------------------- */

    *, *::before, *::after {
        box-sizing: border-box !important;
    }

    main {
        background-color: #FDFBF7; /* Light Beige Canvas */
        min-height: 100vh;
        overflow-x: hidden;
        width: 100%;
        color: #2C3E50;
        font-family: 'Plus Jakarta Sans', 'Montserrat', sans-serif;
    }

    p, h1, h2, h3, h4, th, td, span, strong, a, li, div, summary {
        overflow-wrap: break-word !important;
        word-wrap: break-word !important;
        word-break: normal !important;
        hyphens: none !important;
    }

    .container {
        max-width: 900px;
        margin: 0 auto;
        padding: 0 20px;
        width: 100%;
    }

    @keyframes flyInLeftSmooth {
        0% { transform: translateX(-180px); opacity: 0; }
        100% { transform: translateX(0); opacity: 1; }
    }
    .animated-card {
        opacity: 0;
        will-change: transform, opacity;
        animation: flyInLeftSmooth 1.6s cubic-bezier(0.1, 0.9, 0.2, 1) forwards;
    }

    .article-hero {
        background-image: url('/images/homepage-baukasten-vs-custom-code.webp');
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
        padding: clamp(60px, 8vw, 100px) 20px;
        text-align: center;
        font-family: 'Montserrat', sans-serif;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .hero-card {
        background: rgba(253, 251, 247, 0.95); /* Light Beige Translucent */
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        padding: clamp(30px, 5vw, 50px) clamp(15px, 5vw, 45px);
        border-radius: 24px;
        max-width: 850px;
        box-shadow: 0 20px 40px rgba(74, 106, 95, 0.06);
        border: 1px solid rgba(213, 245, 227, 0.8); /* Soft Mint/Green Border */
        width: 100%;
        box-sizing: border-box;
    }
    .article-title {
        font-size: clamp(1.6rem, 5vw, 2.6rem);
        font-weight: 900;
        color: #2C3E50;
        margin: 0;
        line-height: 1.25;
        letter-spacing: -1px;
    }
    .article-title span {
        color: #16A085; /* Mint Highlight */
    }

    .article-body-section {
        padding-top: clamp(40px, 6vw, 60px);
        padding-bottom: 40px;
        width: 100%;
    }
    .content-premium-card {
        background: #ffffff;
        padding: clamp(25px, 5vw, 50px) clamp(20px, 4vw, 40px);
        border-radius: 24px;
        box-shadow: 0 15px 35px rgba(44, 62, 80, 0.03);
        border: 1px solid rgba(162, 217, 206, 0.2); /* Light Mint Touch */
        color: #2C3E50;
        font-size: 1.05rem;
        display: flex;
        flex-direction: column;
        gap: 2rem;
        font-weight: 500;
        width: 100%;
    }
    .content-premium-card p {
        margin: 0;
        line-height: 1.8;
    }
    .content-premium-card h2 {
        font-size: clamp(1.35rem, 3.5vw, 1.8rem);
        color: #2C3E50;
        font-family: 'Montserrat', sans-serif;
        font-weight: 800;
        margin: 20px 0 0 0;
        letter-spacing: -0.5px;
        line-height: 1.3;
    }
    .content-premium-card h3 {
        font-size: 1.25rem;
        color: #1ABC9C; /* Friendly Mint Heading */
        font-family: 'Montserrat', sans-serif;
        font-weight: 700;
        margin: 10px 0 0 0;
    }
    
    .table-container {
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        display: block;
        -webkit-overflow-scrolling: touch;
        margin: 10px 0;
        border-radius: 16px;
        border: 1px solid #EBF5FB;
        box-shadow: 0 4px 15px rgba(44, 62, 80, 0.02);
    }
    .comparison-table {
        width: 100%;
        min-width: 600px; 
        border-collapse: collapse;
        font-size: 0.95rem;
        background: #FFFFFF;
    }
    .comparison-table th {
        background-color: #EBF5FB; /* Light Blue Header */
        color: #2C3E50;
        text-align: left;
        padding: 18px 20px;
        font-weight: 700;
        font-family: 'Montserrat', sans-serif;
    }
    .comparison-table td {
        padding: 15px 20px;
        border-bottom: 1px solid #F4F6F6;
        font-weight: 500;
        vertical-align: top;
        line-height: 1.6;
    }
    .comparison-table tr:nth-child(even) {
        background-color: #EAFAF1; /* Light Green Alternating Rows */
    }
    .comparison-table tr:last-child td {
        border-bottom: none;
    }

    .insight-box {
        background-color: #E8F8F5; /* Refreshing Light Mint Box */
        border-left: 4px solid #1ABC9C; /* Mint Border */
        padding: 30px;
        border-radius: 0 16px 16px 0;
        margin: 10px 0;
        box-shadow: 0 4px 15px rgba(26, 188, 156, 0.05);
        width: 100%;
    }
    .insight-box strong {
        color: #16A085;
        display: block;
        margin-bottom: 8px;
        font-size: 1.1rem;
        font-family: 'Montserrat', sans-serif;
    }

    .section-separator-box {
        max-width: 600px;
        margin: 60px auto 0 auto;
        text-align: center;
        padding: 0 20px;
    }
    .separator-line-element {
        width: 100%;
        height: 1px;
        background: linear-gradient(to right, transparent, rgba(162, 217, 206, 0.4), transparent);
    }

    .faq-section-wrapper {
        max-width: 900px;
        margin: 80px auto 40px auto;
        padding: 0 20px;
        box-sizing: border-box;
        width: 100%;
    }
    .faq-main-title {
        font-size: clamp(1.6rem, 3.5vw, 2.2rem);
        font-weight: 700;
        color: #2C3E50;
        text-align: center;
        margin: 0 0 15px 0;
        font-family: 'Montserrat', sans-serif;
    }
    .faq-title-divider {
        width: 60px;
        height: 4px;
        background-color: #1ABC9C; /* Mint Divider */
        margin: 0 auto 50px auto;
        border-radius: 2px;
    }
    .faq-grid-container {
        display: flex;
        flex-direction: column;
        gap: 20px;
        text-align: left;
        font-family: 'Montserrat', sans-serif;
        width: 100%;
    }
    .sunshine-faq {
        background: #FFFFFF; 
        border-radius: 14px; 
        box-shadow: 0 5px 20px rgba(44, 62, 80, 0.02); 
        border: 1px solid #EAFAF1;
        border-left: 5px solid #A2D9CE; /* Light Mint Hint */
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-left-color 0.3s ease;
        width: 100%;
    }
    .sunshine-faq:hover {
        transform: scale(1.01);
        box-shadow: 0 10px 25px rgba(44, 62, 80, 0.05);
        border-left-color: #3498DB; /* Transitions to Friendly Light Blue on Hover */
    }
    .sunshine-faq details summary {
        padding: 24px 30px;
        font-size: 1.15rem;
        font-weight: 700;
        color: #2C3E50;
        cursor: pointer;
        list-style: none;
        display: flex;
        justify-content: space-between;
        align-items: center;
        user-select: none;
        transition: background-color 0.3s ease;
    }
    .sunshine-faq details summary:focus-visible {
        outline: 2px solid #1ABC9C;
        outline-offset: -2px;
    }
    .sunshine-faq details summary:hover {
        background-color: #FDFBF7;
    }
    .sunshine-faq details summary::-webkit-details-marker {
        display: none;
    }
    .faq-arrow-icon {
        width: 18px;
        height: 18px;
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        flex-shrink: 0;
    }
    .faq-arrow-icon path {
        stroke: #1ABC9C;
        stroke-width: 3;
        stroke-linecap: round;
        stroke-linejoin: round;
        fill: none;
        transition: stroke 0.3s ease;
    }
    .sunshine-faq:hover .faq-arrow-icon path {
        stroke: #3498DB;
    }
    .sunshine-faq details[open] summary .faq-arrow-icon {
        transform: rotate(180deg);
    }
    .faq-answer-content {
        padding: 0 30px 28px 30px;
        color: #2C3E50;
        line-height: 1.7;
        font-size: 0.98rem;
        font-weight: 500;
        font-family: 'Plus Jakarta Sans', sans-serif;
        border-top: 1px solid #FDFBF7;
        animation: fadeInSlider 0.4s ease-out;
    }
    .faq-answer-content strong {
        color: #16A085;
        font-weight: 700;
    }
    @keyframes fadeInSlider {
        from { opacity: 0; transform: translateY(-5px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .article-cta {
        background: #EBF5FB; /* Calm Light Blue Background for CTA */
        padding: clamp(25px, 5vw, 45px);
        border-radius: 24px;
        text-align: center;
        border: 1px solid rgba(52, 152, 219, 0.15);
        box-shadow: 0 15px 40px rgba(44, 62, 80, 0.03);
        margin-top: 40px;
        width: 100%;
    }
    .cta-title {
        font-size: 1.4rem;
        font-weight: 800;
        color: #2C3E50;
        margin-bottom: 10px;
        font-family: 'Montserrat', sans-serif;
    }
    .sunshine-button {
        display: inline-block;
        background-color: #1ABC9C; /* Friendly Mint Button */
        color: #FFFFFF;
        padding: 14px 32px;
        border-radius: 12px;
        font-weight: 700;
        font-family: 'Montserrat', sans-serif;
        text-decoration: none;
        margin-top: 20px;
        box-shadow: 0 4px 15px rgba(26, 188, 156, 0.2);
        transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
        width: 100%;
        max-width: 380px;
    }
    .sunshine-button:hover {
        background-color: #16A085;
        color: #FFFFFF;
        transform: scale(1.02);
        box-shadow: 0 6px 20px rgba(224, 169, 109, 0.15);
    }
    .sunshine-button:focus, .insight-box:focus-within, .sunshine-faq:focus-within {
        outline: 3px solid #1ABC9C;
        outline-offset: 2px;
    }


/* ==========================================================================
   KACHEL-FARBWELTEN DER BLOG-UEBERSICHT

   Jede Kachel traegt automatisch die Farbe ihrer Kategorie - die Klasse
   kommt aus der Schleife in blog.php, es ist KEINE Handarbeit noetig:

       ohne Zusatz  = Blau     (Webdesign & Technik)
       .red-badge   = Rot      (Sicherheit & CMS)
       .green-badge = Gruen    (SEO & Conversion)
       .orange-badge= Gold     (Social Media & Strategie)

   Farbe aendern? Nur die Werte im jeweiligen Block anpassen.
   ========================================================================== */

/* Gemeinsame Feinheiten aller Kacheln */
.blog-grid-container .sunshine-card {
    position: relative;
    overflow: hidden;
    border-left-width: 5px;
    border-left-style: solid;
}

/* Zarter Lichtschein oben rechts - gibt der Kachel Tiefe */
.blog-grid-container .sunshine-card::after {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    pointer-events: none;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-grid-container .sunshine-card:hover::after {
    transform: scale(1.25);
}

/* --- Blau: Webdesign & Technik (Kachel ohne Zusatzklasse) --- */
.blog-grid-container .sunshine-card {
    background: #F4F8FD;
    border-color: rgba(26, 54, 93, 0.14);
    border-left-color: var(--primary-blue, #1A365D);
}
.blog-grid-container .sunshine-card:hover {
    border-color: rgba(26, 54, 93, 0.30);
    border-left-color: var(--primary-blue, #1A365D);
    box-shadow: 0 22px 45px rgba(26, 54, 93, 0.10);
}

/* --- Rot: Sicherheit & CMS --- */
.blog-grid-container .sunshine-card.red-badge {
    background: #FDF5F4;
    border-color: rgba(120, 40, 31, 0.14);
    border-left-color: #78281F;
}
.blog-grid-container .sunshine-card.red-badge:hover {
    border-color: rgba(120, 40, 31, 0.32);
    border-left-color: #78281F;
    box-shadow: 0 22px 45px rgba(120, 40, 31, 0.12);
}

/* --- Gruen: SEO & Conversion --- */
.blog-grid-container .sunshine-card.green-badge {
    background: #F3F8F5;
    border-color: rgba(20, 90, 50, 0.14);
    border-left-color: #145A32;
}
.blog-grid-container .sunshine-card.green-badge:hover {
    border-color: rgba(20, 90, 50, 0.32);
    border-left-color: #145A32;
    box-shadow: 0 22px 45px rgba(20, 90, 50, 0.12);
}

/* --- Gold: Social Media & Strategie --- */
.blog-grid-container .sunshine-card.orange-badge {
    background: #FFFCF2;
    border-color: rgba(125, 102, 8, 0.16);
    border-left-color: #7D6608;
}
.blog-grid-container .sunshine-card.orange-badge:hover {
    border-color: rgba(125, 102, 8, 0.34);
    border-left-color: #7D6608;
    box-shadow: 0 22px 45px rgba(125, 102, 8, 0.12);
}

/* Badges auf getoentem Grund wieder weiss hinterlegen - sonst verschwimmen sie */
.blog-grid-container .blog-tag-badge {
    background: rgba(255, 255, 255, 0.85);
}

/* Ueberschrift etwas luftiger */
.blog-grid-container .blog-card-title {
    margin-bottom: 12px;
    letter-spacing: -0.2px;
}

@media (prefers-reduced-motion: reduce) {
    .blog-grid-container .sunshine-card::after { transition: none; }
    .blog-grid-container .sunshine-card:hover::after { transform: none; }
}


/* ==========================================================================
   FAQ IN DEN ARTIKELN - BESSERE UNTERSCHEIDBARKEIT

   Abwechselnde Hintergruende, mehr Abstand, und die aufgeklappte Frage
   hebt sich klar mit goldenem Balken ab.
   ========================================================================== */

.faq-grid-container .sunshine-faq {
    margin-bottom: 14px;
    transition: background-color 0.3s ease, border-left-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-grid-container .sunshine-faq:nth-child(even) {
    background: #F4F7FA;
}

.faq-grid-container .sunshine-faq:hover {
    border-left-color: var(--gold-accent, #E0A96D);
    box-shadow: 0 8px 22px rgba(26, 54, 93, 0.07);
}

/* Aufgeklappte Frage */
.faq-grid-container .sunshine-faq:has(details[open]) {
    background: #FFFFFF;
    border-left-color: var(--gold-accent, #E0A96D);
    box-shadow: 0 14px 32px rgba(26, 54, 93, 0.10);
}

.faq-grid-container details[open] > summary {
    color: var(--primary-blue, #1A365D);
    font-weight: 800;
}

@media (prefers-reduced-motion: reduce) {
    .faq-grid-container .sunshine-faq { transition: none; }
}


/* ==========================================================================
   HERO-BILDER DER EINZELNEN ARTIKEL

   Das Standardbild steht oben bei .article-hero. Jeder Artikel kann ein
   eigenes bekommen: im HTML eine Kennzeichnung an den Hero-Bereich haengen
   und hier eine Zeile ergaenzen.

       <section class="article-hero hero-NAME">
   ========================================================================== */

.article-hero.hero-webseite-kaputt {
    background-image: url('/images/webseite-kaputtgeht.webp');
}