/* ══════════════════════════════════════════════════════════════
   LUPE.AT – Ergänzungen der Revitalisierung
   Ergänzt style.css: Byline, Quellen, Autorenbox, Consent, Breadcrumb.
   ══════════════════════════════════════════════════════════════ */

:root {
    --lupe-red:    #c41e1e;
    --lupe-ink:    #1a1a1a;
    --lupe-muted:  #6b6b6b;
    --lupe-line:   #e5e3de;
    --lupe-paper:  #faf9f6;
    --lupe-serif:  'Merriweather', Georgia, 'Times New Roman', serif;
    --lupe-sans:   'Source Sans Pro', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --lupe-title:  'Playfair Display', Georgia, serif;
}

/* ── Brotkrümel ───────────────────────────────────────────── */
.breadcrumb {
    max-width: 1200px;
    margin: 1.25rem auto 0;
    padding: 0 20px;
    font-family: var(--lupe-sans);
    font-size: 0.8rem;
    color: var(--lupe-muted);
}
.breadcrumb a { color: var(--lupe-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--lupe-red); text-decoration: underline; }
.breadcrumb span { margin: 0 0.4rem; opacity: 0.5; }

/* ── Autorenzeile ─────────────────────────────────────────── */
.article-byline {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin: 0.9rem 0 0.4rem;
    font-family: var(--lupe-sans);
    font-size: 0.9rem;
    color: var(--lupe-ink);
}
.byline-avatar { border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.article-byline a { color: var(--lupe-ink); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--lupe-line); }
.article-byline a:hover { color: var(--lupe-red); border-color: currentColor; }
.byline-role { color: var(--lupe-muted); }

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1rem;
    font-family: var(--lupe-sans);
    font-size: 0.8rem;
    color: var(--lupe-muted);
    padding-bottom: 0.9rem;
    border-bottom: 1px solid var(--lupe-line);
}
.article-meta .updated { font-weight: 600; color: var(--lupe-ink); }

/* ── Bildunterschrift / Credit ────────────────────────────── */
.article-featured-image img { width: 100%; height: auto; display: block; }
.image-credit {
    font-family: var(--lupe-sans);
    font-size: 0.72rem;
    color: var(--lupe-muted);
    padding-top: 0.4rem;
    text-align: right;
}

/* ── Quellenverzeichnis ───────────────────────────────────── */
.article-sources {
    margin: 2.5rem 0 1.5rem;
    padding: 1.25rem 1.4rem;
    background: var(--lupe-paper);
    border-left: 3px solid var(--lupe-red);
    font-family: var(--lupe-sans);
}
.article-sources h2 {
    font-family: var(--lupe-sans);
    font-size: 0.78rem;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--lupe-muted);
    margin: 0 0 0.75rem;
}
.article-sources ul { margin: 0; padding-left: 1.1rem; }
.article-sources li { margin-bottom: 0.55rem; font-size: 0.88rem; line-height: 1.5; }
.article-sources a { color: var(--lupe-ink); text-decoration: underline; text-underline-offset: 2px; }
.article-sources a:hover { color: var(--lupe-red); }
.source-publisher, .source-date { color: var(--lupe-muted); font-size: 0.8rem; }
.source-publisher::before { content: '· '; }
.source-date::before { content: '· '; }

/* ── Autorenbox ───────────────────────────────────────────── */
.author-box {
    display: flex;
    gap: 1.1rem;
    align-items: flex-start;
    margin: 2rem 0;
    padding: 1.3rem;
    border: 1px solid var(--lupe-line);
    border-radius: 4px;
    background: #fff;
}
.author-box__avatar { border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.author-box__name { font-family: var(--lupe-title); font-size: 1.1rem; margin: 0 0 0.15rem; }
.author-box__name a { color: inherit; text-decoration: none; }
.author-box__name a:hover { color: var(--lupe-red); }
.author-box__role {
    font-family: var(--lupe-sans);
    font-size: 0.78rem;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--lupe-muted);
    margin: 0 0 0.5rem;
}
.author-box__bio { font-family: var(--lupe-sans); font-size: 0.9rem; line-height: 1.6; margin: 0; color: #333; }

.article-feedback {
    font-family: var(--lupe-sans);
    font-size: 0.85rem;
    color: var(--lupe-muted);
    margin: 1.5rem 0 0;
    padding-top: 1rem;
    border-top: 1px solid var(--lupe-line);
}

/* ── Anzeigenkennzeichnung ────────────────────────────────── */
.ad-container { position: relative; margin: 1.5rem 0; text-align: center; }
.ad-label {
    display: block;
    font-family: var(--lupe-sans);
    font-size: 0.62rem;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: #aaa;
    margin-bottom: 0.3rem;
}

/* ── Redaktionsseite ──────────────────────────────────────── */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}
.team-card {
    border: 1px solid var(--lupe-line);
    border-radius: 4px;
    padding: 1.4rem;
    background: #fff;
}
.team-card__avatar { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; margin-bottom: 0.8rem; }
.team-card__name { font-family: var(--lupe-title); font-size: 1.15rem; margin: 0 0 0.2rem; }
.team-card__role {
    font-family: var(--lupe-sans); font-size: 0.75rem; letter-spacing: 0.8px;
    text-transform: uppercase; color: var(--lupe-red); margin: 0 0 0.7rem;
}
.team-card__bio { font-family: var(--lupe-sans); font-size: 0.88rem; line-height: 1.6; color: #444; margin: 0 0 0.7rem; }
.team-card__topics { font-family: var(--lupe-sans); font-size: 0.78rem; color: var(--lupe-muted); }

/* ── Einwilligungsbanner ──────────────────────────────────── */
.consent {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 9999;
    background: #fff;
    border-top: 3px solid var(--lupe-red);
    box-shadow: 0 -6px 28px rgba(0, 0, 0, 0.14);
    font-family: var(--lupe-sans);
}
.consent__inner { max-width: 940px; margin: 0 auto; padding: 1.4rem 1.25rem; }
.consent__title { font-family: var(--lupe-title); font-size: 1.15rem; margin: 0 0 0.5rem; }
.consent__text { font-size: 0.87rem; line-height: 1.6; color: #333; margin: 0 0 0.9rem; }
.consent__text a { color: var(--lupe-red); }
.consent__options { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-bottom: 1rem; }
.consent__opt { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.87rem; cursor: pointer; }
.consent__opt--fixed { color: var(--lupe-muted); cursor: default; }
.consent__actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.consent__btn {
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.62rem 1.15rem;
    border: 1px solid var(--lupe-ink);
    background: #fff;
    color: var(--lupe-ink);
    border-radius: 3px;
    cursor: pointer;
}
.consent__btn:hover { background: #f3f2ef; }
.consent__btn--primary { background: var(--lupe-ink); color: #fff; }
.consent__btn--primary:hover { background: #000; }
.consent__btn--ghost { border-color: var(--lupe-line); color: var(--lupe-muted); }

@media (max-width: 640px) {
    .consent__actions { flex-direction: column; }
    .consent__btn { width: 100%; }
    .author-box { flex-direction: column; }
}

/* ── Footer-Zusatz ────────────────────────────────────────── */
.footer-note {
    font-size: 0.78rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.55);
    max-width: 62ch;
    margin: 0.5rem auto 0;
}
.footer-note a { color: inherit; text-decoration: underline; }
