/* =============================================
   BLOG – Smartphone aus. Leben an.
   Editorial-Look in warmen Markentönen
   Nutzt die Variablen aus style.css
   ============================================= */

/* Creme-Hintergrund – nur auf Blog-Seiten (blog.css wird nur dort geladen) */
body { background: #FBF0DB; }

/* ===== Übersicht: Hero ===== */
.blog-hero { margin-top: var(--nav-height); padding: 74px 24px 18px; text-align: center; }
.blog-hero-inner { max-width: 900px; margin: 0 auto; }
.blog-hero .kicker {
    display: inline-block; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--color-primary-dark); background: rgba(191,73,4,0.10);
    padding: 7px 16px; border-radius: var(--radius-pill); margin-bottom: 24px;
}
.blog-hero h1 { font-size: clamp(2.4rem, 6.5vw, 4.6rem); font-weight: 900; letter-spacing: -0.02em; line-height: 1.0; color: #1f0f02; text-transform: uppercase; margin: 0 auto 22px; }
.blog-hero p { font-size: 1.14rem; color: var(--color-text-light); max-width: 620px; margin: 0 auto; line-height: 1.6; }

/* ===== Newsletter (öffnet das bestehende Mailjet Pop-in) ===== */
.blog-newsletter { max-width: 660px; margin: 38px auto 0; display: flex; gap: 22px 26px; align-items: center; justify-content: center; flex-wrap: wrap; }
.blog-newsletter .nl-copy { text-align: left; }
.blog-newsletter .nl-label { display: block; font-size: 1.08rem; font-weight: 800; color: #1f0f02; }
.blog-newsletter .nl-sub { display: block; font-size: 0.96rem; color: var(--color-text-light); margin-top: 2px; }
.nl-btn-wrap { position: relative; }
.nl-btn { display: inline-flex; align-items: center; gap: 9px; background: #1f0f02; color: #fff; font-weight: 800; font-size: 0.95rem; letter-spacing: 0.02em; padding: 15px 30px; border-radius: var(--radius-pill); box-shadow: var(--shadow-sm); transition: background 0.2s ease; }
.nl-btn-wrap:hover .nl-btn { background: var(--color-primary-dark); }
.nl-btn-wrap iframe { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; opacity: 0.01; cursor: pointer; border: 0; }

/* ===== Featured (neuester Beitrag) ===== */
.blog-featured-wrap { max-width: var(--max-width); margin: 52px auto 0; padding: 0 24px; }
.blog-featured {
    position: relative; display: block; overflow: hidden;
    background: #BF4904; color: #fff;
    border-radius: 30px; padding: 56px 54px; text-decoration: none;
    box-shadow: var(--shadow-md); transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.blog-featured:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.blog-featured .feat-inner { position: relative; z-index: 2; max-width: 640px; }
.blog-featured .feat-date { font-size: 0.92rem; font-weight: 600; opacity: 0.85; margin-bottom: 16px; }
.blog-featured h2 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 900; text-transform: uppercase; line-height: 1.0; letter-spacing: -0.015em; margin-bottom: 22px; color: #fff; }
.blog-featured .feat-desc { font-size: 1.08rem; line-height: 1.55; opacity: 0.96; margin-bottom: 30px; }
.blog-featured .read-pill { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; border: 2px solid rgba(255,255,255,0.85); border-radius: var(--radius-pill); padding: 14px 28px; transition: background 0.2s ease; }
.blog-featured:hover .read-pill { background: rgba(255,255,255,0.16); }
.blog-featured .feat-glyph { position: absolute; right: -30px; bottom: -70px; width: 330px; height: 330px; opacity: 0.10; z-index: 1; }

/* ===== Karten-Raster (weitere Beiträge) ===== */
.blog-grid { max-width: var(--max-width); margin: 30px auto 0; padding: 0 24px; display: grid; gap: 26px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.blog-card { display: flex; flex-direction: column; border-radius: 26px; padding: 34px 30px; min-height: 320px; text-decoration: none; transition: transform 0.25s ease; }
.blog-card:hover { transform: translateY(-6px); }
.blog-card .card-date { font-size: 0.85rem; font-weight: 600; opacity: 0.8; margin-bottom: 14px; }
.blog-card h2 { font-size: 1.7rem; font-weight: 900; text-transform: uppercase; line-height: 1.05; letter-spacing: -0.01em; margin-bottom: 16px; color: inherit; }
.blog-card p { font-size: 0.98rem; line-height: 1.5; opacity: 0.92; margin-bottom: 22px; flex: 1; }
.blog-card .card-pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: inherit; border: 2px solid currentColor; border-radius: var(--radius-pill); padding: 11px 22px; }

/* Kartenfarben – warme Markentöne */
.c-amber  { background: #F3AE2E; color: #231000; }
.c-orange { background: #ED7E33; color: #231000; }
.c-rust   { background: #BF4E29; color: #fff; }
.c-coral  { background: #E7794A; color: #231000; }

.blog-more-soon { text-align: center; color: var(--color-text-muted); font-size: 1rem; margin: 46px auto 90px; }

/* ===== Artikel-Seite ===== */
.post-hero { margin-top: var(--nav-height); background: linear-gradient(135deg, #FEF1E2 0%, #FAC48A 50%, #F29350 100%); padding: 56px 24px 48px; }
.post-hero-inner { max-width: 760px; margin: 0 auto; }
.post-back { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--color-primary-dark); text-decoration: none; margin-bottom: 22px; }
.post-back:hover { text-decoration: underline; }
.post-meta { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-primary-dark); margin-bottom: 14px; }
.post-hero h1 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); line-height: 1.18; color: var(--color-text); }
.post-lead { font-size: 1.2rem; color: var(--color-text-light); margin-top: 18px; line-height: 1.55; }

.post-body { max-width: 720px; margin: 0 auto; padding: 44px 24px 20px; font-size: 1.08rem; line-height: 1.75; color: var(--color-text); }
.post-body > * + * { margin-top: 22px; }
.post-body h2 { font-size: 1.6rem; line-height: 1.3; color: var(--color-text); margin-top: 40px; }
.post-body h3 { font-size: 1.25rem; color: var(--color-text); margin-top: 30px; }
.post-body a { color: var(--color-primary); font-weight: 600; }
.post-body ul, .post-body ol { padding-left: 24px; }
.post-body li { margin-top: 8px; }
.post-body img { width: 100%; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.post-body blockquote {
    border-left: 4px solid var(--color-primary);
    background: var(--color-bg-warm-mid);
    padding: 18px 24px; border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-size: 1.15rem; font-style: italic; color: var(--color-primary-dark);
}
.post-body strong { color: var(--color-primary-dark); }

.post-share { max-width: 720px; margin: 34px auto 0; padding: 24px; border-top: 1px solid var(--color-border-light); display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.post-share-label { font-weight: 700; color: var(--color-text); }
.post-share-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.share-btn {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 0.92rem; font-weight: 700; font-family: inherit;
    color: var(--color-primary-dark); background: var(--color-bg-warm-mid);
    border: 1px solid var(--color-accent-light); border-radius: var(--radius-pill);
    padding: 9px 16px; text-decoration: none; cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
}
.share-btn:hover { background: var(--color-bg-warm-strong); transform: translateY(-1px); }

/* ===== Kommentare ===== */
.comments { max-width: 720px; margin: 30px auto 90px; padding: 34px 24px 0; border-top: 1px solid var(--color-border-light); }
.comments h2 { font-size: 1.5rem; color: var(--color-text); margin-bottom: 8px; }
.comments .comments-hint { font-size: 0.9rem; color: var(--color-text-muted); margin-bottom: 24px; }

/* ===== Responsive ===== */
@media (max-width: 700px) {
    .blog-featured { padding: 40px 30px; }
}
@media (max-width: 600px) {
    .blog-hero, .post-hero { padding-left: 18px; padding-right: 18px; }
    .blog-newsletter { flex-direction: column; }
    .blog-newsletter .nl-copy { text-align: center; }
}
