/* ───────────────────────────────────────────────
   Blog – markenbild.ch
   Nutzt die Design-Variablen aus style.css
   ─────────────────────────────────────────────── */

/* ── Blog-Index ── */
.bl-hero {
    padding: 10rem 0 3.5rem;
    position: relative;
    overflow: hidden;
}

.bl-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 55% at 50% 0%, rgba(249, 115, 22, .15) 0%, transparent 70%);
    pointer-events: none;
}

.bl-hero-tag {
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--clr-primary);
    margin-bottom: 1rem;
    display: block;
}

.bl-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.6rem, 5.5vw, 4.6rem);
    font-weight: 800;
    line-height: 1.06;
    color: #fff;
    max-width: 18ch;
}

.bl-hero h1 span { color: var(--clr-primary); }

.bl-hero p {
    color: var(--clr-text-muted);
    font-size: 1.05rem;
    max-width: 56ch;
    margin-top: 1.4rem;
    line-height: 1.7;
}

.bl-section { padding: 1rem 0 6rem; }

.bl-cat {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
    margin: 3rem 0 1.2rem;
    display: flex;
    align-items: center;
    gap: .6rem;
}

.bl-cat::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--clr-border);
}

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

.bl-card {
    background: var(--clr-bg-surface);
    border: 1px solid var(--clr-border);
    border-radius: 16px;
    padding: 1.6rem 1.6rem 1.4rem;
    display: flex;
    flex-direction: column;
    gap: .6rem;
    text-decoration: none;
    transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.bl-card:hover {
    transform: translateY(-5px);
    border-color: rgba(249, 115, 22, .5);
    box-shadow: 0 22px 55px -25px rgba(249, 115, 22, .35);
}

.bl-card .bl-kicker {
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--clr-primary);
}

.bl-card h2, .bl-card h3 {
    font-family: var(--font-heading);
    font-size: 1.18rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.35;
}

.bl-card p {
    color: var(--clr-text-muted);
    font-size: .92rem;
    line-height: 1.6;
    flex: 1;
}

.bl-card .bl-meta {
    color: var(--clr-text-muted);
    font-size: .78rem;
    opacity: .75;
    margin-top: .4rem;
}

.bl-card .bl-more {
    color: var(--clr-primary);
    font-weight: 500;
    font-size: .92rem;
    margin-top: .2rem;
}

/* ── Einzelner Post ── */
.po-wrap {
    max-width: 760px;
    margin: 0 auto;
    padding: 9.5rem 1.5rem 4rem;
}

.po-breadcrumb {
    font-size: .82rem;
    color: var(--clr-text-muted);
    margin-bottom: 1.6rem;
}

.po-breadcrumb a { color: var(--clr-text-muted); text-decoration: none; }
.po-breadcrumb a:hover { color: var(--clr-primary); }

.po-wrap h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.12;
    color: #fff;
    margin-bottom: 1rem;
}

.po-meta {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
    color: var(--clr-text-muted);
    font-size: .85rem;
    padding-bottom: 1.8rem;
    border-bottom: 1px solid var(--clr-border);
    margin-bottom: 2.2rem;
}

.po-meta strong { color: var(--clr-text); font-weight: 500; }

.po-content { line-height: 1.8; color: var(--clr-text); font-size: 1.02rem; }

.po-content p { margin-bottom: 1.3rem; color: var(--clr-text); }

.po-content h2 {
    font-family: var(--font-heading);
    font-size: 1.55rem;
    font-weight: 700;
    color: #fff;
    margin: 2.6rem 0 1rem;
    line-height: 1.3;
}

.po-content h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: #fff;
    margin: 2rem 0 .8rem;
}

.po-content ul, .po-content ol { margin: 0 0 1.4rem 1.3rem; }

.po-content li { margin-bottom: .55rem; color: var(--clr-text); }

.po-content a { color: var(--clr-primary); text-decoration: none; }
.po-content a:hover { text-decoration: underline; }

.po-content strong { color: #fff; font-weight: 600; }

/* Tabelle (z.B. Preisübersicht) */
.po-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0 2rem;
    font-size: .95rem;
}

.po-table th, .po-table td {
    text-align: left;
    padding: .8rem .9rem;
    border-bottom: 1px solid var(--clr-border);
}

.po-table th {
    color: var(--clr-primary);
    font-weight: 600;
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.po-table td { color: var(--clr-text); }
.po-table td:last-child { white-space: nowrap; }

/* Hinweis-/Merkbox */
.po-box {
    background: rgba(249, 115, 22, .07);
    border: 1px solid rgba(249, 115, 22, .25);
    border-radius: 12px;
    padding: 1.2rem 1.4rem;
    margin: 1.8rem 0;
    font-size: .97rem;
}

.po-box strong { color: var(--clr-primary); }

/* FAQ */
.po-faq { margin: 2.2rem 0; }

.po-faq details {
    border: 1px solid var(--clr-border);
    border-radius: 12px;
    margin-bottom: .8rem;
    background: var(--clr-bg-surface);
}

.po-faq summary {
    cursor: pointer;
    padding: 1rem 1.2rem;
    font-weight: 600;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1rem;
    list-style: none;
    position: relative;
    padding-right: 2.5rem;
}

.po-faq summary::after {
    content: '+';
    position: absolute;
    right: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--clr-primary);
    font-size: 1.3rem;
    transition: transform var(--transition-fast);
}

.po-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }

.po-faq details p { padding: 0 1.2rem 1.1rem; color: var(--clr-text-muted); line-height: 1.7; margin: 0; }

/* CTA-Box im Post */
.po-cta {
    background: linear-gradient(135deg, rgba(249, 115, 22, .12), rgba(249, 115, 22, .04));
    border: 1px solid rgba(249, 115, 22, .3);
    border-radius: 16px;
    padding: 2rem;
    margin: 3rem 0 1rem;
    text-align: center;
}

.po-cta h2, .po-cta .po-cta-title {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 .6rem;
}

.po-cta p { color: var(--clr-text-muted); margin-bottom: 1.4rem; }

.po-cta a.btn {
    display: inline-block;
    background: var(--clr-primary);
    color: #fff;
    padding: .9rem 2.2rem;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    transition: background var(--transition-fast), transform var(--transition-fast);
}

.po-cta a.btn:hover { background: var(--clr-primary-hover); transform: translateY(-2px); }

/* Autor */
.po-author {
    display: flex;
    gap: 1rem;
    align-items: center;
    border-top: 1px solid var(--clr-border);
    margin-top: 3rem;
    padding-top: 1.6rem;
    color: var(--clr-text-muted);
    font-size: .9rem;
}

.po-author .po-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--clr-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    flex-shrink: 0;
}

.po-author strong { color: #fff; }

/* Weitere Artikel */
.po-related { margin: 2.5rem 0 0; }

.po-related h2 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 1rem;
}

.po-related a {
    display: block;
    padding: .85rem 1.1rem;
    border: 1px solid var(--clr-border);
    border-radius: 12px;
    color: var(--clr-text);
    text-decoration: none;
    margin-bottom: .7rem;
    transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.po-related a:hover { border-color: rgba(249, 115, 22, .5); transform: translateX(4px); }

.po-related a span { color: var(--clr-primary); }

@media (max-width: 768px) {
    .bl-hero { padding-top: 7.5rem; }
    .po-wrap { padding-top: 7.5rem; }
    .po-table { font-size: .85rem; }
    .po-table th, .po-table td { padding: .6rem .5rem; }
}
