/* ==========================================================================
   Popcorn Now – Ghost Theme
   Dunkles Magazin-Layout, rote mitlaufende Navigation
   ========================================================================== */

/* ---------- Schrift: Ubuntu (Ubuntu Font Licence 1.0) ---------- */
@font-face { font-family: "Ubuntu"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/ubuntu-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Ubuntu"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/ubuntu-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Ubuntu"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("../fonts/ubuntu-latin-400-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Ubuntu"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("../fonts/ubuntu-latin-ext-400-italic.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Ubuntu"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/ubuntu-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Ubuntu"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/ubuntu-latin-ext-500-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Ubuntu"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/ubuntu-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Ubuntu"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/ubuntu-latin-ext-700-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- Farben & Maße ---------- */
:root {
  --nav: #c42b37;               /* wird aus den Theme-Einstellungen überschrieben */
  --accent: #e50100;            /* Spitzmarken – wird überschrieben */
  --bg: #1b1a18;
  --masthead: #121110;
  --card: #2a2826;
  --card-hover: #33302d;
  --line: #3a3734;
  --text: #ffffff;
  --text-soft: #d6d3cf;
  --text-muted: #a8a49f;

  --font-body: var(--gh-font-body, "Ubuntu", "Segoe UI", system-ui, -apple-system, sans-serif);
  --font-heading: var(--gh-font-heading, "Ubuntu", "Segoe UI", system-ui, -apple-system, sans-serif);

  --container: 1220px;
  --gutter: 16px;
  --gap: 20px;
  --radius: 2px;
  --masthead-h: 60px;
  --nav-h: 52px;
}
@media (min-width: 900px) {
  :root { --gutter: 32px; --gap: 32px; --masthead-h: 72px; --nav-h: 60px; }
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-heading); margin: 0; }
button { font: inherit; }

.site { display: flex; flex-direction: column; min-height: 100vh; }
.site-main { flex: 1; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: calc(760px + 2 * var(--gutter)); }
.container--wide { max-width: calc(1040px + 2 * var(--gutter)); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 100; background: #fff; color: #000; padding: 8px 14px; }
.skip-link:focus { top: 8px; }
:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* ---------- Logo ---------- */
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand-logo { display: block; height: 40px; width: auto; max-width: 240px; object-fit: contain; }
@media (max-width: 599px) { .masthead .brand-logo { height: 34px; max-width: 180px; } }
.logo-text { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-heading); font-weight: 700; font-size: 24px; letter-spacing: -0.01em; line-height: 1; color: #fff; }
.logo-badge { background: var(--nav); color: #fff; padding: 4px 7px 5px; border-radius: 3px; font-size: 0.82em; text-transform: uppercase; letter-spacing: 0.04em; }

/* ---------- Kopfzeile (scrollt weg) ---------- */
.masthead { background: var(--masthead); }
.masthead-inner { height: var(--masthead-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.masthead-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: transparent; color: #fff; cursor: pointer; }
.icon-btn:hover { background: rgba(255,255,255,.1); }

/* ---------- Rote Navigation (läuft beim Scrollen mit) ---------- */
.topnav {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--nav);
  box-shadow: 0 1px 0 rgba(0,0,0,.25);
  transition: box-shadow .2s ease;
}
.topnav.is-stuck { box-shadow: 0 6px 18px rgba(0,0,0,.45); }
.topnav-inner { display: flex; align-items: stretch; height: var(--nav-h); padding-right: 0; }
@media (min-width: 900px) { .topnav-inner { padding-right: var(--gutter); } }

/* kleines Logo, erscheint erst, wenn die Kopfzeile weggescrollt ist */
.topnav-brand {
  display: flex; align-items: center; flex: none;
  max-width: 0; overflow: hidden; opacity: 0;
  text-decoration: none;
  transition: max-width .25s ease, opacity .2s ease, margin .25s ease;
}
.topnav-brand .logo-text { font-size: 18px; }
.topnav-brand .brand-logo { height: 30px; max-width: 160px; }
.topnav-brand .logo-badge { background: #fff; color: var(--nav); }
.topnav.is-stuck .topnav-brand { max-width: 200px; opacity: 1; margin-right: 20px; }
@media (max-width: 599px) { .topnav.is-stuck .topnav-brand { max-width: 0; opacity: 0; margin: 0; } }

.topnav-scroller {
  position: relative;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
}
.topnav-scroller::-webkit-scrollbar { display: none; }
/* weicher Rand rechts/links als Hinweis: hier geht's weiter (per Wischen) */
.topnav-scroller.has-more-right { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 56px), transparent); }
.topnav-scroller.has-more-left { -webkit-mask-image: linear-gradient(to right, transparent, #000 40px); mask-image: linear-gradient(to right, transparent, #000 40px); }
.topnav-scroller.has-more-left.has-more-right { -webkit-mask-image: linear-gradient(to right, transparent, #000 40px, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(to right, transparent, #000 40px, #000 calc(100% - 56px), transparent); }

.topnav-list { display: flex; height: 100%; margin: 0; padding: 0; list-style: none; white-space: nowrap; }
.nav-item { display: flex; scroll-snap-align: start; }
.nav-item a {
  position: relative;
  display: flex; align-items: center;
  padding: 0 18px;
  color: #fff;
  text-decoration: none;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0.005em;
  opacity: .96;
}
.nav-item:first-child a { padding-left: 0; }
@media (min-width: 900px) { .nav-item a { font-size: 18px; padding: 0 20px; } }
.nav-item a::after {
  content: ""; position: absolute; left: 18px; right: 18px; bottom: 0; height: 4px;
  background: #fff; transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.nav-item:first-child a::after { left: 0; }
@media (min-width: 900px) { .nav-item a::after { left: 20px; right: 20px; } }
.nav-item a:hover::after { transform: scaleX(.35); }
.nav-item.is-current a { opacity: 1; font-weight: 500; }
.nav-item.is-current a::after { transform: scaleX(1); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 40px; padding: 0 18px;
  border-radius: 999px; border: 1px solid transparent;
  font-size: 15px; font-weight: 500; text-decoration: none; cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
.btn--red { background: var(--nav); color: #fff; }
.btn--red:hover { filter: brightness(1.1); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn--ghost:hover { border-color: #fff; }
.btn--wide { min-width: 240px; min-height: 48px; font-size: 16px; }
@media (max-width: 599px) { .btn--signin { display: none; } .masthead-actions .btn { min-height: 36px; padding: 0 14px; font-size: 14px; } }

/* ---------- Abschnitte ---------- */
.section { padding-top: 28px; }
.section--top { padding-top: 24px; }
@media (min-width: 900px) { .section { padding-top: 48px; } .section--top { padding-top: 40px; } }
.section-title {
  font-size: 28px; font-weight: 500; line-height: 1.2; color: var(--accent);
  margin: 0 0 18px;
}
@media (min-width: 900px) { .section-title { font-size: 36px; margin-bottom: 24px; } }
.section-title--link a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.section-title--link svg { transition: transform .2s ease; }
.section-title--link a:hover svg { transform: translateX(4px); }

/* ---------- Raster ---------- */
.grid { display: grid; gap: var(--gap); }
.grid + .grid { margin-top: var(--gap); }
.grid--2, .grid--3 { grid-template-columns: 1fr; }
@media (min-width: 600px) and (max-width: 899px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Karten ---------- */
.card { background: var(--card); border-radius: var(--radius); overflow: hidden; transition: background .15s ease; }
.card:hover { background: var(--card-hover); }
.card-link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.card-media { position: relative; margin: 0; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-media img { transform: scale(1.03); }
.card-media--empty { background: linear-gradient(135deg, #3a1418 0%, #1e1c1a 70%); display: grid; place-items: center; }
.card-placeholder { opacity: .35; transform: scale(.9); }
.card-placeholder .brand-logo { max-height: 48px; max-width: 60%; margin: 0 auto; }

.card-body { display: flex; flex-direction: column; flex: 1; padding: 20px 20px 22px; }
@media (min-width: 900px) { .card-body { padding: 26px 24px 24px; } }
.card-kicker { margin: 0 0 6px; color: var(--accent); font-size: 17px; line-height: 1.3; font-weight: 400; }
.card-title { font-size: 21px; line-height: 1.3; font-weight: 500; letter-spacing: -0.005em; color: #fff; }
.card-excerpt { display: none; margin: 14px 0 0; color: var(--text-soft); font-size: 17px; line-height: 1.5; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin-top: auto; padding-top: 22px; color: var(--text-muted); font-size: 14px; line-height: 1.3; }
.meta-item { display: inline-flex; align-items: center; gap: 6px; }
.meta-time { display: inline-flex; align-items: center; gap: 6px; }
.meta-time.is-fresh { color: var(--accent); }
.meta-time.is-fresh::before {
  content: ""; width: 15px; height: 15px; flex: none;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M16 7.5A6.5 6.5 0 0 0 4.2 6M4 12.5A6.5 6.5 0 0 0 15.8 14' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'/%3E%3Cpath d='M3.5 2.5V6.5h4M16.5 17.5v-4h-4' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M16 7.5A6.5 6.5 0 0 0 4.2 6M4 12.5A6.5 6.5 0 0 0 15.8 14' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'/%3E%3Cpath d='M3.5 2.5V6.5h4M16.5 17.5v-4h-4' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.meta-sep { color: var(--text-muted); }

/* große Karte: mit Teasertext */
.card--large .card-title { font-size: 23px; }
.card--large .card-excerpt { display: block; }
@media (min-width: 900px) {
  .card--large .card-title { font-size: 25px; }
  .card--large .card-body { padding: 30px 26px 26px; }
}

/* Handy: kleine Karten als Liste (Text links, Bild rechts) */
@media (max-width: 599px) {
  .card--small:not(.card--lead):not(.is-featured) .card-link { flex-direction: row-reverse; align-items: stretch; }
  .card--small:not(.card--lead):not(.is-featured) .card-media { flex: 0 0 38%; aspect-ratio: auto; min-height: 140px; margin: 20px 18px 20px 0; border-radius: var(--radius); align-self: flex-start; aspect-ratio: 1 / 1; }
  .card--small:not(.card--lead):not(.is-featured) .card-body { padding: 20px 14px 18px 20px; }
  .card--small:not(.card--lead):not(.is-featured) .card-kicker { font-size: 16px; }
  .card--small:not(.card--lead):not(.is-featured) .card-title { font-size: 19px; }
  .card--small:not(.card--lead):not(.is-featured) .meta { padding-top: 14px; }
  .card--small:not(.card--lead):not(.is-featured) .meta-item--reading,
  .card--small:not(.card--lead):not(.is-featured) .meta-sep:has(+ .meta-item--reading) { display: none; }
  .card--lead .card-title { font-size: 22px; }
  .card--lead .card-excerpt { display: block; }
}

/* hervorgehobene Beiträge (Featured): Text liegt im Bild */
@media (min-width: 600px) {
  .card--small.is-featured { position: relative; min-height: 100%; }
  .card--small.is-featured .card-link { position: relative; min-height: 380px; }
  .card--small.is-featured .card-media { position: absolute; inset: 0; aspect-ratio: auto; }
  .card--small.is-featured .card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,9,8,.92) 0%, rgba(10,9,8,.6) 38%, rgba(10,9,8,0) 70%); }
  .card--small.is-featured .card-body { position: relative; z-index: 1; margin-top: auto; flex: none; padding-top: 120px; }
  .card--small.is-featured .card-kicker { color: #fff; }
  .card--small.is-featured .card-excerpt { display: block; color: #eeeae6; font-size: 16px; margin-top: 10px; }
  .card--small.is-featured .meta { display: none; }
}
@media (max-width: 599px) {
  .card--small.is-featured .card-link { position: relative; }
  .card--small.is-featured .card-media { aspect-ratio: 4 / 3; }
  .card--small.is-featured .card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,9,8,.95) 0%, rgba(10,9,8,.4) 45%, rgba(10,9,8,0) 70%); }
  .card--small.is-featured .card-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; }
  .card--small.is-featured .card-kicker { color: #fff; }
  .card--small.is-featured .meta { display: none; }
}

/* ---------- Mehr laden ---------- */
.load-more { display: flex; justify-content: center; padding: 40px 0 8px; }
.load-more .btn[aria-busy="true"] { opacity: .6; pointer-events: none; }

/* ---------- Archiv (Tag / Autor) ---------- */
.archive-header { padding-top: 36px; }
@media (min-width: 900px) { .archive-header { padding-top: 56px; } }
.archive-title { color: var(--accent); font-size: 34px; line-height: 1.15; font-weight: 500; }
@media (min-width: 900px) { .archive-title { font-size: 48px; } }
.archive-desc { max-width: 720px; margin: 12px 0 0; color: var(--text-soft); font-size: 18px; }
.archive-header--author { display: flex; align-items: center; gap: 20px; }
.author-avatar { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; }
.section--archive { padding-top: 28px; }

/* ---------- Artikel ---------- */
.article-header { padding-top: 32px; }
@media (min-width: 900px) { .article-header { padding-top: 56px; } }
.article-kicker { display: inline-block; color: var(--accent); font-size: 19px; text-decoration: none; margin-bottom: 8px; }
.article-kicker:hover { text-decoration: underline; }
.article-title { font-size: 32px; line-height: 1.18; font-weight: 700; letter-spacing: -0.01em; }
@media (min-width: 900px) { .article-title { font-size: 46px; } }
.article-lead { margin: 18px 0 0; color: var(--text-soft); font-size: 20px; line-height: 1.5; }
@media (min-width: 900px) { .article-lead { font-size: 22px; } }
.article-meta { display: flex; flex-wrap: wrap; gap: 4px 8px; margin-top: 22px; padding-bottom: 4px; color: var(--text-muted); font-size: 15px; }
.article-meta a { color: var(--text); text-decoration: none; }
.article-meta a:hover { text-decoration: underline; }
.article-image { margin-top: 28px; margin-bottom: 0; }
.article-image img { width: 100%; border-radius: var(--radius); }
.article-image figcaption, .gh-content figcaption { margin-top: 10px; color: var(--text-muted); font-size: 14px; line-height: 1.45; }
@media (max-width: 599px) { .article-image { padding: 0; } .article-image figcaption { padding: 0 var(--gutter); } .article-image img { border-radius: 0; } }

/* Inhalt (Ghost-Editor) */
.gh-content { padding-top: 32px; font-size: 18px; line-height: 1.7; color: #ece9e5; }
@media (min-width: 900px) { .gh-content { font-size: 19px; } }
.gh-content > * + * { margin-top: 1.25em; margin-bottom: 0; }
.gh-content > :first-child { margin-top: 0; }
.gh-content h2 { font-size: 28px; line-height: 1.25; font-weight: 500; margin-top: 1.8em; color: #fff; }
.gh-content h3 { font-size: 23px; line-height: 1.3; font-weight: 500; margin-top: 1.6em; color: #fff; }
.gh-content h4 { font-size: 19px; font-weight: 700; margin-top: 1.4em; }
.gh-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.gh-content a:hover { text-decoration-thickness: 2px; }
.gh-content strong { color: #fff; font-weight: 700; }
.gh-content ul, .gh-content ol { padding-left: 1.3em; }
.gh-content li + li { margin-top: .4em; }
.gh-content li::marker { color: var(--accent); }
.gh-content blockquote:not([class]) { margin-left: 0; margin-right: 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--nav); font-size: 22px; line-height: 1.5; color: #fff; }
.gh-content blockquote.kg-blockquote-alt { font-size: 26px; text-align: center; font-style: italic; color: #fff; padding: 0 1em; }
.gh-content hr { border: 0; height: 1px; background: var(--line); margin: 2.4em 0; }
.gh-content figure { margin-left: 0; margin-right: 0; }
.gh-content img { border-radius: var(--radius); }
.gh-content pre { background: #0f0e0d; padding: 18px; overflow-x: auto; font-size: 15px; border-radius: 4px; }
.gh-content code { font-size: .88em; }
.gh-content :not(pre) > code { background: #33302d; padding: 2px 6px; border-radius: 3px; }
.gh-content table { width: 100%; border-collapse: collapse; font-size: 16px; }
.gh-content th, .gh-content td { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; }
.gh-content iframe { border: 0; }

/* Videos (YouTube, Vimeo …) immer in voller Breite, 16:9 */
.gh-content iframe[src*="youtube"],
.gh-content iframe[src*="youtu.be"],
.gh-content iframe[src*="vimeo"],
.gh-content iframe[src*="dailymotion"],
.gh-content iframe[src*="player."],
.gh-content iframe[src*="/embed/"] {
  display: block;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
}
.gh-content .kg-embed-card { display: block; width: 100%; }

/* Ghost-Box „Nur für Mitglieder" / Registrieren – dunkel statt weiß */
.gh-post-upgrade-cta { margin-top: 2em; font-family: var(--font-body) !important; color: var(--text) !important; }
.gh-post-upgrade-cta-content,
.gh-post-upgrade-cta > div {
  width: 100%;
  background: var(--card) !important;
  border-top: 4px solid var(--nav);
  border-radius: var(--radius) !important;
  padding: 36px 24px !important;
  color: var(--text) !important;
  box-shadow: none !important;
}
.gh-post-upgrade-cta h2,
.gh-post-upgrade-cta h3,
.gh-post-upgrade-cta p,
.gh-post-upgrade-cta small,
.gh-post-upgrade-cta span { color: var(--text) !important; }
.gh-post-upgrade-cta h2 { font-size: 24px !important; font-weight: 500; line-height: 1.3; }
.gh-post-upgrade-cta p { color: var(--text-soft) !important; }
.gh-post-upgrade-cta a:not(.gh-btn) { color: var(--accent) !important; }
.gh-post-upgrade-cta .gh-btn,
.gh-post-upgrade-cta button {
  display: inline-flex !important;
  background: var(--nav) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 999px !important;
  padding: 10px 24px !important;
  text-decoration: none !important;
}

/* Ghost-Bildbreiten (Pflicht für Ghost) */
.kg-width-wide { position: relative; width: min(1040px, 100vw - 2 * var(--gutter)); left: 50%; transform: translateX(-50%); max-width: none; }
.kg-width-full { position: relative; width: 100vw; left: 50%; transform: translateX(-50%); max-width: none; }
.kg-width-full img { border-radius: 0; }
.kg-width-full figcaption { padding: 0 var(--gutter); }
.kg-embed-card, .kg-video-card { width: 100%; }
.kg-callout-card { color: var(--text); }
.kg-bookmark-card a.kg-bookmark-container { color: var(--text); background: var(--card); border-color: var(--line) !important; }
.kg-bookmark-description, .kg-bookmark-metadata { color: var(--text-soft) !important; }
.kg-toggle-card, .kg-product-card-container { background: var(--card) !important; color: var(--text); }

/* Tags unter dem Artikel */
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 36px; }
.tag-pill { padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--text-soft); font-size: 14px; text-decoration: none; }
.tag-pill:hover { border-color: var(--accent); color: #fff; }

/* Newsletter-Box */
.subscribe-box { margin-top: 44px; }
.subscribe-inner { background: var(--card); border-top: 4px solid var(--nav); padding: 28px 24px; border-radius: var(--radius); }
.subscribe-inner h2 { font-size: 24px; font-weight: 500; }
.subscribe-inner p { margin: 8px 0 18px; color: var(--text-soft); }
.article-comments { margin-top: 44px; }
.related { padding-bottom: 8px; }

/* ---------- Fehlerseite ---------- */
.error-page { padding-top: 72px; padding-bottom: 40px; text-align: center; }
.error-page .archive-desc { margin: 12px auto 28px; }
.error-code { margin: 0; font-size: 96px; font-weight: 700; line-height: 1; color: var(--nav); }

/* ---------- Fußzeile ---------- */
.site-footer { margin-top: 64px; background: var(--masthead); border-top: 4px solid var(--nav); }
.footer-inner { padding-top: 40px; padding-bottom: 32px; }
.footer-desc { max-width: 520px; margin: 12px 0 0; color: var(--text-muted); font-size: 15px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 28px 0 0; padding: 0; list-style: none; }
.footer-nav .nav-item a { padding: 0; font-size: 15px; color: var(--text-soft); }
.footer-nav .nav-item a::after { display: none; }
.footer-nav .nav-item a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--text-muted); font-size: 14px; }
.footer-social { display: flex; gap: 18px; }
.footer-social a { text-decoration: none; }
.footer-social a:hover { color: #fff; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
