/*
 * Magazin-Oberfläche (Blog)
 *
 * Wird ausschließlich außerhalb des Quiz-Funnels geladen (siehe
 * fhq_is_funnel_page() in functions.php). Die Gestaltung übernimmt die
 * Designsprache des Funnels: Lato, Tinte #1a1c1d, Grau #6b7280, weiche Radien.
 * Als Highlight-Farbe dient das Salbeigrün #69805f (siehe --fhq-highlight).
 *
 * Aufbau:
 *   1. Tokens & Grundlagen
 *   2. Kopfzeile (Logo, Navigation, Suche)
 *   3. Sektionen & Überschriften
 *   4. Karten-Raster
 *   5. Blätter-Navigation
 *   6. Artikel (Kopf, Bild, Lesetypografie)
 *   7. Call-to-Action, Schlagworte, Beitrags-Navigation
 *   8. Suche & Leerzustand
 *   9. Footer
 */

/* -------------------------------------------------------------------------
 * 1. Tokens & Grundlagen
 * ---------------------------------------------------------------------- */

:root {
    --fhq-ink: #1a1c1d;
    --fhq-muted: #6b7280;
    --fhq-line: #e5e7eb;
    --fhq-tint: #f6f4f2;
    --fhq-tint-strong: #f3f4f6;

    /*
     * Highlight-Farbe des Magazins.
     *
     * --fhq-highlight        Linien, Rahmen, Unterstreichungen und gefüllte
     *                        Flächen mit weißer Schrift.
     * --fhq-highlight-soft   Flächen, die HINTER dunklem Text liegen (z. B. der
     *                        Balken im hervorgehobenen Überschriftenwort). Der
     *                        Vollton ist dafür zu dunkel – dunkler Text darauf
     *                        wäre nur noch schwer zu lesen.
     * --fhq-highlight-strong Hover-Zustand gefüllter Flächen.
     *
     * Der gelbe --fhq-accent aus style.css bleibt bewusst unangetastet: Er
     * gehört zum Quiz-Funnel (Fortschrittsbalken, Makro-Boxen).
     */
    --fhq-highlight: #69805f;
    --fhq-highlight-soft: rgba(105, 128, 95, 0.35);
    --fhq-highlight-strong: #55684c;
    --fhq-wrap: 1200px;
    --fhq-wrap-narrow: 760px;
    --fhq-gutter: 20px;
}

/*
 * Inhaltsbreiten. .fhq-wrap ist das Magazin-Raster, .fhq-wrap--narrow die
 * Lesebreite für Artikel (entspricht $content_width in functions.php).
 */
.fhq-wrap {
    width: min(100% - 2 * var(--fhq-gutter), var(--fhq-wrap));
    margin-inline: auto;
}

.fhq-wrap--narrow {
    width: min(100% - 2 * var(--fhq-gutter), var(--fhq-wrap-narrow));
}

body.fhq-blog {
    color: var(--fhq-ink);
}

/*
 * Bewusst NUR max-width: Ein globales height:auto hätte höhere Spezifität als
 * .fhq-thumb img (height:100%) und würde die Bildzuschnitte im Karten-Raster
 * aushebeln. Die Höhe setzt jeder Kontext selbst.
 */
body.fhq-blog img {
    max-width: 100%;
}

body.fhq-blog :focus-visible {
    outline: 2px solid var(--fhq-ink);
    outline-offset: 2px;
}

/* Nur für Screenreader (WordPress-Konvention). */
.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.fhq-skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    z-index: 1000;
    padding: 10px 16px;
    background: var(--fhq-ink);
    border-radius: 6px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.fhq-skip-link:focus {
    top: 16px;
}

/* -------------------------------------------------------------------------
 * 2. Kopfzeile
 *
 * Desktop: Logo links, Navigation daneben, Suche rechts.
 * Mobil:   Menü-Button links, Logo mittig, Suche rechts – Navigation und
 *          Suchfeld klappen als Panel darunter auf.
 *
 * Doppelte Klasse (.site-header.fhq-header), damit die Basisregeln aus
 * style.css und fremdes CSS der Live-Installation nicht dazwischenkommen.
 * ---------------------------------------------------------------------- */

.site-header.fhq-header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: block;
    padding: 0;
    background: #fff;
    border-bottom: 1px solid var(--fhq-line);
}

.fhq-header__inner {
    display: flex;
    align-items: center;
    gap: 12px;
    width: min(100% - 2 * var(--fhq-gutter), var(--fhq-wrap));
    min-height: 64px;
    margin-inline: auto;
}

.fhq-header .site-logo {
    display: inline-flex;
    flex-shrink: 0;
}

.fhq-header .site-logo img {
    display: block;
    width: 128px;
    height: auto;
}

/* Runde Icon-Buttons (Menü, Suche) */
.fhq-header__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--fhq-ink);
    cursor: pointer;
}

.fhq-header__button:hover {
    background: var(--fhq-tint-strong);
}

.fhq-header__button--search {
    margin-left: auto;
}

/* Hamburger-Icon */
.fhq-burger,
.fhq-burger::before,
.fhq-burger::after {
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.fhq-burger {
    position: relative;
}

.fhq-burger::before,
.fhq-burger::after {
    content: "";
    position: absolute;
    left: 0;
}

.fhq-burger::before {
    top: -6px;
}

.fhq-burger::after {
    top: 6px;
}

[aria-expanded="true"] .fhq-burger {
    background: transparent;
}

[aria-expanded="true"] .fhq-burger::before {
    top: 0;
    transform: rotate(45deg);
}

[aria-expanded="true"] .fhq-burger::after {
    top: 0;
    transform: rotate(-45deg);
}

/*
 * Aufklapp-Panels.
 *
 * visibility:hidden nimmt die Links im geschlossenen Zustand aus der
 * Tab-Reihenfolge – deshalb bewusst kein display:none/[hidden], damit die
 * Höhe animiert werden kann.
 */
.fhq-header__panel {
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    border-top: 1px solid transparent;
    background: #fff;
    transition: max-height 0.3s ease, visibility 0.3s ease;
}

.fhq-header__panel.is-open {
    max-height: 70vh;
    overflow-y: auto;
    visibility: visible;
    border-top-color: var(--fhq-line);
}

.fhq-header__panel-inner {
    width: min(100% - 2 * var(--fhq-gutter), var(--fhq-wrap));
    margin-inline: auto;
    padding-block: 16px;
}

/* Navigation */
.fhq-nav__list {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.fhq-nav__list a {
    color: inherit;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}

.fhq-nav__list a:hover {
    color: var(--fhq-muted);
}

/*
 * Aktiver Menüpunkt: gelber Balken unter dem Text. Als background-image statt
 * inset-box-shadow, weil die Links inline sind und Verläufe dort zuverlässiger
 * gerendert werden.
 */
.fhq-nav--desktop .fhq-nav__list > .current-menu-item > a,
.fhq-nav--desktop .fhq-nav__list > .current-menu-parent > a,
.fhq-nav--desktop .fhq-nav__list > .current-cat > a {
    background-image: linear-gradient(
        to top,
        var(--fhq-highlight) 0,
        var(--fhq-highlight) 6px,
        transparent 6px
    );
}

/* Zweite Ebene: Desktop als Dropdown */
.fhq-nav--desktop .menu-item-has-children {
    position: relative;
}

.fhq-nav--desktop .sub-menu {
    position: absolute;
    top: 100%;
    left: -12px;
    z-index: 10;
    display: none;
    min-width: 200px;
    margin: 0;
    padding: 8px 0;
    background: #fff;
    border: 1px solid var(--fhq-line);
    border-radius: 10px;
    box-shadow: 0 12px 28px rgba(26, 28, 29, 0.1);
    list-style: none;
}

.fhq-nav--desktop .menu-item-has-children:hover > .sub-menu,
.fhq-nav--desktop .menu-item-has-children:focus-within > .sub-menu {
    display: block;
}

.fhq-nav--desktop .sub-menu a {
    display: block;
    padding: 8px 16px;
    font-weight: 400;
}

/* Mobile Navigation: gestapelte Liste */
.fhq-nav--mobile .fhq-nav__list {
    flex-direction: column;
    gap: 0;
}

.fhq-nav--mobile .fhq-nav__list li {
    border-bottom: 1px solid var(--fhq-line);
}

.fhq-nav--mobile .fhq-nav__list li:last-child {
    border-bottom: 0;
}

.fhq-nav--mobile .fhq-nav__list a {
    display: block;
    padding: 14px 0;
    font-size: 17px;
}

.fhq-nav--mobile .sub-menu {
    margin: 0 0 8px;
    padding-left: 16px;
    list-style: none;
}

.fhq-nav--mobile .sub-menu a {
    font-size: 15px;
    font-weight: 400;
}

/* Umschaltpunkt zwischen mobiler und Desktop-Kopfzeile */
@media (max-width: 899px) {
    .fhq-nav--desktop {
        display: none;
    }

    /*
     * Logo mittig zwischen den beiden gleich breiten Icon-Buttons. Das
     * margin-left:auto der Suche muss dafür zurückgenommen werden – sonst
     * teilen sich zwei auto-Margins den Freiraum und das Logo rutscht nach
     * links.
     */
    .fhq-header .site-logo {
        margin-inline: auto;
    }

    .fhq-header__button--search {
        margin-left: 0;
    }
}

@media (min-width: 900px) {
    .fhq-header__button--menu,
    .fhq-header__panel--menu {
        display: none;
    }

    .fhq-nav--desktop {
        margin-left: 12px;
    }

    .fhq-header__inner {
        min-height: 72px;
        gap: 20px;
    }
}

/* -------------------------------------------------------------------------
 * 3. Sektionen & Überschriften
 * ---------------------------------------------------------------------- */

.fhq-section {
    padding-block: 48px;
}

.fhq-section--first {
    padding-top: 36px;
}

.fhq-section--tinted {
    background: var(--fhq-tint);
    border-top: 1px solid var(--fhq-line);
}

.fhq-section__head {
    margin-bottom: 28px;
}

.fhq-section__head--center {
    text-align: center;
}

.fhq-eyebrow {
    margin: 0 0 8px;
    color: var(--fhq-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1.4;
    text-transform: uppercase;
}

.fhq-section__title {
    margin: 0;
    font-size: clamp(26px, 4vw, 40px);
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

/*
 * Hervorgehobenes Wort in der Überschrift („Die NEUESTEN Themen") – Balken
 * hinter der unteren Texthälfte statt einer Unterstreichung. Bewusst der
 * aufgehellte Ton: Der Balken liegt hinter dunklem Text, der Vollton würde die
 * Buchstaben verschlucken.
 */
.fhq-section__title em {
    font-style: normal;
    background-image: linear-gradient(
        to top,
        var(--fhq-highlight-soft) 0,
        var(--fhq-highlight-soft) 32%,
        transparent 32%
    );
}

.fhq-section__lead {
    max-width: 640px;
    margin: 12px 0 0;
    color: var(--fhq-muted);
    font-size: 16px;
    line-height: 1.6;
}

.fhq-section__head--center .fhq-section__lead {
    margin-inline: auto;
}

.fhq-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
    color: var(--fhq-muted);
    font-size: 12px;
    line-height: 1.5;
}

.fhq-breadcrumbs a {
    color: inherit;
    text-decoration: none;
}

.fhq-breadcrumbs a:hover {
    color: var(--fhq-ink);
    text-decoration: underline;
}

/* -------------------------------------------------------------------------
 * 4. Karten-Raster
 * ---------------------------------------------------------------------- */

.fhq-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px 28px;
}

.fhq-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fhq-grid--compact {
    gap: 28px 28px;
}

@media (max-width: 1023px) {
    .fhq-grid,
    .fhq-grid--2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 639px) {
    .fhq-grid,
    .fhq-grid--2 {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }
}

/*
 * Karte.
 *
 * Klickfläche: .fhq-card__title a::after liegt über der ganzen Karte. Alles,
 * was trotzdem eigenständig anklickbar bleiben soll (Kategorie-Chips), wird
 * mit z-index darüber gelegt.
 */
.fhq-card {
    position: relative;
    display: flex;
    flex-direction: column;
    margin: 0;
}

.fhq-thumb {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 2;
    background: var(--fhq-tint-strong);
    border-radius: 12px;
}

.fhq-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.fhq-card:hover .fhq-thumb img {
    transform: scale(1.04);
}

/* Platzhalter, wenn ein Beitrag weder Beitragsbild noch Inline-Bild hat. */
.fhq-thumb__placeholder {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #f3f4f6 0%, #e6e3dd 100%);
    color: #c9c5bd;
    font-size: 52px;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
}

.fhq-card__body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 14px;
}

.fhq-card__title {
    margin: 0;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.35;
}

.fhq-card__title a {
    color: inherit;
    text-decoration: none;
}

.fhq-card__title a::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}

.fhq-card:hover .fhq-card__title {
    color: #000;
}

.fhq-card__excerpt {
    margin: 0;
    color: var(--fhq-muted);
    font-size: 14px;
    line-height: 1.65;
}

/*
 * align-self, damit der Hinweis nur so breit wird wie sein Text – als
 * Flex-Item würde er sonst über die ganze Kartenbreite laufen und die
 * Unterstreichung beim Hover mit ihm.
 */
.fhq-card__more {
    align-self: flex-start;
    margin-top: 2px;
    font-size: 13px;
    font-weight: 700;
}

.fhq-card__more::after {
    content: " \2192";
    display: inline-block;
    transition: transform 0.2s ease;
}

.fhq-card:hover .fhq-card__more {
    box-shadow: inset 0 -5px 0 var(--fhq-highlight);
}

.fhq-card:hover .fhq-card__more::after {
    transform: translateX(3px);
}

/* Kompakte Karte („Beliebteste Themen", „Ähnliche Beiträge") */
.fhq-card--compact .fhq-card__title {
    font-size: 16px;
}

.fhq-card--compact .fhq-thumb {
    border-radius: 10px;
}

/* Auf Mobil liest sich die kompakte Karte als Zeile besser. */
@media (max-width: 639px) {
    .fhq-grid--compact {
        gap: 20px;
    }

    .fhq-card--compact {
        display: grid;
        grid-template-columns: 104px minmax(0, 1fr);
        gap: 14px;
        align-items: center;
    }

    .fhq-card--compact .fhq-card__body {
        padding-top: 0;
    }
}

/* Kategorie-Chips */
.fhq-chips {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.fhq-chip {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    background: var(--fhq-tint-strong);
    border-radius: 999px;
    color: var(--fhq-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.4;
    text-decoration: none;
    text-transform: uppercase;
}

/* Aufgehellter Ton, weil der Chip-Text dunkel bleibt (11 px, nur 2 Wörter). */
.fhq-chip:hover {
    background: var(--fhq-highlight-soft);
    color: var(--fhq-ink);
}

.fhq-chip--muted {
    background: transparent;
    border: 1px solid var(--fhq-line);
    text-transform: none;
    letter-spacing: 0;
}

/* -------------------------------------------------------------------------
 * 5. Blätter-Navigation
 * ---------------------------------------------------------------------- */

.fhq-pagination {
    margin-top: 44px;
}

.fhq-pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: center;
}

.fhq-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 42px;
    padding: 0 12px;
    background: #fff;
    border: 1px solid var(--fhq-line);
    border-radius: 999px;
    color: var(--fhq-ink);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.fhq-pagination a.page-numbers:hover {
    border-color: var(--fhq-ink);
}

.fhq-pagination .page-numbers.current {
    background: var(--fhq-ink);
    border-color: var(--fhq-ink);
    color: #fff;
}

.fhq-pagination .page-numbers.dots {
    min-width: 24px;
    padding: 0;
    background: transparent;
    border: 0;
}

/* -------------------------------------------------------------------------
 * 6. Artikel
 * ---------------------------------------------------------------------- */

.fhq-single {
    padding-top: 28px;
    padding-bottom: 56px;
}

.fhq-single__head .fhq-chips {
    margin-bottom: 14px;
}

.fhq-single__title {
    margin: 0 0 14px;
    font-size: clamp(28px, 5vw, 44px);
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.fhq-single__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    color: var(--fhq-muted);
    font-size: 13px;
}

.fhq-single__hero {
    width: min(100% - 2 * var(--fhq-gutter), 1000px);
    margin: 28px auto 36px;
}

.fhq-single__hero img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
}

.fhq-single__hero figcaption {
    margin-top: 10px;
    color: var(--fhq-muted);
    font-size: 13px;
    text-align: center;
}

/*
 * Lesetypografie.
 *
 * Bewusst über Element-Selektoren, damit importierte Inhalte ohne eigene
 * Klassen (klassischer Editor, fremde Exporte) direkt greifen.
 */
.fhq-prose {
    font-size: 17px;
    line-height: 1.75;
}

.fhq-prose > *:first-child {
    margin-top: 0;
}

.fhq-prose p,
.fhq-prose ul,
.fhq-prose ol,
.fhq-prose figure,
.fhq-prose blockquote,
.fhq-prose table,
.fhq-prose .fhq-table-scroll {
    margin-block: 0 1.25em;
}

.fhq-prose h2,
.fhq-prose h3,
.fhq-prose h4 {
    margin: 1.8em 0 0.6em;
    font-weight: 900;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.fhq-prose h2 {
    font-size: clamp(22px, 3vw, 28px);
}

.fhq-prose h3 {
    font-size: 20px;
}

.fhq-prose h4 {
    font-size: 18px;
    font-weight: 700;
}

.fhq-prose a {
    color: var(--fhq-ink);
    text-decoration: underline;
    text-decoration-color: var(--fhq-highlight);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.fhq-prose a:hover {
    text-decoration-color: var(--fhq-ink);
}

.fhq-prose strong {
    font-weight: 700;
}

.fhq-prose ul,
.fhq-prose ol {
    padding-left: 1.35em;
}

.fhq-prose li + li {
    margin-top: 0.5em;
}

.fhq-prose blockquote {
    padding: 4px 0 4px 20px;
    margin-inline: 0;
    border-left: 4px solid var(--fhq-highlight);
    color: var(--fhq-ink);
    font-size: 19px;
    line-height: 1.6;
}

.fhq-prose blockquote p:last-child {
    margin-bottom: 0;
}

.fhq-prose img {
    height: auto;
    border-radius: 12px;
}

.fhq-prose figure {
    margin-inline: 0;
}

.fhq-prose figcaption,
.fhq-prose .wp-caption-text {
    margin-top: 8px;
    color: var(--fhq-muted);
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
}

.fhq-prose hr {
    height: 1px;
    margin: 2.5em 0;
    background: var(--fhq-line);
    border: 0;
}

/* Tabellen: Wrapper setzt blog.js, damit breite Tabellen scrollen können. */
.fhq-table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.fhq-prose table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

.fhq-prose th,
.fhq-prose td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--fhq-line);
    text-align: left;
}

.fhq-prose thead th {
    background: var(--fhq-tint);
    font-weight: 700;
}

/* Block-Editor-Ausrichtungen */
.fhq-prose .aligncenter {
    margin-inline: auto;
    text-align: center;
}

.fhq-prose .alignfull {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
}

.fhq-prose .alignfull img {
    border-radius: 0;
}

@media (min-width: 900px) {
    .fhq-prose .alignwide {
        width: calc(100% + 180px);
        max-width: none;
        margin-inline: -90px;
    }

    .fhq-prose .alignleft {
        float: left;
        margin: 0.4em 1.5em 1em 0;
        max-width: 45%;
    }

    .fhq-prose .alignright {
        float: right;
        margin: 0.4em 0 1em 1.5em;
        max-width: 45%;
    }
}

.fhq-link-pages {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
    font-weight: 700;
}

/* -------------------------------------------------------------------------
 * 7. Call-to-Action, Schlagworte, Beitrags-Navigation
 * ---------------------------------------------------------------------- */

.fhq-cta {
    margin-top: 40px;
    padding: 28px 24px;
    background: #f1f4ef;
    border: 1px solid #dae1d5;
    border-radius: 16px;
    text-align: center;
}

.fhq-cta__eyebrow {
    margin: 0 0 6px;
    color: var(--fhq-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.fhq-cta__title {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 900;
    line-height: 1.3;
}

.fhq-cta__text {
    margin: 0 auto 20px;
    max-width: 460px;
    color: #374151;
    font-size: 15px;
    line-height: 1.6;
}

/*
 * Gefüllte Fläche im Vollton – deshalb weiße Schrift. Die vorherige dunkle
 * Schrift stammt vom gelben Akzent und hätte auf dem Grün zu wenig Kontrast.
 */
.fhq-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 28px;
    background: var(--fhq-highlight);
    border-radius: 999px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
}

.fhq-button:hover {
    background: var(--fhq-highlight-strong);
}

.fhq-single__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-top: 32px;
}

.fhq-single__tags-label {
    color: var(--fhq-muted);
    font-size: 13px;
    font-weight: 700;
}

.fhq-post-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--fhq-line);
}

.fhq-post-nav__item {
    display: block;
}

.fhq-post-nav__item--next {
    grid-column: 2;
    text-align: right;
}

.fhq-post-nav__item a {
    display: block;
    color: inherit;
    text-decoration: none;
}

.fhq-post-nav__label {
    display: block;
    margin-bottom: 4px;
    color: var(--fhq-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.fhq-post-nav__title {
    display: block;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
}

.fhq-post-nav__item a:hover .fhq-post-nav__title {
    box-shadow: inset 0 -5px 0 var(--fhq-highlight);
}

@media (max-width: 639px) {
    .fhq-post-nav {
        grid-template-columns: minmax(0, 1fr);
    }

    .fhq-post-nav__item--next {
        grid-column: 1;
        text-align: left;
    }
}

/* -------------------------------------------------------------------------
 * 8. Suche & Leerzustand
 * ---------------------------------------------------------------------- */

.fhq-search {
    display: flex;
    gap: 8px;
}

.fhq-search__input {
    flex: 1;
    min-width: 0;
    min-height: 48px;
    padding: 0 16px;
    background: #fff;
    border: 1.5px solid var(--fhq-line);
    border-radius: 8px;
    color: inherit;
    font: inherit;
    font-size: 15px;
}

.fhq-search__input:focus {
    border-color: var(--fhq-ink);
    outline: none;
}

.fhq-search__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-width: 52px;
    min-height: 48px;
    padding: 0 16px;
    background: var(--fhq-ink);
    border: 0;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
}

.fhq-search__submit:hover {
    background: #000;
}

.fhq-empty {
    max-width: 560px;
    margin-inline: auto;
    padding-block: 32px;
    text-align: center;
}

.fhq-empty__title {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 700;
}

.fhq-empty__text {
    margin: 0 0 20px;
    color: var(--fhq-muted);
    font-size: 15px;
    line-height: 1.6;
}

/* -------------------------------------------------------------------------
 * 9. Footer
 * ---------------------------------------------------------------------- */

/*
 * Footer bewusst weiß: Die Sektion „Beliebteste Themen" direkt darüber ist
 * getönt – zwei getönte Blöcke hintereinander würden zu einer Fläche
 * verschmelzen. Die Trennung übernimmt die Haarlinie.
 */
.fhq-footer {
    padding: 48px 0 36px;
    background: #fff;
    border-top: 1px solid var(--fhq-line);
    text-align: center;
}

.fhq-footer__inner {
    width: min(100% - 2 * var(--fhq-gutter), var(--fhq-wrap));
    margin-inline: auto;
}

.fhq-footer__logo {
    display: inline-flex;
    margin-bottom: 20px;
}

.fhq-footer__logo img {
    display: block;
    width: 128px;
    height: auto;
}

.fhq-nav--footer .fhq-nav__list {
    justify-content: center;
    gap: 20px;
}

.fhq-nav--footer .fhq-nav__list a {
    font-size: 14px;
}

.fhq-footer__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: center;
    margin: 24px 0 0;
    color: var(--fhq-muted);
    font-size: 13px;
    line-height: 1.5;
}

.fhq-footer__legal a {
    color: inherit;
    text-decoration: none;
}

.fhq-footer__legal a:hover {
    color: var(--fhq-ink);
    text-decoration: underline;
}

.fhq-footer__disclaimer {
    max-width: 800px;
    margin: 20px auto 0;
    color: #9ca3af;
    font-size: 11px;
    line-height: 1.65;
}

/* -------------------------------------------------------------------------
 * Bewegung reduzieren
 * ---------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
    .fhq-thumb img,
    .fhq-header__panel,
    .fhq-burger,
    .fhq-burger::before,
    .fhq-burger::after,
    .fhq-card__more::after {
        transition: none;
    }

    .fhq-card:hover .fhq-thumb img {
        transform: none;
    }
}
