/*
Theme Name: Antamar 4
Theme URI: https://antamar.eu
Author: A-Team
Author URI: https://antamar.eu
Description: Landingpage und Blog-Theme für antamar.eu (2026). Dunkles Design in Gold, Creme und Rot, PT Serif und Montserrat lokal gehostet, responsiv.
Version: 1.0.0
Requires at least: 6.5
Tested up to: 6.9
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: antamar4
*/

/* ==========================================================================
   1. Tokens
   ========================================================================== */
:root {
  --bg: #020f06;
  --panel: #1a1410;
  --panel-2: #0b1a10;
  --line: #5a4d26;
  --line-strong: #8a7a3a;
  --text: #efe6c8;
  --heading: #fef1b9;
  --text-muted: #c9c1a5;
  --gold: #cca935;
  --gold-2: #c1ab49;
  --gold-hi: #e7c979;
  --red: #d42a04;
  --red-text: #e8785e;
  --btn-bg: #6b1a12;
  --btn-bg-hover: #8b1a12;
  --shadow-text: 1px 1px 0 #040404;
  --serif: "PT Serif", Georgia, "Times New Roman", serif;
  --sans: "Montserrat", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --w: 1120px;
  --w-text: 760px;
  --gutter: 24px;
  --header-h: 88px;
}

/* ==========================================================================
   2. Basis
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.6;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--serif); color: var(--heading); font-weight: 700; line-height: 1.15; margin: 0; }
p { margin: 0 0 1em; }
a { color: var(--gold-hi); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
a:hover { color: var(--heading); }
img, picture, video, iframe { max-width: 100%; }
img { height: auto; vertical-align: middle; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; }
.wrap { max-width: var(--w); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--text { max-width: calc(var(--w-text) + 2 * var(--gutter)); }

.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; width: 1px;
  margin: -1px; overflow: hidden; padding: 0; position: absolute; word-wrap: normal !important;
}
.skip-link:focus {
  clip: auto; clip-path: none; height: auto; width: auto; left: 8px; top: 8px; z-index: 1000;
  background: var(--panel); color: var(--heading); padding: 12px 18px; font-family: var(--sans);
  text-decoration: none; border: 1px solid var(--gold);
}

/* ==========================================================================
   3. Buttons
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
  font-family: var(--serif); font-variant: small-caps; font-weight: 700; font-size: 1.1rem;
  letter-spacing: 0.03em; line-height: 1.2; padding: 0.5em 1.4em; border-radius: 0.2em;
  border: 1px solid var(--gold); text-decoration: none; cursor: pointer; text-align: center;
  text-shadow: var(--shadow-text);
  transition: transform 0.15s, box-shadow 0.15s, background-color 0.15s, border-color 0.15s, color 0.15s;
}
.btn--primary { background: var(--btn-bg); color: var(--heading); box-shadow: inset 0 0 0.25em 0.25em rgba(0, 0, 0, 0.45); }
.btn--primary:hover {
  background: var(--btn-bg-hover); color: #fff8dc; transform: translateY(-1px);
  box-shadow: inset 0 0 0.25em 0.25em rgba(0, 0, 0, 0.35), 0 0.25em 0.4em rgba(0, 0, 0, 0.5);
}
.btn--ghost { background: rgba(2, 15, 6, 0.4); color: var(--gold-2); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--gold-hi); color: var(--gold-hi); }
.btn--sm { font-size: 0.95rem; padding: 0.4em 1.05em; }
.link-btn { background: none; border: 0; padding: 0; color: var(--gold-hi); text-decoration: underline; text-underline-offset: 0.15em; cursor: pointer; }
.link-btn:hover { color: var(--heading); }

/* ==========================================================================
   4. Kopf und Navigation
   ========================================================================== */
.site-header { border-bottom: 1px solid var(--line); position: relative; z-index: 10; }
.site-header--hero { border-bottom-color: transparent; background: linear-gradient(to bottom, rgba(2, 15, 6, 0.8), rgba(2, 15, 6, 0.25)); }
.site-header__inner { display: flex; align-items: center; flex-wrap: wrap; gap: 20px 24px; min-height: var(--header-h); padding-top: 10px; padding-bottom: 10px; }
.brand { display: inline-flex; flex: none; text-decoration: none; }
.brand img { height: 80px; width: auto; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6)); }
.site-nav { margin-left: auto; }
.site-nav__list { display: flex; flex-wrap: wrap; gap: 4px 24px; list-style: none; margin: 0; padding: 0; font-family: var(--sans); font-size: 16px; font-weight: 600; letter-spacing: 0.02em; }
.site-nav__list a { display: inline-block; color: var(--text-muted); text-decoration: none; padding: 8px 0; text-shadow: var(--shadow-text); }
.site-nav__list a:hover { color: var(--heading); }
.site-nav__list .current-menu-item > a, .site-nav__list a[aria-current="page"] { color: var(--gold-hi); }
.nav-toggle {
  display: none; align-items: center; justify-content: center; width: 44px; height: 44px; flex: none;
  background: rgba(2, 15, 6, 0.4); border: 1px solid var(--line-strong); border-radius: 4px; cursor: pointer; padding: 0; color: var(--heading);
}
.nav-toggle__bars { display: block; width: 20px; height: 14px; position: relative; }
.nav-toggle__bars span { position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; border-radius: 1px; transition: transform 0.2s, opacity 0.2s; }
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 6px; }
.nav-toggle__bars span:nth-child(3) { top: 12px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ==========================================================================
   5. Startseite: Hero und Probeszene
   ========================================================================== */
body.home {
  background-color: var(--bg);
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% 40vw, 100% auto;
  background-image:
    linear-gradient(to bottom, rgba(2, 15, 6, 0.45) 0%, rgba(2, 15, 6, 0.55) 35%, rgba(2, 15, 6, 0.88) 75%, var(--bg) 100%),
    url(assets/img/hero-bg-1600.jpg);
  background-image:
    linear-gradient(to bottom, rgba(2, 15, 6, 0.45) 0%, rgba(2, 15, 6, 0.55) 35%, rgba(2, 15, 6, 0.88) 75%, var(--bg) 100%),
    image-set(url(assets/img/hero-bg-1600.webp) type("image/webp"), url(assets/img/hero-bg-1600.jpg) type("image/jpeg"));
}
.hero { padding: 40px 0 64px; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.hero h1 { font-size: clamp(2rem, 4.4vw, 3.25rem); max-width: 15ch; text-shadow: 2px 2px 3px #040404, 0 0 24px rgba(2, 15, 6, 0.9); }
.hero__lead { font-size: 1.25rem; line-height: 1.5; margin: 24px 0 28px; max-width: 34em; color: var(--heading); text-shadow: var(--shadow-text), 0 0 16px rgba(2, 15, 6, 0.9); }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.facts { font-family: var(--sans); font-size: 15px; color: var(--text-muted); display: grid; grid-template-columns: repeat(2, auto); gap: 10px 32px; width: max-content; max-width: 100%; margin: 0; padding: 0; list-style: none; text-shadow: var(--shadow-text); }
.facts b, .facts strong { color: var(--heading); font-weight: 600; }

.scene {
  background: rgba(26, 20, 16, 0.94); border: 1px solid var(--line); border-radius: 6px;
  padding: 26px 28px 22px; position: relative; box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
}
.scene::before { content: ""; position: absolute; inset: 7px; border: 1px solid rgba(204, 169, 53, 0.28); border-radius: 3px; pointer-events: none; }
.scene__meta { font-family: var(--sans); font-size: 14px; color: var(--text-muted); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; letter-spacing: 0.02em; }
.scene__meta span:last-child { color: var(--gold); font-weight: 600; text-transform: uppercase; font-size: 12px; letter-spacing: 0.12em; padding-top: 2px; }
.scene__text { font-size: 1.02rem; line-height: 1.6; }
.scene__text p:last-child { margin-bottom: 0; }
.scene__choices { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.scene__choices button {
  width: 100%; min-height: 44px; text-align: left; font-family: var(--serif); font-size: 1rem; line-height: 1.4;
  color: var(--text); background: rgba(2, 15, 6, 0.35); border: 1px solid var(--line); border-radius: 4px;
  padding: 10px 14px 10px 40px; position: relative; cursor: pointer; transition: border-color 0.15s, background-color 0.15s;
}
.scene__choices button::before { content: "›"; position: absolute; left: 16px; top: 50%; transform: translateY(-56%); color: var(--gold); font-size: 22px; line-height: 1; }
.scene__choices button:hover { border-color: var(--gold); background: rgba(204, 169, 53, 0.08); }
.scene__outcome { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); outline: none; }
.scene__roll { font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.scene__next { display: flex; gap: 12px 20px; align-items: center; flex-wrap: wrap; margin-top: 16px; font-family: var(--sans); font-size: 15px; }
.scene__hint { font-family: var(--sans); font-size: 13.5px; color: var(--text-muted); margin: 12px 0 0; text-align: right; }

/* ==========================================================================
   6. Startseite: Abschnitte
   ========================================================================== */
.section { padding: 64px 0; border-top: 1px solid var(--line); }
.section__title { font-size: clamp(1.6rem, 3.2vw, 2.25rem); margin-bottom: 12px; }
.section__intro { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 36px; max-width: 62ch; }
.section__more { font-family: var(--sans); font-size: 15px; font-weight: 600; white-space: nowrap; }

.who { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.who h3 { font-size: 1.3rem; margin-bottom: 8px; }
.who p { font-size: 1rem; color: var(--text-muted); margin: 0; }
.who__not { grid-column: 1 / -1; margin-top: 8px; font-size: 0.98rem; color: var(--text-muted); border-left: 2px solid var(--red); padding-left: 16px; max-width: 70ch; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: s; }
.steps li { counter-increment: s; padding-top: 14px; border-top: 2px solid var(--gold); }
.steps li::before { content: counter(s) "."; font-family: var(--sans); font-weight: 600; color: var(--gold); font-size: 17px; display: block; margin-bottom: 6px; }
.steps h3 { font-size: 1.3rem; margin-bottom: 6px; }
.steps p { font-size: 1rem; color: var(--text-muted); margin: 0; }

.worldmap { position: relative; z-index: 0; aspect-ratio: 16 / 10; background: var(--panel-2); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.worldmap [hidden] { display: none !important; }
.worldmap__poster { position: absolute; inset: 0; margin: 0; }
.worldmap__poster img { display: block; width: 100%; height: 100%; object-fit: contain; }
.worldmap__start { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: linear-gradient(to bottom, rgba(2, 15, 6, 0.1), rgba(2, 15, 6, 0.45)); cursor: pointer; }
html:not(.js) .worldmap__start { display: none; }
.worldmap__map { position: absolute; inset: 0; background: var(--panel-2); outline: none; }
.worldmap__map:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: -2px; }
.worldmap .leaflet-container { font-family: var(--sans); background: var(--panel-2); }
.worldmap .leaflet-bar { border: 1px solid var(--line-strong); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5); }
.worldmap .leaflet-bar a, .worldmap__fs button, .worldmap__layers button { background: var(--panel); color: var(--heading); border-bottom-color: var(--line); }
.worldmap .leaflet-bar a:hover, .worldmap .leaflet-bar a:focus, .worldmap__fs button:hover, .worldmap__fs button:focus-visible, .worldmap__layers button:hover, .worldmap__layers button:focus-visible { background: var(--panel-2); color: var(--gold-hi); }
.worldmap .leaflet-bar a.leaflet-disabled { background: var(--panel); color: var(--line-strong); }
.worldmap__fs button { display: block; font: 600 12px/1 var(--sans); letter-spacing: 0.04em; padding: 9px 10px; border: 0; cursor: pointer; white-space: nowrap; }
.worldmap__layers button { display: block; width: 100%; font: 600 12px/1 var(--sans); letter-spacing: 0.04em; padding: 9px 10px; border: 0; border-bottom: 1px solid var(--line); cursor: pointer; white-space: nowrap; text-align: left; }
.worldmap__layers button:last-child { border-bottom: 0; }
.worldmap__layers button[aria-pressed="true"] { background: var(--gold); color: #1a1410; }
.worldmap__layers button[aria-pressed="true"]:hover { background: var(--gold-hi); color: #1a1410; }
.worldmap__layers button[disabled] { opacity: 0.6; cursor: wait; }
/* Staatsschilder und Geografie-Namen: Schrift und Farben wie im Spiel (css/antamar_leaflet.css), die
   Canvas-Messung in map.js rechnet mit derselben Schrift und Sperrung. */
.worldmap .antamar-grenze-label { background: transparent; border: 0; white-space: nowrap; }
.worldmap .antamar-grenze-label span { display: inline-block; transform: translate(-50%, -50%); font: bold 12px Georgia, "Times New Roman", serif; letter-spacing: 0.06em; color: #2b1a0a; text-shadow: -1px -1px 0 #fff8e7, 1px -1px 0 #fff8e7, -1px 1px 0 #fff8e7, 1px 1px 0 #fff8e7, 0 0 3px #fff8e7; pointer-events: none; }
.worldmap .antamar-grenze-label-sammel span { letter-spacing: 0.2em; color: #4a3520; }
.worldmap .antamar-grenze-label-unfertig span { color: #3f3b35; font-style: italic; }
.worldmap .antamar-geo text { paint-order: stroke; stroke-linejoin: round; stroke-linecap: round; stroke-opacity: 0.9; pointer-events: none; user-select: none; -webkit-user-select: none; }
.worldmap--full { position: fixed; inset: 0; z-index: 100; aspect-ratio: auto; border: 0; border-radius: 0; }
html.worldmap-open { overflow: hidden; }
.worldmap__error { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 10px 14px; background: rgba(26, 20, 16, 0.94); color: var(--red-text); font-family: var(--sans); font-size: 14px; border-top: 1px solid var(--line); }
.worldmap__caption { font-family: var(--sans); font-size: 14px; color: var(--text-muted); margin: 12px 0 0; }

.news { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 48px; align-items: start; }
.pulse { font-size: 1.2rem; color: var(--heading); }
.pulse strong { display: block; font-size: 2.6rem; font-weight: 700; line-height: 1; color: var(--gold); margin-bottom: 6px; }
.pulse small { display: block; font-family: var(--sans); font-size: 15px; color: var(--text-muted); margin-top: 14px; line-height: 1.55; }
.news__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.news__list li { padding: 14px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 110px 1fr; gap: 16px; font-size: 1rem; }
.news__list time { font-family: var(--sans); font-size: 14px; color: var(--text-muted); padding-top: 4px; white-space: nowrap; }
.news__list a { color: var(--heading); text-decoration: none; }
.news__list a:hover { color: var(--gold-hi); text-decoration: underline; }
.news__more { font-family: var(--sans); font-size: 15px; font-weight: 600; margin-top: 16px; display: inline-block; }

.final { text-align: center; padding: 80px 0; }
.final .section__title { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 14px; }
.final p { margin: 0 auto 28px; color: var(--text-muted); max-width: 40em; }

/* ==========================================================================
   6b. Landing-Pages (inc/landing/*.php)
   ========================================================================== */
body.landing {
  background-color: var(--bg);
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% 26vw;
  background-image:
    linear-gradient(to bottom, rgba(2, 15, 6, 0.6) 0%, rgba(2, 15, 6, 0.8) 45%, var(--bg) 100%),
    url(assets/img/hero-bg-1600.jpg);
  background-image:
    linear-gradient(to bottom, rgba(2, 15, 6, 0.6) 0%, rgba(2, 15, 6, 0.8) 45%, var(--bg) 100%),
    image-set(url(assets/img/hero-bg-1600.webp) type("image/webp"), url(assets/img/hero-bg-1600.jpg) type("image/jpeg"));
}
.page-hero { padding: 28px 0 40px; }
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); max-width: 24ch; text-shadow: 2px 2px 3px #040404, 0 0 24px rgba(2, 15, 6, 0.9); }
.page-hero__lead { font-size: 1.2rem; line-height: 1.5; margin: 20px 0 26px; max-width: 38em; color: var(--heading); text-shadow: var(--shadow-text), 0 0 16px rgba(2, 15, 6, 0.9); }
.page-hero__lead a { color: var(--gold-hi); }
.page-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.breadcrumbs { font-family: var(--sans); font-size: 14px; color: var(--text-muted); margin-bottom: 18px; text-shadow: var(--shadow-text); }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; }
.breadcrumbs li + li::before { content: "›"; margin-right: 8px; color: var(--gold); }
.breadcrumbs a { color: var(--text-muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--heading); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--heading); }

.prose { max-width: var(--w-text); font-size: 1.05rem; }
.prose p { margin: 0 0 1em; }
.prose p:last-child { margin-bottom: 0; }
.prose ul { margin: 0 0 1.2em; padding-left: 1.3em; list-style: disc; }
.prose li { margin-bottom: 0.4em; }
.prose q { font-style: italic; }
.callout { margin: 1.4em 0 0; font-size: 0.98rem; color: var(--text-muted); border-left: 2px solid var(--red); padding-left: 16px; max-width: 70ch; }
.who h3 a { color: var(--heading); text-decoration: none; }
.who h3 a:hover { color: var(--gold-hi); text-decoration: underline; }

.compare { overflow-x: auto; border: 1px solid var(--line); border-radius: 4px; background: rgba(26, 20, 16, 0.5); }
.compare table { border-collapse: collapse; width: 100%; min-width: 620px; font-size: 0.98rem; }
.compare th, .compare td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare thead th { font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); background: rgba(2, 15, 6, 0.5); }
.compare tbody th { font-family: var(--sans); font-size: 14px; font-weight: 600; color: var(--text-muted); width: 24%; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare th:nth-child(2), .compare td:nth-child(2) { background: rgba(204, 169, 53, 0.08); color: var(--heading); }
.compare__note { font-family: var(--sans); font-size: 14px; color: var(--text-muted); margin: 12px 0 0; max-width: 70ch; }

.reading { position: relative; background: var(--panel); border: 1px solid var(--line-strong); border-radius: 4px; padding: 26px 28px 20px; max-width: 820px; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45); }
.reading::before { content: ""; position: absolute; inset: 7px; border: 1px solid rgba(204, 169, 53, 0.28); border-radius: 3px; pointer-events: none; }
.reading__meta { font-family: var(--sans); font-size: 14px; color: var(--text-muted); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; letter-spacing: 0.02em; }
.reading__meta span:last-child { color: var(--gold); font-weight: 600; text-transform: uppercase; font-size: 12px; letter-spacing: 0.12em; padding-top: 2px; }
.reading__title { font-size: 1.35rem; margin-bottom: 14px; }
.reading__body { font-size: 1.02rem; line-height: 1.6; }
.reading__body p { margin: 0 0 0.9em; }
.reading__probe { font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); margin: 14px 0 8px; }
.reading__branch { border-left: 2px solid var(--line-strong); padding: 4px 0 2px 16px; margin: 0 0 12px; }
.reading__branch--success { border-left-color: var(--gold); }
.reading__branch--failure { border-left-color: var(--red); }
.reading__label { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 6px; }
.reading__branch--success > .reading__label { color: var(--gold-hi); }
.reading__branch--failure > .reading__label { color: var(--red-text); }
.reading__source { font-family: var(--sans); font-size: 13.5px; color: var(--text-muted); margin: 12px 0 0; padding-top: 12px; border-top: 1px solid var(--line); }
.reading__note { font-family: var(--sans); font-size: 14px; color: var(--text-muted); margin: 14px 0 0; max-width: 70ch; }

.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; font-family: var(--serif); font-size: 1.15rem; font-weight: 700; color: var(--heading); padding: 16px 40px 16px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); color: var(--gold); font-size: 1.6rem; font-weight: 400; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq summary:hover { color: var(--gold-hi); }
.faq__answer { padding: 0 0 18px; color: var(--text-muted); font-size: 1.02rem; max-width: 70ch; }
.faq__answer p { margin: 0 0 0.8em; }
.faq__answer p:last-child { margin-bottom: 0; }

.related { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.related a { display: block; height: 100%; padding: 18px 20px; border: 1px solid var(--line); border-radius: 4px; background: rgba(26, 20, 16, 0.5); color: var(--text-muted); text-decoration: none; transition: border-color 0.15s; }
.related a:hover { border-color: var(--gold); }
.related strong { display: block; font-family: var(--serif); font-size: 1.15rem; color: var(--heading); margin-bottom: 6px; }
.related a:hover strong { color: var(--gold-hi); }
.related span { font-size: 0.95rem; }

/* ==========================================================================
   7. Fußzeile
   ========================================================================== */
.site-footer { border-top: 1px solid var(--line); font-family: var(--sans); font-size: 15px; color: var(--text-muted); }
.site-footer__inner { display: flex; gap: 20px 40px; flex-wrap: wrap; justify-content: space-between; padding-top: 28px; padding-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer__nav { display: flex; flex-wrap: wrap; gap: 20px 56px; }
.site-footer__group h2 { font: 600 12px/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin: 0 0 10px; }
.site-footer__group ul { flex-direction: column; gap: 6px; }
.site-footer a { color: var(--text-muted); text-decoration: none; }
.site-footer a:hover { color: var(--heading); text-decoration: underline; }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: baseline; }
.site-footer__ground { height: clamp(130px, 8.3vw, 230px); background: var(--bg) url(assets/img/footer-wiese-1800.jpg) center bottom / 100% auto no-repeat; margin-top: 8px; }
.site-footer__ground { background-image: image-set(url(assets/img/footer-wiese-1800.webp) type("image/webp"), url(assets/img/footer-wiese-1800.jpg) type("image/jpeg")); }

/* ==========================================================================
   8. Blog: Listen, Beiträge, Seiten
   ========================================================================== */
.page-header { padding: 48px 0 8px; }
.page-header h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.page-header__lead { color: var(--text-muted); font-size: 1.1rem; margin: 10px 0 0; max-width: 62ch; }
.content { padding: 24px 0 72px; }
.entry { padding: 28px 0; border-top: 1px solid var(--line); }
.entry-list .entry:first-child { border-top: 0; padding-top: 8px; }
.entry__title { font-size: 1.45rem; margin-bottom: 6px; line-height: 1.25; }
.entry__title a { color: var(--heading); text-decoration: none; }
.entry__title a:hover { color: var(--gold-hi); }
.entry__meta { font-family: var(--sans); font-size: 14px; color: var(--text-muted); margin-bottom: 12px; display: flex; gap: 6px 14px; flex-wrap: wrap; }
.entry__cats::before { content: "·"; margin-right: 12px; }
.entry__thumb { display: block; margin: 0 0 14px; }
.entry__thumb img { border: 1px solid var(--line); }
.entry__excerpt p { margin-bottom: 0.6em; }
.entry__more { font-family: var(--sans); font-size: 15px; font-weight: 600; display: inline-block; margin-top: 4px; }
.entry--single { border-top: 0; padding-top: 40px; }
.entry--single .entry__title { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 12px; }
.entry--single .entry__meta { margin-bottom: 28px; }
.entry--page { border-top: 0; padding-top: 40px; }
.entry--page .entry__title { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 24px; }

/* Inhalte aus dem Editor (Gutenberg und Altbeiträge) auf dunklem Grund */
.entry-content { font-size: 1.05rem; }
.entry-content::after { content: ""; display: table; clear: both; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2, .entry-content h3, .entry-content h4 { margin: 1.5em 0 0.5em; }
.entry-content h2 { font-size: 1.5rem; padding-bottom: 0.25em; border-bottom: 1px solid var(--line); }
.entry-content h3 { font-size: 1.25rem; }
.entry-content h4 { font-size: 1.1rem; }
.entry-content ul, .entry-content ol { margin: 0 0 1.2em; padding-left: 1.4em; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li { margin-bottom: 0.35em; }
.entry-content li > ul, .entry-content li > ol { margin-top: 0.35em; margin-bottom: 0; }
.entry-content img { max-width: 100%; height: auto; }
.entry-content figure { margin: 1.5em 0; }
.entry-content figcaption, .entry-content .wp-caption-text, .entry-content .gallery-caption { font-family: var(--sans); font-size: 14px; color: var(--text-muted); margin-top: 0.5em; text-align: center; }
.entry-content .wp-caption { max-width: 100%; }
.entry-content .alignleft, .entry-content img[align="left"] { float: left; margin: 0.3em 1.5em 1em 0; max-width: 50%; }
.entry-content .alignright, .entry-content img[align="right"] { float: right; margin: 0.3em 0 1em 1.5em; max-width: 50%; }
.entry-content .aligncenter, .entry-content img.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.entry-content .alignwide, .entry-content .alignfull { max-width: 100%; }
.entry-content blockquote, .entry-content .wp-block-quote { margin: 1.5em 0; padding: 0.2em 0 0.2em 1.2em; border-left: 3px solid var(--gold); font-style: italic; color: var(--text-muted); }
.entry-content blockquote cite { font-style: normal; font-family: var(--sans); font-size: 14px; }
.entry-content hr, .entry-content .wp-block-separator { border: 0; border-top: 1px solid var(--line); width: 40%; margin: 2em auto; background: none; }
.entry-content pre, .entry-content code { background: var(--panel); border: 1px solid var(--line); border-radius: 4px; }
.entry-content pre { padding: 1em; overflow-x: auto; font-size: 0.9rem; line-height: 1.5; }
.entry-content code { padding: 0.1em 0.35em; font-size: 0.9em; }
.entry-content pre code { border: 0; padding: 0; background: none; }
.entry-content table { border-collapse: collapse; width: 100%; display: block; overflow-x: auto; margin: 1.5em 0; font-size: 0.95rem; }
.entry-content table, .entry-content thead, .entry-content tbody, .entry-content tfoot, .entry-content tr { background: transparent !important; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 0.45em 0.65em; background: transparent !important; color: inherit; text-align: left; vertical-align: top; }
.entry-content th { color: var(--heading); font-family: var(--sans); font-size: 14px; font-weight: 600; }
.entry-content .wp-block-table table { display: table; }
.entry-content .wp-block-table { overflow-x: auto; }
.entry-content .gallery { display: grid; gap: 12px; grid-template-columns: repeat(3, 1fr); margin: 1.5em 0; }
.entry-content .gallery-columns-1 { grid-template-columns: 1fr; }
.entry-content .gallery-columns-2 { grid-template-columns: repeat(2, 1fr); }
.entry-content .gallery-columns-4 { grid-template-columns: repeat(4, 1fr); }
.entry-content .gallery-columns-5 { grid-template-columns: repeat(5, 1fr); }
.entry-content .gallery-columns-6 { grid-template-columns: repeat(6, 1fr); }
.entry-content .gallery-item { margin: 0; }
.entry-content .gallery-item img { width: 100%; height: auto; border: 1px solid var(--line); }
.entry-content .wp-block-gallery img, .entry-content .wp-block-image img { border: 1px solid rgba(90, 77, 38, 0.6); }
.entry-content .wp-block-embed, .entry-content .wp-block-video, .entry-content .wp-block-audio { margin: 1.5em 0; }
.entry-content iframe { max-width: 100%; }
.entry-content .wp-block-buttons .wp-block-button__link {
  font-family: var(--serif); font-variant: small-caps; font-weight: 700; background: var(--btn-bg); color: var(--heading);
  border: 1px solid var(--gold); border-radius: 0.2em; text-decoration: none; text-shadow: var(--shadow-text);
}
.entry-content font[color="#000000"], .entry-content font[color="black"], .entry-content font[color="#000"] { color: inherit; }
.entry-content .has-background { padding: 1em 1.2em; }
.page-links { font-family: var(--sans); font-size: 15px; margin-top: 1.5em; }
.page-links a { margin: 0 0.2em; }

/* Seitennummerierung und Beitragsnavigation */
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; font-family: var(--sans); font-size: 15px; margin-top: 36px; }
.pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: 4px; color: var(--text-muted); text-decoration: none;
}
.pagination .page-numbers.current { color: var(--heading); border-color: var(--gold); }
.pagination a.page-numbers:hover { border-color: var(--gold-hi); color: var(--heading); }
.pagination .page-numbers.dots { border-color: transparent; }
.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); font-family: var(--sans); font-size: 15px; }
.post-navigation .nav-next { text-align: right; }
.post-navigation a { color: var(--text-muted); text-decoration: none; display: block; }
.post-navigation a:hover .nav-title { color: var(--gold-hi); }
.post-navigation .nav-label { display: block; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.post-navigation .nav-title { font-family: var(--serif); font-size: 1.05rem; color: var(--heading); }

/* Suche und 404 */
.search-form { display: flex; gap: 10px; max-width: 520px; margin: 0 0 1.5em; }
.search-form__input { flex: 1; min-width: 0; font: inherit; font-size: 1rem; padding: 10px 14px; background: var(--panel); color: var(--text); border: 1px solid var(--line); border-radius: 4px; }
.search-form__input::placeholder { color: var(--text-muted); opacity: 0.8; }
.search-form__input:focus { border-color: var(--gold); outline: none; }
.link-list { list-style: none; padding: 0; margin: 1.5em 0 0; display: grid; gap: 8px; font-family: var(--sans); font-size: 16px; }
.none { padding-top: 16px; }

/* ==========================================================================
   9. Bewegung, Responsiv
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .btn:hover, .btn--primary:hover { transform: none; }
}

@media (max-width: 860px) {
  :root { --header-h: 72px; }
  .brand img { height: 52px; }
  .site-header__inner { gap: 12px; }
  .site-header__cta { margin-left: auto; }
  html.js .nav-toggle { display: inline-flex; }
  html.js .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; margin: 0; background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 16px; box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5); }
  html.js body.nav-open .site-nav { display: block; }
  html:not(.js) .site-nav { width: 100%; order: 10; margin: 0; }
  .site-nav__list { flex-direction: column; gap: 0; }
  .site-nav__list a { display: block; padding: 12px 0; font-size: 17px; border-bottom: 1px solid var(--line); text-shadow: none; }
  .site-nav__list li:last-child a { border-bottom: 0; }
  body.home {
    background-size: 100% 360px, auto 360px;
    background-image:
      linear-gradient(to bottom, rgba(2, 15, 6, 0.5) 0%, rgba(2, 15, 6, 0.6) 35%, rgba(2, 15, 6, 0.9) 75%, var(--bg) 100%),
      url(assets/img/hero-bg-900.jpg);
    background-image:
      linear-gradient(to bottom, rgba(2, 15, 6, 0.5) 0%, rgba(2, 15, 6, 0.6) 35%, rgba(2, 15, 6, 0.9) 75%, var(--bg) 100%),
      image-set(url(assets/img/hero-bg-900.webp) type("image/webp"), url(assets/img/hero-bg-900.jpg) type("image/jpeg"));
  }
  .hero { padding: 24px 0 48px; }
  .hero__grid, .who, .steps, .news { grid-template-columns: 1fr; }
  .related { grid-template-columns: 1fr; }
  .page-hero { padding: 16px 0 32px; }
  .page-hero h1 { max-width: none; }
  body.landing { background-size: 100% 260px; }
  .reading { padding: 22px 20px 16px; }
  .site-footer__nav { gap: 16px 40px; }
  .hero__grid { gap: 36px; }
  .hero h1 { max-width: none; }
  .facts { grid-template-columns: 1fr; width: auto; }
  .scene { padding: 22px 20px 18px; }
  .section { padding: 48px 0; }
  .worldmap { aspect-ratio: 1 / 1; }
  .news__list li { grid-template-columns: 1fr; gap: 2px; }
  .final { padding: 56px 0; }
  .post-navigation .nav-links { grid-template-columns: 1fr; }
  .post-navigation .nav-next { text-align: left; }
  .site-footer__ground { height: 96px; background-image: url(assets/img/footer-wiese-1000.jpg); background-size: cover; }
  .site-footer__ground { background-image: image-set(url(assets/img/footer-wiese-1000.webp) type("image/webp"), url(assets/img/footer-wiese-1000.jpg) type("image/jpeg")); }
}

@media (max-width: 600px) {
  body { font-size: 17px; }
  .hero__actions .btn { flex: 1 1 auto; }
  .page-hero__actions .btn { flex: 1 1 auto; }
  .entry-content .alignleft, .entry-content .alignright, .entry-content img[align="left"], .entry-content img[align="right"] { float: none; display: block; margin: 1em 0; max-width: 100%; }
  .entry-content .gallery, .entry-content .gallery-columns-4, .entry-content .gallery-columns-5, .entry-content .gallery-columns-6 { grid-template-columns: repeat(2, 1fr); }
  .search-form { flex-direction: column; }
}

@media (min-width: 1800px) {
  body.home { background-size: 100% 720px, 100% auto; }
}
