:root {
  --ink: #18181b;
  --ink-soft: #3f3f46;
  --muted: #71717a;
  --faint: #a1a1aa;
  --paper: #ffffff;
  --wash: #fafaf9;
  --hairline: #e4e4e7;
  --rule: #d4d4d8;
  --accent: #8f1d22;
  --accent-hover: #6f1519;
  --red: #b91c1c;
  --max: 1200px;
  --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; }

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  min-height: 100vh;
  /* Sticky Footer: Body als Spalte, die sichtbare View wächst, der Footer bleibt unten –
     sonst rutscht er bei wenigen Artikeln nach oben und darunter klafft Paper-Hintergrund. */
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

/* Genau eine der beiden Views ist sichtbar (die andere display:none) – sie füllt den Restplatz. */
#home-view,
#article-detail { flex: 1 0 auto; }
footer { flex-shrink: 0; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

::selection { background: var(--ink); color: var(--paper); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: .6rem 1rem;
  font-size: .85rem;
  font-weight: 600;
  z-index: 300;
}
.skip-link:focus { left: 0; }

/* ─── MASTHEAD ─── */
.masthead {
  border-bottom: 1px solid var(--ink);
  background: var(--paper);
}
.masthead-top {
  max-width: var(--max);
  margin: 0 auto;
  padding: .55rem 1.5rem;
  display: flex;
  justify-content: space-between;
  font-size: .72rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--hairline);
}
.masthead-main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.2rem 1.5rem 1.8rem;
  text-align: center;
}
.masthead-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  letter-spacing: -.01em;
  line-height: 1.05;
  cursor: pointer;
}
.masthead-sub {
  margin-top: .55rem;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ─── NAVBAR ─── */
.navbar {
  background: var(--paper);
  border-bottom: 2px solid var(--ink);
  position: sticky;
  top: 0;
  z-index: 100;
}
.navbar.scrolled { box-shadow: 0 1px 0 rgba(0,0,0,.06); }

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 52px;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-shrink: 0;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease;
}
.navbar.scrolled .nav-brand { opacity: 1; visibility: visible; }
.nav-brand-logo {
  width: 30px; height: 30px;
  background: var(--ink);
  display: flex; align-items: center; justify-content: center;
  color: var(--paper);
  font-family: var(--serif);
  font-weight: 700;
  font-size: .85rem;
}
.nav-brand-text { line-height: 1.15; }
.nav-brand-name { font-family: var(--serif); font-weight: 700; font-size: .9rem; }
.nav-brand-sub { display: none; }

.nav-spacer { flex: 1; }

.nav-search {
  position: relative;
  margin-left: auto;
}
.nav-search input {
  padding: .4rem .75rem .4rem 2.1rem;
  border: 1px solid var(--rule);
  border-radius: 2px;
  font-size: .82rem;
  font-family: inherit;
  width: 190px;
  background: var(--paper);
  outline: none;
  transition: border-color .15s ease;
}
.nav-search input:focus { border-color: var(--ink); }
.nav-search svg {
  position: absolute;
  left: .6rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--faint);
  width: 14px; height: 14px;
}
.search-clear {
  position: absolute;
  right: .35rem;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: none;
  color: var(--muted);
  font-size: .8rem;
  padding: .25rem .4rem;
  cursor: pointer;
  line-height: 1;
}
.search-clear:hover { color: var(--ink); }
.nav-search input { padding-right: 1.8rem; }

.nav-admin-btn {
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: .42rem .9rem;
  border: 1px solid var(--ink);
  color: var(--ink);
  border-radius: 2px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .02em;
  white-space: nowrap;
  transition: background .15s ease, color .15s ease;
}
.nav-admin-btn:hover { background: var(--ink); color: var(--paper); }

.nav-menu-btn {
  display: none;
  border: none;
  background: none;
  padding: .4rem;
  cursor: pointer;
  color: var(--ink);
}

/* ─── MAIN ─── */
.main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

/* ─── SECTION HEADER ─── */
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 2px solid var(--ink);
  padding-bottom: .5rem;
  margin-bottom: 1.75rem;
}
.section-title {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -.01em;
}
.section-title span { color: inherit; }
.section-link {
  font-size: .78rem;
  font-weight: 500;
  color: var(--muted);
}

/* ─── FEATURED / AUFMACHER ─── */
.featured-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 0 2rem;
  margin-bottom: 1rem;
}
@media (max-width: 768px) { .featured-grid { grid-template-columns: 1fr; } }

.featured-card {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  padding-bottom: 1.5rem;
}
.featured-card.large {
  grid-row: span 2;
  border-right: 1px solid var(--hairline);
  padding-right: 2rem;
}
.featured-card + .featured-card:not(.large) {
  border-top: 1px solid var(--hairline);
  padding-top: 1.25rem;
}
.featured-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: var(--wash);
}
.featured-card:not(.large) img { aspect-ratio: 16 / 9; }
.featured-card-no-img {
  aspect-ratio: 3 / 2;
  background: var(--wash);
  border: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: center;
}
.featured-card-no-img::after {
  content: 'SZ';
  font-family: var(--serif);
  font-weight: 700;
  font-size: 2rem;
  color: var(--rule);
}
.featured-card-overlay {
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
}
.featured-card-overlay h2 {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.01em;
  margin-bottom: .5rem;
  transition: color .15s ease;
}
.featured-card.large .featured-card-overlay h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
.featured-card:hover .featured-card-overlay h2 { color: var(--accent); }
.featured-card-meta {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .75rem;
  color: var(--muted);
}

/* ─── ARTICLE GRID ─── */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
  gap: 2rem;
  transition: opacity .15s ease;
}

.article-card {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--hairline);
  padding-top: 1.25rem;
}

.article-card-img {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--wash);
  margin-bottom: 1rem;
}
.article-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.article-card-img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--hairline);
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--rule);
}

.article-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.article-card h3 {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.01em;
  margin-bottom: .5rem;
  transition: color .15s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-card:hover h3 { color: var(--accent); }
.article-card p {
  font-size: .85rem;
  color: var(--muted);
  line-height: 1.55;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: .9rem;
  font-size: .75rem;
  color: var(--faint);
}
.article-card-author {
  display: flex;
  align-items: center;
  gap: .4rem;
  color: var(--muted);
  font-weight: 500;
}
.author-avatar { display: none; }
.article-views {
  display: flex;
  align-items: center;
  gap: .3rem;
}

/* ─── ARTICLE DETAIL ─── */
#article-detail { display: none; }

/* Sauberer Zeilenumbruch: überlange Wörter brechen um, statt das Layout zu strecken */
.article-detail h1,
.article-detail-excerpt,
.article-detail-content,
.featured-card-overlay h2,
.article-card-body h3,
.article-card-body p {
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}
.article-detail-inner {
  max-width: 720px;
  margin: 0 auto;
}
.article-detail-back {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 500;
  margin-bottom: 2rem;
  cursor: pointer;
  transition: color .15s ease;
}
.article-detail-back:hover { color: var(--ink); }
.article-detail-cover {
  width: 100%;
  aspect-ratio: 16 / 9;          /* immer gleich große Box */
  object-fit: contain;           /* einpassen statt beschneiden */
  background: var(--paper-shade, #efeae0);
  margin-bottom: 1.75rem;
}
.article-detail-meta {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: wrap;
  margin-bottom: 1.1rem;
}
.article-detail-date, .article-detail-author, .article-detail-views {
  font-size: .8rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: .35rem;
}
.article-detail h1 {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.015em;
  margin-bottom: 1rem;
}
.article-detail-excerpt {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--hairline);
}
.article-detail-content {
  font-family: var(--serif);
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--ink-soft);
  max-width: 65ch;
}
.article-detail-content h2 { font-size: 1.45rem; font-weight: 700; margin: 2rem 0 .75rem; color: var(--ink); letter-spacing: -.01em; }
.article-detail-content h3 { font-size: 1.2rem; font-weight: 700; margin: 1.5rem 0 .5rem; color: var(--ink); }
.article-detail-content p { margin-bottom: 1.2rem; }
.article-detail-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.article-detail-content img { margin: 1.5rem 0; }
.article-detail-content video, .article-video { display: block; max-width: 100%; height: auto; margin: 1.5rem 0; background: #000; }
.article-detail-content blockquote {
  border-left: 3px solid var(--ink);
  padding: .25rem 0 .25rem 1.25rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--muted);
}
.article-detail-content ul, .article-detail-content ol {
  margin: 1rem 0 1rem 1.4rem;
}
.article-detail-content li { margin-bottom: .35rem; }
.article-detail-tags {
  display: flex;
  gap: .45rem;
  flex-wrap: wrap;
  margin-top: 2.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--hairline);
}
.tag {
  border: 1px solid var(--hairline);
  color: var(--muted);
  padding: .25rem .7rem;
  border-radius: 2px;
  font-size: .75rem;
  font-weight: 500;
}

/* ─── NEWSLETTER ─── */
.newsletter-section {
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--hairline);
  padding: 2.5rem 0;
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}
.newsletter-section h2 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -.01em;
  margin-bottom: .4rem;
}
.newsletter-section p { color: var(--muted); font-size: .9rem; }
.newsletter-form {
  display: flex;
  gap: .6rem;
}
.newsletter-form input {
  flex: 1;
  padding: .65rem .9rem;
  border: 1px solid var(--rule);
  border-radius: 2px;
  font-size: .9rem;
  font-family: inherit;
  outline: none;
  transition: border-color .15s ease;
}
.newsletter-form input:focus { border-color: var(--ink); }
.newsletter-form button {
  padding: .65rem 1.4rem;
  background: var(--ink);
  color: var(--paper);
  border: none;
  border-radius: 2px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  font-size: .85rem;
  white-space: nowrap;
  transition: background .15s ease;
}
.newsletter-form button:hover { background: var(--accent-hover); }

/* ─── FOOTER ─── */
footer {
  background: var(--ink);
  color: #a1a1aa;
  padding: 3rem 1.5rem 2rem;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
}
.footer-brand-name {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--paper);
  margin-bottom: .5rem;
}
.footer-brand p { font-size: .82rem; line-height: 1.6; max-width: 380px; }
.footer-col h4 {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--paper);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: .45rem; }
.footer-col ul li a { font-size: .82rem; color: #a1a1aa; cursor: pointer; transition: color .15s ease; }
.footer-col ul li a:hover { color: var(--paper); }
.footer-bottom {
  max-width: var(--max);
  margin: 2.5rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid #3f3f46;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .75rem;
  color: #71717a;
}

/* ─── PAGINATION ─── */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  margin-top: 2.5rem;
}
.page-btn {
  min-width: 36px; height: 36px;
  border: 1px solid var(--rule);
  border-radius: 2px;
  background: var(--paper);
  cursor: pointer;
  font-size: .82rem;
  font-weight: 600;
  font-family: inherit;
  color: var(--ink-soft);
  transition: border-color .15s ease, color .15s ease;
  display: flex; align-items: center; justify-content: center;
}
.page-btn:hover { border-color: var(--ink); color: var(--ink); }
.page-btn.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.page-btn:disabled { opacity: .35; cursor: not-allowed; }
.page-btn-text { padding: 0 .9rem; white-space: nowrap; }

/* ─── LOADING ─── */
.spinner {
  width: 32px; height: 32px;
  border: 2px solid var(--hairline);
  border-top-color: var(--ink);
  border-radius: 50%;
  animation: spin .7s linear infinite;
  margin: 3rem auto;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── TOAST ─── */
.toast-container {
  position: fixed;
  bottom: 1.5rem; right: 1.5rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.toast {
  background: var(--ink);
  color: var(--paper);
  padding: .8rem 1.2rem;
  border-radius: 2px;
  font-size: .85rem;
  font-weight: 500;
  max-width: 320px;
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
  display: flex;
  align-items: center;
  gap: .7rem;
  animation: slideIn .25s ease;
}
.toast.success { background: #166534; }
.toast.error { background: #991b1b; }
@keyframes slideIn {
  from { transform: translateY(8px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ─── EMPTY STATE ─── */
.empty-state {
  text-align: center;
  padding: 4rem 1rem;
  color: var(--muted);
  border-top: 1px solid var(--hairline);
}
.empty-state svg { margin: 0 auto 1rem; opacity: .25; }
.empty-state h3 { font-family: var(--serif); font-size: 1.15rem; color: var(--ink); margin-bottom: .4rem; }
.empty-state p { font-size: .88rem; }
.btn-reset-filter {
  margin-top: 1.25rem;
  padding: .55rem 1.3rem;
  border: 1px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  border-radius: 2px;
  font-family: inherit;
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.btn-reset-filter:hover { background: var(--ink); color: var(--paper); }

/* ─── BACK TO TOP ─── */
.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  width: 42px; height: 42px;
  border: 1px solid var(--rule);
  background: var(--paper);
  color: var(--ink);
  border-radius: 2px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  z-index: 90;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { border-color: var(--ink); }

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .nav-search { display: none; }
  .nav-menu-btn { display: flex; margin-left: auto; }
  .nav-inner { gap: .5rem; padding: 0 1rem; }
  .nav-brand { opacity: 1; visibility: visible; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .masthead-main { padding: 1.6rem 1.5rem 1.4rem; }
  .featured-card.large { border-right: none; padding-right: 0; border-bottom: 1px solid var(--hairline); margin-bottom: 1.25rem; }
  .newsletter-section { grid-template-columns: 1fr; gap: 1.25rem; }
  .newsletter-form { flex-direction: column; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: .5rem; text-align: center; }
  /* Größere Touch-Ziele auf dem Handy */
  .page-btn { min-width: 42px; height: 42px; }
  .mobile-nav-links a { padding: 1rem 0; font-size: 1rem; }
}

/* Sehr schmale Displays: Redaktion-Link steckt im Burger-Menü */
@media (max-width: 400px) {
  .nav-admin-btn { display: none; }
}

/* ─── MOBILE NAV ─── */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
}
.mobile-nav.open { display: block; }
.mobile-nav-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.45);
}
.mobile-nav-drawer {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(300px, 85vw);
  background: var(--paper);
  padding: 1.5rem;
  overflow-y: auto;
}
.mobile-nav-close {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1rem;
}
.mobile-nav-close button {
  border: 1px solid var(--rule);
  background: var(--paper);
  padding: .35rem .6rem;
  border-radius: 2px;
  cursor: pointer;
  font-size: 1rem;
  color: var(--ink);
}
.mobile-nav-search { margin-bottom: 1rem; }
.mobile-nav-search input {
  width: 100%;
  padding: .65rem .85rem;
  border: 1px solid var(--rule);
  border-radius: 2px;
  font-size: .92rem;
  font-family: inherit;
  outline: none;
}
.mobile-nav-search input:focus { border-color: var(--ink); }
.mobile-nav-links a {
  display: block;
  padding: .85rem 0;
  border-bottom: 1px solid var(--hairline);
  font-weight: 500;
  font-size: .92rem;
  color: var(--ink-soft);
  cursor: pointer;
}
.mobile-nav-links a:hover { color: var(--ink); }

/* ─── ENTWURF-VORSCHAU-BANNER ─── */
.preview-banner {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  background: #fffbeb;
  border: 1px solid #f59e0b;
  border-left: 4px solid #f59e0b;
  color: #78350f;
  padding: .85rem 1.1rem;
  border-radius: 6px;
  margin-bottom: 1.5rem;
  font-size: .85rem;
}
.preview-banner strong { font-size: .95rem; }

/* ─── REAKTIONEN ─── */
.reactions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .85rem;
  margin: 2.5rem 0 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--hairline);
}
.reactions-label { font-size: .9rem; color: var(--muted); font-weight: 600; }
.reactions-btns { display: flex; gap: .6rem; }
.reaction-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--wash);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: .4rem .85rem;
  font-size: .95rem;
  font-family: var(--sans);
  cursor: pointer;
  transition: transform .12s ease, border-color .12s ease, background .12s ease;
}
.reaction-btn:hover:not(:disabled) { transform: translateY(-2px); border-color: var(--rule); background: #fff; }
.reaction-btn:disabled { cursor: default; opacity: .85; }
.reaction-btn.chosen { border-color: var(--accent); background: #fbeaeb; }
.reaction-emoji { font-size: 1.1rem; line-height: 1; }
.reaction-count { font-size: .85rem; font-weight: 700; color: var(--ink-soft); min-width: .9em; }

/* ─── ARTIKEL-AKTIONEN (Drucken / Teilen) ─── */
.article-actions { display: flex; gap: .6rem; margin: 1.5rem 0 .5rem; }
.article-action-btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: none;
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: .45rem .9rem;
  font-size: .82rem;
  font-weight: 600;
  font-family: var(--sans);
  color: var(--ink-soft);
  cursor: pointer;
  transition: border-color .12s ease, color .12s ease;
}
.article-action-btn:hover { border-color: var(--accent); color: var(--accent); }

/* ─── UMFRAGE ─── */
.poll-section { margin: 3rem 0; }
.poll-card {
  background: var(--wash);
  border: 1px solid var(--hairline);
  border-top: 3px solid var(--accent);
  border-radius: 8px;
  padding: 1.75rem;
  max-width: 640px;
}
.poll-eyebrow {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
}
.poll-question { font-family: var(--serif); font-size: 1.3rem; font-weight: 700; margin: .4rem 0 1.1rem; }
.poll-options { display: flex; flex-direction: column; gap: .6rem; }
.poll-option {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: .75rem 1rem;
  font-size: .92rem;
  font-family: var(--sans);
  color: var(--ink);
  cursor: pointer;
  overflow: hidden;
  transition: border-color .12s ease, transform .12s ease;
}
button.poll-option:hover { border-color: var(--accent); transform: translateX(2px); }
.poll-option.result { cursor: default; }
.poll-option.result.mine { border-color: var(--accent); font-weight: 600; }
.poll-option-bar {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  background: #fbeaeb;
  z-index: 0;
  transition: width .5s ease;
}
.poll-option-text, .poll-option-pct { position: relative; z-index: 1; }
.poll-option-pct { font-weight: 700; color: var(--accent); font-size: .85rem; }
.poll-footer { margin-top: 1rem; font-size: .8rem; color: var(--muted); }
/* In den Artikel eingebundene Umfrage: etwas Abstand zum Text */
.article-poll { margin: 2.5rem 0 1rem; }

/* Bild-Kopf: Titelbild groß, weitere Bilder als Grid daneben */
.article-hero {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: .6rem;
  margin-bottom: 1.75rem;
}
.article-hero-cover {
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 2;           /* feste Box */
  object-fit: contain;           /* einpassen statt beschneiden */
  background: var(--paper-shade, #efeae0);
  display: block;
}
/* Videos bekommen schwarze Letterbox-Ränder (Bilder die helle vom Cover) */
.article-hero-video { background: #000; }
.article-hero-thumbs {
  display: grid;
  grid-auto-rows: 1fr;
  gap: .6rem;
  min-height: 0;
}
.article-hero-thumbs a {
  display: block;
  overflow: hidden;
  min-height: 0;
}
.article-hero-thumbs img,
.article-hero-thumbs video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--paper-shade, #efeae0);
  display: block;
  transition: transform .3s ease;
}
.article-hero-thumbs a:hover img { transform: scale(1.04); }
@media (max-width: 640px) {
  .article-hero { grid-template-columns: 1fr; }
  .article-hero-cover { aspect-ratio: 16 / 9; }
  .article-hero-thumbs { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); grid-auto-rows: auto; }
  .article-hero-thumbs img,
  .article-hero-thumbs video { aspect-ratio: 4 / 3; }
}

/* ─── DRUCK ─── */
@media print {
  .navbar, .masthead-top, #mobile-nav, .nav-search, .back-to-top,
  footer, .newsletter-section, .poll-section, .reactions, .article-actions,
  .article-detail-back, .skip-link, .toast-container, .no-print {
    display: none !important;
  }
  body { background: #fff; color: #000; font-size: 12pt; }
  .masthead { border: none; text-align: center; margin-bottom: 1rem; }
  .main { max-width: 100%; padding: 0; }
  .article-detail-cover { max-height: 9cm; aspect-ratio: auto; object-fit: contain; }
  .article-detail-content { font-family: var(--serif); }
  a { color: #000; text-decoration: underline; }
  .article-detail-content a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .85em; color: #444; }
  h1, h2, h3 { page-break-after: avoid; }
  img, figure, video { page-break-inside: avoid; }
}
