/* ===== CSS Custom Properties (Variablen) - NUR LIGHT MODE ===== */
:root {
  /* Light Mode - feste Farben, kein Dark Mode */
  --bg: #ffffff;
  --text: #1a1a1a;
  --muted: #6b7280;
  --line: #e5e7eb;
  --accent: #3b82f6;
  --wrap: min(72rem, 100% - 2rem);

  /* Semantische Farben */
  --surface: #f9fafb;
  --border: #d1d5db;
  --link: #2563eb;
  --link-hover: #1d4ed8;
}


/* Basis-Styling - immer heller Hintergrund */
html {
  background-color: #ffffff !important;
  color: #1a1a1a !important;
  color-scheme: light only; /* Verhindert Dark Mode */
}

body {
  background-color: #ffffff !important;
  color: #1a1a1a !important;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

/* Erzwinge hellen Hintergrund für alle Elemente */
* {
  color-scheme: light only !important;
}

/* ===== Layout mit rechter Sidebar ===== */
.tb-layout--sidebar {
    display: grid;
    gap: clamp(1rem, 1vw, 1.5rem);
    grid-template-columns: 1fr; /* mobile default */
}

.tb-main {
    min-width: 0;
}

/* verhindert overflow durch Inhalte */

@media (min-width: 1024px) {
    .tb-layout--sidebar {
        grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    }
}

/* Sidebar-Stil */
.tb-sidebar {
    min-width: 0;
    margin-left: 30px;
}

.tb-sidebar__inner {
    position: sticky;
    top: 72px; /* falls Header sticky – ggf. anpassen */
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sidebar-item {
    border-top: 1px solid var(--line);
    padding-top: .75rem;
}

.sidebar-item:first-child {
    border-top: 0;
    padding-top: 0;
}

.widgettitle {
    font-weight: 700;
    margin-bottom: .35rem;
}

.tb-sidebar .wp-block-latest-posts__list {
    padding-left: 0;
}

.tb-sidebar a {
    text-decoration: none;
}

.tb-sidebar a:hover {
    text-decoration: underline;
}

/* Wenn keine Sidebar aktiv ist (PHP rendert dann nichts), füllt die Main-Spalte automatisch 100% – kein Extra-CSS nötig */

/* Optional: schmalere Artikelbreite im 2-Spalten-Layout */
.tb-layout--sidebar .tb-article__content > p {
    font-size: clamp(1rem, .96rem + .2vw, 1.1rem);
}

/* ===== FIX: Hero-Wrapper nicht mehr zweispaltig ===== */
/* Basis: der Wrapper soll nie eine leere 2. Spalte produzieren */
.tb-hero.tb-hero--single {
    display: block;
}

@media (min-width: 1024px) {
    .tb-hero.tb-hero--single {
        display: block;
    }

    /* überschreibt alte grid-template-columns */
}

/* Das Split-Layout bleibt ausschließlich im Artikel selbst */
.tb-hero__lead.tb-hero--wide {
    display: grid;
    gap: var(--gap);
    border-bottom: 1px solid var(--line);
    padding-bottom: 1rem;
    margin-bottom: 1.25rem;
}

.tb-hero__thumb img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
}

@media (min-width: 1024px) {
    .tb-hero__lead.tb-hero--wide {
        grid-template-columns: 2fr 1fr; /* 2/3 Bild – 1/3 Text */
        column-gap: var(--gap-lg);
        align-items: start;
    }

    .tb-hero__body {
        max-width: none;
        padding-left: .25rem;
    }
}

/* ===== Hero volle Breite innerhalb .tb-wrap ===== */
.tb-hero__lead.tb-hero--wide {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
}

/* ===== Frontpage Hero: volle Breite, 2/3 Bild – 1/3 Text ===== */
.tb-hero__lead.tb-hero--wide {
    /* sorgt für großzügigen Abstand zum Grid darunter */
    border-bottom: 1px solid var(--line);
    padding-bottom: 1rem;
    margin-bottom: 1.25rem;
}

.tb-hero__thumb img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.tb-hero__body {
    display: block
}

@media (min-width: 1024px) {
    .tb-hero__lead.tb-hero--wide {
        display: grid;
        grid-template-columns: 2fr 1fr; /* 2/3 Bild, 1/3 Text */
        column-gap: var(--gap-lg);
        align-items: start;
    }

    /* überschreibt evtl. frühere Max-Breite aus alten Regeln */
    .tb-hero__body {
        max-width: none;
        padding-left: .25rem
    }

    .tb-hero__title {
        font-size: clamp(2rem, 1.2rem + 1.8vw, 2.6rem);
        line-height: 1.15
    }

    .tb-hero__excerpt {
        font-size: clamp(1rem, .95rem + .35vw, 1.2rem);
        color: #222
    }
}

@media (min-width: 1440px) {
    .tb-hero__lead.tb-hero--wide {
        grid-template-columns: 2fr 1fr;
    }

    /* fix: stabil bei sehr breiten Screens */
}

/* ===== Hero Split (Bild links, Text rechts) ===== */
.tb-hero__lead.tb-hero--split {
    display: grid;
    gap: var(--gap);
    border-bottom: 1px solid var(--line);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.tb-hero__thumb img {
    width: 100%;
    height: auto;
    display: block
}

.tb-hero__body {
    display: block
}

@media (min-width: 1024px) {
    .tb-hero__lead.tb-hero--split {
        grid-template-columns: 2fr 1fr;
        align-items: start;
        column-gap: var(--gap-lg);
        width: 100%;
        max-width: var(--wrap);
        margin-inline: auto;
    }

    .tb-hero__body {
        padding-left: .25rem;
        max-width: 100%;
    }

    .tb-hero__title {
        font-size: clamp(2rem, 1.2rem + 1.8vw, 2.6rem);
        line-height: 1.15
    }

    .tb-hero__excerpt {
        font-size: clamp(1rem, .95rem + .35vw, 1.2rem);
        color: #222
    }
}

/* Optional: leichte Priorisierung der linken Spalte */
@media (min-width: 1440px) {
    .tb-hero__lead.tb-hero--split {
        grid-template-columns: 1.8fr 1fr;
    }
}

/* ===== Footer (Zeitungsstil) ===== */
.tb-site-footer {
    border-top: 1px solid var(--line);
    background: #fff
}

.tb-footer {
    padding: 2rem 0 1.5rem
}

.tb-footer__brand {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem
}

.tb-footer__brand img {
    height: 40px;
    width: auto;
    filter: grayscale(100%);
    opacity: .9
}

.tb-footer__title {
    font-size: 1.35rem;
    font-weight: 700;
    color: inherit;
    text-decoration: none
}

.tb-footer__cols {
    display: grid;
    gap: 1.25rem;
    margin: 1rem auto 1.25rem;
    grid-template-columns:1fr;
    width: var(--wrap-narrow);
}

.tb-footer__menu {
    list-style: none !important;
    margin: 0;
    padding: 0
}

.tb-footer__menu li + li {
    margin-top: .35rem
}

.tb-footer__menu a {
    color: inherit;
    text-decoration: none;
    font-size: .98rem
}

.tb-footer__menu a:hover {
    text-decoration: underline
}

.tb-footer__fallback {
    width: var(--wrap-narrow);
    margin: 1rem auto
}

.tb-footer__legal {
    border-top: 1px solid var(--line);
    margin-top: 1rem;
    padding-top: .75rem;
    text-align: center;
    color: var(--muted);
    font-size: .9rem;
}

/* Spalten ab Tablet/Desktop */
@media (min-width: 768px) {
    .tb-footer__cols {
        grid-template-columns:repeat(3, 1fr)
    }
}



/* ===== Mobile Drawer / Accordion ===== */
.tb-overlay[hidden] {
    display: none !important
}

.tb-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .35);
    z-index: 60
}

.tb-drawer[hidden] {
    display: none !important
}

.tb-drawer {
    position: fixed;
    top: 0;
    right: 0;
    height: 100dvh;
    width: min(360px, 92vw);
    background: #fff;
    z-index: 70;
    display: flex;
    flex-direction: column;
    box-shadow: -12px 0 24px rgba(0, 0, 0, .12);
    transform: translateX(100%);
    transition: transform .22s ease;
    border-left: 1px solid var(--line);
}

.tb-drawer.is-open {
    transform: translateX(0)
}

.tb-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .9rem 1rem;
    border-bottom: 1px solid var(--line)
}

.tb-drawer__brand {
    font-size: 1.1rem;
    margin: 0
}

.tb-drawer__close {
    font-size: 1.2rem;
    line-height: 1;
    border: 0;
    background: transparent;
    cursor: pointer
}

.tb-drawer__search {
    padding: .5rem 1rem;
    border-bottom: 1px solid var(--line)
}

.tb-drawer__search form {
    display: flex;
    align-items: center;
    gap: .5rem;
    border-bottom: 1px solid #ddd;
    padding: .35rem 0
}

.tb-drawer__search input {
    flex: 1;
    border: 0;
    outline: 0;
    padding: .4rem 0;
    font-size: 1rem
}

.tb-icon {
    opacity: .55
}

.tb-drawer__nav {
    overflow: auto;
    padding: .25rem 0 1rem
}

.tb-drawer__footer {
    margin-top: auto;
    padding: 1rem;
    border-top: 1px solid var(--line);
    font-size: .95rem
}

/* Accordion */
.tb-accordion, .tb-accordion ul {
    list-style: none;
    margin: 0;
    padding: 0
}

.tb-accordion > li {
    border-bottom: 1px solid var(--line)
}

.tb-accordion a {
    display: block;
    color: inherit;
    text-decoration: none
}

.tb-acc-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .9rem 1rem;
    background: #fff;
    border: 0;
    cursor: pointer;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: .02em;
}

.tb-acc-btn .tb-chevron {
    margin-left: auto;
    transition: transform .2s ease;
    opacity: .6
}

.tb-acc-btn[aria-expanded="true"] .tb-chevron {
    transform: rotate(180deg)
}

.tb-acc-panel {
    padding: 0 0 .5rem
}

.tb-acc-panel[hidden] {
    display: none !important
}

.tb-acc-panel > li > a {
    padding: .6rem 1rem .6rem 2.75rem;
    font-size: .98rem
}

.tb-acc-panel > li + li > a {
    border-top: 1px dashed #e6e6e6
}

/* Nur Mobil aktiv */
@media (min-width: 1024px) {
    .tb-overlay, .tb-drawer {
        display: none !important
    }
}

.tb-menu-mobile li.menu-item-has-children > a {
    position: relative;
    padding-right: 2.2em;
}

.tb-menu-mobile li.menu-item-has-children > a:after {
    content: "▼";
    position: absolute;
    right: 0.7em;
    top: 50%;
    transform: translateY(-50%) scaleY(0.7);
    font-size: .85em;
    color: var(--muted);
    pointer-events: none;
    transition: transform .2s;
}

.tb-menu-mobile ul {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .35s cubic-bezier(.77, 0, .18, 1), opacity .25s;
    background: #f7f7f7;
    margin: 0.2rem 0 0.7rem 0.7rem;
    padding: 0.2rem 0.5rem 0.2rem 0.7rem;
    border-left: 2px solid var(--line);
    border-radius: 0 0 .25rem .25rem;
    font-size: 1.08rem;
    font-family: inherit;
}

.tb-menu-mobile li.open > ul {
    max-height: 500px;
    opacity: 1;
}

.tb-menu-mobile li.menu-item-has-children > a.open:after {
    transform: translateY(-50%) scaleY(-0.7);
}

.tb-menu-mobile ul li a {
    font-size: 1.05rem;
    color: var(--text);
    font-family: inherit;
    font-weight: 400;
    padding: .4rem 0 .4rem .1rem;
    border-radius: .18rem;
}

.tb-menu-mobile ul li a:hover {
    color: var(--accent);
    background: var(--line);
}

/* ===== TBNews – Zeitungslayout (FAZ-inspiriert) ===== */
:root {
    --wrap: min(88rem, 100% - 3rem);
    --wrap-narrow: min(72rem, 100% - 3rem);
    --gap: 1rem;
    --gap-lg: 1.25rem;
    --line: #e8e8e8;
    --text: #111;
    --muted: #6b7280;
    --accent: #0b63ce; /* Linkfarbe */
}

html {
    scroll-behavior: smooth
}

body {
    color: var(--text);
    background: #fff;
    line-height: 1.55;
    font-feature-settings: "liga" 1, "kern" 1
}

.tb-wrap {
    width: var(--wrap);
    margin-inline: auto;
}

.tb-wrap--narrow {
    width: var(--wrap-narrow);
    margin-inline: auto;
}

/* Typo */
h1, h2, h3, h4 {
    font-weight: 600;
    letter-spacing: -.01em;
    line-height: 1.2;
    margin: 0 0 .5rem
}

h1 {
    font-size: clamp(1.9rem, 1.2rem + 2.2vw, 3rem)
}

h2 {
    font-size: clamp(1.3rem, 1.0rem + 1vw, 1.8rem)
}

h3 {
    font-size: clamp(1.1rem, .95rem + .6vw, 1.35rem)
}

p {
    margin: .6rem 0 .9rem
}

a {
    color: var(--accent);
    text-decoration: none
}

a:hover {
    text-decoration: underline
}

.muted {
    color: var(--muted)
}

.visually-hidden {
    position: absolute !important;
    clip: rect(1px, 1px, 1px, 1px);
    width: 1px;
    height: 1px;
    overflow: hidden;
    white-space: nowrap
}

/* Header */
.tb-site-header {
    position: sticky;
    top: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    z-index: 50
}

.tb-site-header .tb-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .75rem 0;
    gap: 0;
}

.tb-site-header .tb-brand {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
}

.tb-site-header .tb-brand img {
    height: 120px;
    margin: 0 auto;
    display: block;
}

.tb-nav-toggle, .tb-search-toggle {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: .25rem .5rem;
    color: var(--text);
    flex: 0 0 auto;
}

.tb-primary {
    display: none;
    justify-content: center;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    position: relative;
    z-index: 20;
    max-width: var(--wrap);
    margin-inline: auto;
    border-radius: 0 0 .5rem .5rem;
}

.tb-menu {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.tb-menu > li {
    position: relative;
}

.tb-menu > li > a {
    color: var(--text);

    padding: .75rem 0 .5rem 0;
    display: block;
    text-decoration: none;
    letter-spacing: .01em;
    transition: color .2s, border .2s;
    border-bottom: 2px solid transparent;
}

.tb-menu > li > a:hover,
.tb-menu > li.current-menu-item > a,
.tb-menu > li.current_page_item > a {
    color: var(--accent);
    border-bottom: 2px solid var(--accent);
    background: none;
}

.tb-menu > li.menu-item-has-children > a:after {
    content: "▼";
    font-size: .7em;
    margin-left: .4em;
    vertical-align: middle;
    opacity: .5;
}

.tb-menu > li ul {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    min-width: 180px;
    background: #fff;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.10);
    border-radius: .25rem;
    padding: .5rem 0;
    z-index: 100;
}

.tb-menu > li:hover > ul,
.tb-menu > li:focus-within > ul {
    display: block;
}

.tb-menu > li ul li a {
    color: var(--text);
    padding: .5rem 1.25rem;

    border: none;
    background: none;
    display: block;
    text-decoration: none;
    transition: background .2s, color .2s;
}

.tb-menu > li ul li a:hover,
.tb-menu > li ul li.current-menu-item a {
    background: var(--line);
    color: var(--accent);
}

.tb-drawer {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 85vw;
    max-width: 340px;
    height: 100vh;
    background: #fff;
    z-index: 200;
    padding: 2.5rem 1.5rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    box-shadow: 2px 0 32px rgba(0, 0, 0, 0.10);
    transform: translateX(-100%);
    transition: transform .35s cubic-bezier(.77, 0, .18, 1);
    will-change: transform;
}

.tb-drawer[hidden] {
    display: block !important;
    pointer-events: none;
    transform: translateX(-100%);
}

.tb-drawer[aria-hidden="false"],
.tb-drawer.open {
    transform: translateX(0);
    pointer-events: auto;
}

.tb-drawer .tb-drawer-close {
    position: absolute;
    top: 1.1rem;
    right: 1.1rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--muted);
    cursor: pointer;
    z-index: 10;
    padding: .25rem;
    line-height: 1;
    transition: color .2s;
}

.tb-drawer .tb-drawer-close:hover {
    color: var(--accent);
}

.tb-menu-mobile {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 1.18rem;
    margin-top: 2.5rem;
    font-family: 'Georgia', 'Times New Roman', Times, serif;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.tb-menu-mobile li a {
    color: var(--text);
    text-decoration: none;
    font-weight: 400;
    padding: .45rem 0 .45rem .1rem;
    border-radius: .18rem;
    transition: background .2s, color .2s;
    font-family: inherit;
    font-variation-settings: 'wght' 420;
    line-height: 1.22;
    letter-spacing: 0.01em;
}

.tb-menu-mobile li a:hover, .tb-menu-mobile li.current-menu-item a {
    color: var(--accent);
    background: var(--line);
    font-weight: 500;
}

@media (min-width: 1024px) {
    .tb-site-header .tb-header-bar {
        max-width: var(--wrap);
        margin-inline: auto;
    }

    .tb-primary {
        display: flex;
        position: static;
        border-bottom: none;
        background: none;
        margin-bottom: 0;
        justify-content: center;
        box-shadow: none;
    }

    .tb-nav-toggle {
        display: none;
    }

    .tb-drawer {
        display: none !important;
    }
}

.tb-search {
    border-top: 1px solid var(--line);
    padding: 1.5rem 0 1.7rem 0;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Gestyltes, zentriertes Suchformular im Header */
.tb-searchform {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f7f7f9;
    border-radius: 2.2rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    padding: 0.18rem 0.5rem 0.18rem 1.1rem;
    max-width: 420px;
    width: 100%;
}

.tb-searchform input[type="search"] {
    border: none;
    background: transparent;
    outline: none;
    font-size: 1.13rem;
    padding: 0.7rem 0.2rem 0.7rem 0;
    flex: 1;
    border-radius: 2rem;
    color: var(--text);
}

.tb-searchform input[type="search"]::placeholder {
    color: #b0b3b8;
    opacity: 1;
}

.tb-searchform button[type="submit"] {
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 2rem;
    padding: 0.6rem 1.3rem;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .18s;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    margin-left: 0.2rem;
}

.tb-searchform button[type="submit"]:hover,
.tb-searchform button[type="submit"]:focus {
    background: #094a9c;
}

/* Breadcrumbs */
.tb-breadcrumbs {
    width: var(--wrap-narrow);
    margin: 1rem auto .25rem;
    font-size: .9rem
}

.tb-breadcrumbs a {
    color: inherit
}

.tb-breadcrumbs__list {
    display: flex;
    gap: .35rem;
    flex-wrap: wrap;
    color: var(--muted)
}

.tb-breadcrumbs__sep {
    opacity: .6
}

/* Content */
.tb-content {
    padding-block: 1rem 2rem
}

/* Hero Bereich (Front) */
.tb-hero {
    display: grid;
    gap: var(--gap);
    margin-bottom: 1.25rem
}

.tb-hero__lead {
    display: grid;
    gap: .75rem;
    border-bottom: 1px solid var(--line);
    padding-bottom: 1rem
}

.tb-hero__thumb img {
    width: 100%;
    height: auto;
    display: block
}

.tb-hero__overline {
    font-size: .9rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--muted)
}

.tb-hero__title a {
    color: inherit
}

.tb-hero__excerpt {
    font-size: clamp(1rem, .95rem + .4vw, 1.2rem);
    color: #222
}

/* Grids & Karten */
.tb-grid {
    display: grid;
    gap: var(--gap)
}

.tb-card {
    display: grid;
    gap: .55rem;
    border-top: 1px solid var(--line);
    padding-top: .75rem
}

.tb-card__thumb img {
    width: 100%;
    height: auto;
    border-radius: .2rem
}

.tb-card__title {
    margin: .1rem 0;
    line-height: 1.25
}

.tb-card__title a {
    color: inherit
}

.tb-card .tb-meta {
    font-size: .88rem;
    color: var(--muted)
}

.tb-card__excerpt {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden
}

.tb-card:hover .tb-card__title a {
    text-decoration: underline
}

/* Rubriken */
.tb-section {
    margin-top: 2rem
}

.tb-section__title {
    border-top: 2px solid var(--text);
    padding-top: .5rem;
    margin-bottom: .75rem
}

/* Artikel (Single) */
.tb-article.tb-wrap {
    width: var(--wrap-narrow)
}

.tb-article__header {
    border-bottom: 1px solid var(--line);
    padding-bottom: .75rem;
    margin-bottom: 1rem
}

.tb-article__title {
    font-size: clamp(2rem, 1.2rem + 2.2vw, 3rem)
}

.tb-article-meta {
    color: var(--muted);
    font-size: .95rem;
    display: flex;
    gap: .35rem;
    flex-wrap: wrap
}

.tb-article__figure {
    margin: 1rem 0
}

.tb-article__caption {
    color: var(--muted);
    font-size: .9rem;
    margin-top: .25rem
}

.tb-article__content > p {
    font-size: clamp(1rem, .96rem + .25vw, 1.125rem)
}

.tb-article__share {
    border-top: 1px solid var(--line);
    margin-top: 2rem;
    padding-top: 1rem;
    display: flex;
    gap: .75rem
}

.tb-article__nav {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--line);
    margin-top: 1.5rem;
    padding-top: 1rem
}

/* Footer */

.tb-site-footer ul,
.tb-site-footer ul li,
.tb-site-footer ol {
    list-style: none !important;
    margin: 0;
    padding: 0;
}

.tb-site-footer {
    border-top: 1.5px solid var(--line);
    margin-top: 2.5rem;
    padding: 2.2rem 0 1.2rem 0;
    color: var(--muted);
    background: #f8f9fa;
    font-size: 1.01rem;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    letter-spacing: .01em;
}

.tb-footer-flex {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.1rem;
    width: 100%;
    max-width: var(--wrap);
    margin-inline: auto;
}

.tb-footer-menu {
    width: 100%;
    display: flex;
    justify-content: center;
    border-bottom: 1px solid var(--line);
    padding-bottom: .7rem;
    margin-bottom: .7rem;
}

.tb-menu-footer {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}

.tb-menu-footer li a {
    color: var(--muted);
    text-decoration: none;
    font-weight: 500;
    padding: .22rem 0;
    transition: color .2s;
    font-size: 1.01rem;
    letter-spacing: .01em;
}

.tb-menu-footer li a:hover, .tb-menu-footer li.current-menu-item a {
    color: var(--accent);
}

.tb-footer-meta {
    text-align: center;
    font-size: .97rem;
    margin-top: .2rem;
}

.tb-copy {
    margin: 0;
    letter-spacing: .01em;
    opacity: .85;
}

@media (max-width: 600px) {

    /* Logo image kleiner machen, damit das burger icon  sichtbar ist */
    .tb-site-header .tb-brand img {
        height: 80px;
    }

    .tb-footer-flex {
        gap: .7rem;
        padding-inline: 1rem;
    }

    .tb-footer-menu {
        flex-direction: column;
        align-items: center;
        gap: .5rem;
        padding-bottom: .5rem;
    }

    .tb-menu-footer {
        gap: 1rem;
        justify-content: center;
    }

    .tb-sidebar {
        min-width: 0;
        margin-left: 0;
    }
}

/* Responsive Grids */
@media (min-width: 640px) {
    .tb-primary {
        display: block
    }

    .tb-grid {
        grid-template-columns:1fr 1fr
    }
}

@media (min-width: 1024px) {
    .tb-hero {
        grid-template-columns: 2fr 1.25fr
    }

    .tb-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--gap-lg)
    }
}

/* Fokus & Kleinkram */
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px
}

.tb-no-scroll {
    overflow: hidden
}

:root {
    --wrap: min(88rem, 100% - 2rem);
    --gap: 1rem;
    --gap-lg: 1.25rem;
}

.tb-wrap {
    width: var(--wrap);
    margin-inline: auto;
}

.tb-site-header {
    position: sticky;
    top: 0;
    background: #fff;
    border-bottom: 1px solid #eee;
    z-index: 50;
}

.tb-site-header .tb-wrap {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: .75rem 0;
}

.tb-brand img {
    height: 120px;
    width: auto;
}

.tb-primary {
    display: none;
}

.tb-actions {
    margin-left: auto;
    display: flex;
    gap: .5rem;
}

.tb-drawer[hidden] {
    display: none !important;
}

.tb-search[hidden] {
    display: none !important;
}

.tb-content {
    padding-block: 1rem 2rem;
}

/* Cards */
.tb-card {
    display: grid;
    grid-template-rows:auto 1fr;
    gap: .5rem;
    border-top: 1px solid #eee;
    padding-top: .75rem;
}

.tb-card img {
    width: 100%;
    height: auto;
    border-radius: .25rem;
}

.tb-card .tb-meta {
    color: var(--wp--preset--color--muted);
    font-size: var(--wp--preset--font-size--xs);
}

/* Front grid */
.tb-hero {
    display: grid;
    gap: var(--gap);
    margin-bottom: 1.25rem;
}

.tb-hero__lead {
    display: grid;
    gap: .75rem;
}

.tb-grid {
    display: grid;
    gap: var(--gap);
}

@media (min-width: 640px) {
    .tb-primary {
        display: block;
    }

    .tb-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .tb-hero {
        grid-template-columns: 2fr 1.3fr;
        align-items: start;
    }

    .tb-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--gap-lg);
    }
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.muted {
    color: var(--wp--preset--color--muted);
}

.tb-site-header {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.tb-card__title, .tb-hero__title {
    font-weight: 600;
    letter-spacing: -0.01em;
}

.tb-hero__title {
    font-size: var(--wp--preset--font-size--display);
}

.tb-card__title {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tb-section {
    border-top: 1px solid #eee;
    margin-top: 2rem;
    padding-top: 1.5rem;
}

.tb-section__title {
    font-size: var(--wp--preset--font-size--xl);
    margin-bottom: .75rem;
}

.tb-article__content {
    max-width: 46rem;
    margin-inline: auto;
    line-height: 1.7;
}

.tb-article__figure img {
    width: 100%;
    height: auto;
    border-radius: .25rem;
}

.tb-article__caption {
    color: var(--wp--preset--color--muted);
    font-size: var(--wp--preset--font-size--sm);
    margin-top: .5rem;
}

.tb-pagination {
    display: flex;
    gap: .5rem;
    justify-content: center;
    margin: 2rem 0;
}

.tb-copy {
    color: var(--wp--preset--color--muted);
    font-size: var(--wp--preset--font-size--xs);
    margin-top: 1rem;
}

.tb-article__share a {
    margin-right: .5rem;
    text-decoration: none;
    color: var(--wp--preset--color--accent);
}

.tb-article__share a:focus {
    outline: 2px solid var(--wp--preset--color--accent);
    outline-offset: 2px;
}




/* ===== Verwandte Artikel – volle Breite, untereinander ===== */
.verwandte-artikel-box {
    margin-top: 1.5rem;
}

.verwandte-artikel-box-heading {
    display: block;
    font-weight: 700;
    letter-spacing: .02em;
    margin: 0 0 .75rem;
    padding-top: .35rem;
    border-top: 2px solid var(--text);
}

/* Liste: immer 1 Spalte */
.verwandte-artikel-grid {
    display: block;
}

/* Einzel-Item: volle Breite, Thumbnail links – Text rechts */
.verwandter-artikel {
    border-bottom: 1px solid var(--line);
}

.verwandter-artikel:first-child {
    border-top: 1px solid var(--line);
}

.verwandter-artikel > a {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: .75rem;
    align-items: start;
    padding: .65rem 0;
    text-decoration: none;
    color: inherit;
    transition: background .15s ease;
}

@media (min-width: 640px) {
    .verwandter-artikel > a {
        grid-template-columns: 120px 1fr;
    }
}

@media (min-width: 1024px) {
    .verwandter-artikel > a {
        grid-template-columns: 150px 1fr;
    }
}

.verwandter-artikel > a:hover h4 {
    text-decoration: underline;
}

/* Bild */
.verwandter-artikel-thumbnail img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: .25rem;
}

/* Text */
.verwandter-artikel-text h4 {
    margin: .1rem 0 .25rem;
    font-weight: 700;
    font-size: clamp(1rem, .96rem + .2vw, 1.1rem);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.verwandter-artikel-text p {
    margin: 0;
    color: var(--muted);
    font-size: .95rem;
}

/* Fokus/Barrierefreiheit */
.verwandter-artikel > a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}


ul.article-sources,
ul.article-sources li,
ul.article-sources ol,
.widget_block ul,
.widget_block ul li {
    list-style: none !important;
    margin: 0;
    padding: 0;
}

/* ===== Artikel-Tags (FAZ-Style) ===== */
.article-tags-outer{
    display:flex; flex-wrap:wrap; gap:.5rem .5rem;
    margin-top:1rem;
}

/* einzelner Tag */
.article-tag-single a{
    display:inline-block;
    padding:.35rem .6rem;
    border:1px solid var(--line);
    border-radius:999px;             /* Pill-Form */
    background:#fff;
    color:inherit; text-decoration:none;
    font-size:.92rem; line-height:1;
    letter-spacing:.01em;
    transition:background .15s ease, border-color .15s ease, color .15s ease;
}

/* dezentes #-Prefix wie bei Zeitungen */
.article-tag-single a::before{
    content:"#";
    opacity:.6;
    margin-right:.15rem;
}

/* Hover/Fokus */
.article-tag-single a:hover{
    background:#f7f7f7;
    border-color:#dedede;
    text-decoration:none;
}
.article-tag-single a:focus-visible{
    outline:2px solid var(--accent);
    outline-offset:2px;
}

/* kompakter auf sehr schmalen Screens */
@media (max-width:640px){
    .article-tag-single a{
        padding:.3rem .5rem;
        font-size:.9rem;
    }
}

