:root {
    --twr-blue: #0d63f3;
    --twr-blue-dark: #084fc8;
    --twr-blue-soft: #eef5ff;
    --twr-ink: #0b1f47;
    --twr-text: #435371;
    --twr-muted: #72809a;
    --twr-line: #d9e4f2;
    --twr-line-soft: #edf2f8;
    --twr-surface: #ffffff;
    --twr-bg: #f7faff;
    --twr-shadow: 0 10px 28px rgba(11, 31, 71, .055);
    --twr-shadow-hover: 0 14px 34px rgba(13, 99, 243, .085);
}

.tw-ratgeber,
.tw-blog-hero,
.tw-blog-shell {
    color: var(--twr-ink);
    font-family: inherit;
}

.tw-ratgeber *,
.tw-blog-hero *,
.tw-blog-shell * {
    box-sizing: border-box;
}

/* =========================================================
   RATGEBER-ARCHIV
   ========================================================= */
.tw-ratgeber {
    width: min(100% - 32px, 1380px);
    margin: 0 auto;
    padding: 18px 0 30px;
}

.tw-ratgeber-hero {
    overflow: hidden;
    border: 1px solid var(--twr-line);
    border-radius: 30px;
    background: linear-gradient(135deg, #fbfdff 0%, #f5f9ff 54%, #eef5ff 100%);
    box-shadow: 0 8px 22px rgba(11, 31, 71, .025);
}

.tw-ratgeber-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
    gap: clamp(28px, 4vw, 64px);
    align-items: center;
    min-height: 330px;
    padding: clamp(34px, 5vw, 64px);
}

.tw-ratgeber-hero-copy {
    min-width: 0;
}

.tw-ratgeber-hero-copy h1,
.tw-blog-hero h1 {
    margin: 0;
    color: var(--twr-ink);
    font-size: clamp(2.15rem, 4.1vw, 4.15rem);
    font-weight: 900;
    line-height: 1.04;
    letter-spacing: -.035em;
}

.tw-ratgeber-hero-copy p {
    max-width: 790px;
    margin: 20px 0 0;
    color: var(--twr-text);
    font-size: clamp(1.02rem, 1.45vw, 1.22rem);
    line-height: 1.66;
    font-weight: 520;
}

.tw-ratgeber-hero-visual {
    position: relative;
    min-height: 240px;
    border: 1px solid rgba(13, 99, 243, .10);
    border-radius: 28px;
    background: linear-gradient(145deg, rgba(255,255,255,.86), rgba(229,239,255,.78));
    overflow: hidden;
}



.tw-ratgeber-inner {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 26px;
    align-items: start;
    margin-top: 24px;
}

.tw-ratgeber-sidebar {
    position: sticky;
    top: 112px;
    align-self: start;
}

body.admin-bar .tw-ratgeber-sidebar { top: 144px; }

.tw-ratgeber-filterbox,
.tw-ratgeber-strip,
.tw-ratgeber-results,
.tw-ratgeber-latestbox,
.tw-blog-toc,
.tw-blog-latest {
    border: 1px solid var(--twr-line);
    border-radius: 22px;
    background: var(--twr-surface);
    box-shadow: var(--twr-shadow);
}

.tw-ratgeber-filterbox {
    padding: 20px;
}

.tw-ratgeber-filterhead,
.tw-ratgeber-strip-head,
.tw-ratgeber-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.tw-ratgeber-filterhead strong,
.tw-ratgeber-strip-head h2,
.tw-ratgeber-toolbar-left strong,
.tw-ratgeber-latestbox h2,
.tw-blog-toc strong,
.tw-blog-latest strong {
    margin: 0;
    color: var(--twr-ink);
    font-size: 1.02rem;
    line-height: 1.25;
    font-weight: 850;
}

.tw-ratgeber-reset {
    color: var(--twr-blue);
    font-size: .86rem;
    font-weight: 760;
    text-decoration: none;
}

.tw-ratgeber-reset:hover,
.tw-ratgeber-reset:focus-visible {
    color: var(--twr-blue-dark);
    outline: none;
}

.tw-ratgeber-field {
    margin-top: 17px;
    padding-top: 17px;
    border-top: 1px solid var(--twr-line-soft);
}

.tw-ratgeber-field label,
.tw-ratgeber-field-title,
.tw-ratgeber-toolbar-sort label {
    display: block;
    margin: 0 0 8px;
    color: var(--twr-ink);
    font-size: .91rem;
    line-height: 1.25;
    font-weight: 760;
}

.tw-ratgeber-field input[type="search"],
.tw-ratgeber-field select,
.tw-ratgeber-toolbar-sort select {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--twr-line);
    border-radius: 14px;
    background: #fff;
    color: var(--twr-ink);
    font: inherit;
    font-size: .93rem;
    line-height: 1.2;
    font-weight: 620;
    box-shadow: none;
    outline: none;
}

.tw-ratgeber-field input[type="search"] {
    padding: 0 13px;
}

/* Einheitlicher ToolWissen-Pfeil für alle Ratgeber-Auswahlfelder.
 * Verhindert den browserabhängigen separaten Pfeil-/Button-Bereich am rechten Rand. */
.tw-ratgeber-field select,
.tw-ratgeber-toolbar-sort select {
    -webkit-appearance: none;
    appearance: none;
    padding: 0 40px 0 12px;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M2 2.1 7 7l5-4.9' fill='none' stroke='%230b1f47' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 14px 9px;
}

/* Sortierung: etwas mehr Innenraum, gleiche Pfeilgeometrie. */
.tw-ratgeber-toolbar-sort select {
    padding-left: 14px;
    padding-right: 44px;
    background-position: right 16px center;
}

.tw-ratgeber-field input[type="search"]::placeholder {
    color: #8d9ab0;
    font-weight: 520;
}

.tw-ratgeber-field input[type="search"]:focus,
.tw-ratgeber-field select:focus,
.tw-ratgeber-toolbar-sort select:focus {
    border-color: rgba(13,99,243,.42);
    box-shadow: none;
}

.tw-ratgeber-search-inline {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 48px;
    gap: 8px;
}

.tw-ratgeber-search-inline button,
.tw-ratgeber-submit {
    appearance: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 48px !important;
    border: 1px solid var(--twr-blue) !important;
    border-radius: 14px !important;
    outline: none !important;
    background: linear-gradient(180deg, #1770ff 0%, #0d63f3 100%) !important;
    color: #fff !important;
    font: inherit !important;
    font-size: .94rem !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    text-shadow: none !important;
    box-shadow: none !important;
    cursor: pointer;
}

.tw-ratgeber-search-inline button:hover,
.tw-ratgeber-search-inline button:focus,
.tw-ratgeber-search-inline button:focus-visible,
.tw-ratgeber-submit:hover,
.tw-ratgeber-submit:focus,
.tw-ratgeber-submit:focus-visible {
    border-color: var(--twr-blue-dark) !important;
    outline: none !important;
    background: linear-gradient(180deg, #0f63ee 0%, #0a52cf 100%) !important;
    color: #fff !important;
    box-shadow: none !important;
}

.tw-ratgeber-search-inline button::before,
.tw-ratgeber-search-inline button::after,
.tw-ratgeber-submit::before,
.tw-ratgeber-submit::after {
    box-shadow: none !important;
    border-color: transparent !important;
}

.tw-ratgeber-search-icon {
    display: inline-flex;
    width: 22px;
    height: 22px;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.tw-ratgeber-search-icon svg {
    display: block;
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.15;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tw-ratgeber-checks {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    align-items: center;
    margin-top: 14px;
}

.tw-ratgeber-checks label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
    gap: 7px;
    margin: 0;
    color: var(--twr-text);
    font-size: .80rem;
    line-height: 1.2;
    font-weight: 540;
    white-space: nowrap;
}

.tw-ratgeber-checks label:last-child {
    justify-self: center;
}

.tw-ratgeber-checks input {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--twr-blue);
}

.tw-ratgeber-durationchips,
.tw-ratgeber-tagcloud,
.tw-ratgeber-chips,
.tw-ratgeber-activefilters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tw-ratgeber-durationchips {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tw-ratgeber-chipcheck {
    position: relative;
    display: block;
    margin: 0 !important;
}

.tw-ratgeber-chipcheck input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.tw-ratgeber-chipcheck span,
.tw-ratgeber-tagcloud a,
.tw-ratgeber-chip,
.tw-ratgeber-activefilters a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 37px;
    padding: 0 11px;
    border: 1px solid var(--twr-line);
    border-radius: 999px;
    background: #fff;
    color: var(--twr-ink);
    font-size: .84rem;
    line-height: 1.2;
    font-weight: 650;
    text-decoration: none;
    transition: border-color .16s ease, background-color .16s ease, color .16s ease;
}

.tw-ratgeber-chipcheck span { width: 100%; }

.tw-ratgeber-chipcheck.is-active span,
.tw-ratgeber-chipcheck input:checked + span,
.tw-ratgeber-tagcloud a.is-active,
.tw-ratgeber-chip.is-active {
    border-color: rgba(13,99,243,.22);
    background: var(--twr-blue-soft);
    color: var(--twr-blue-dark);
}

.tw-ratgeber-chipcheck:hover span,
.tw-ratgeber-tagcloud a:hover,
.tw-ratgeber-tagcloud a:focus-visible,
.tw-ratgeber-chip:hover,
.tw-ratgeber-chip:focus-visible {
    border-color: rgba(13,99,243,.25);
    background: var(--twr-blue-soft);
    color: var(--twr-blue-dark);
    outline: none;
}

.tw-ratgeber-tagcloud--sidebar a {
    min-height: 34px;
    padding: 0 10px;
    font-size: .80rem;
    font-weight: 610;
}

.tw-ratgeber-field-topics .tw-ratgeber-field-title {
    margin-bottom: 9px;
    font-size: .88rem;
}

.tw-ratgeber-submitrow {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--twr-line-soft);
}

.tw-ratgeber-submit {
    width: 100%;
}

.tw-ratgeber-main {
    min-width: 0;
}

.tw-ratgeber-strip,
.tw-ratgeber-latestbox {
    padding: 17px 18px;
    margin-bottom: 18px;
}

.tw-ratgeber-latestbox {
    margin-top: 26px;
}

.tw-ratgeber-strip-head {
    margin-bottom: 12px;
}

.tw-ratgeber-results {
    padding: 18px;
}

.tw-ratgeber-toolbar {
    align-items: flex-end;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--twr-line-soft);
}

.tw-ratgeber-toolbar-left {
    min-width: 0;
}

.tw-ratgeber-toolbar-left strong {
    display: block;
    margin-bottom: 8px;
    font-size: 1.06rem;
}

.tw-ratgeber-activefilters a {
    min-height: 31px;
    padding: 0 10px;
    background: #f8fbff;
    color: var(--twr-text);
    font-size: .78rem;
    font-weight: 600;
}

.tw-ratgeber-activefilters a:hover,
.tw-ratgeber-activefilters a:focus-visible {
    border-color: rgba(13,99,243,.24);
    color: var(--twr-blue-dark);
    outline: none;
}

.tw-ratgeber-toolbar-right {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    margin-left: auto;
}

.tw-ratgeber-toolbar-sort {
    width: 265px;
}

.tw-ratgeber-toolbar-sort label {
    margin-bottom: 6px;
    color: var(--twr-muted);
    font-size: .78rem;
    font-weight: 660;
}

.tw-ratgeber-toolbar-sort select {
    min-height: 44px;
    font-size: .88rem;
    font-weight: 650;
}

.tw-ratgeber-viewtoggle {
    display: inline-flex;
    gap: 3px;
    padding: 3px;
    border: 1px solid var(--twr-line);
    border-radius: 14px;
    background: #fff;
}

.tw-ratgeber-viewtoggle button {
    appearance: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 10px !important;
    outline: none !important;
    background: transparent !important;
    color: var(--twr-ink) !important;
    font: inherit !important;
    font-size: 1.05rem !important;
    line-height: 1 !important;
    box-shadow: none !important;
    cursor: pointer;
}

.tw-ratgeber-viewtoggle button:hover,
.tw-ratgeber-viewtoggle button:focus,
.tw-ratgeber-viewtoggle button:focus-visible,
.tw-ratgeber-viewtoggle button.is-active {
    background: var(--twr-blue-soft) !important;
    color: var(--twr-blue) !important;
    outline: none !important;
    box-shadow: none !important;
}

.tw-ratgeber-cards {
    display: grid;
    gap: 20px;
    margin-top: 18px;
}

.tw-ratgeber-cards.is-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tw-ratgeber-cards.is-grid.is-count-1 {
    grid-template-columns: minmax(0, 520px);
}

.tw-ratgeber-cards.is-grid.is-count-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tw-ratgeber-cards.is-list {
    grid-template-columns: 1fr;
}

.tw-ratgeber-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #dfe7f1;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 7px 20px rgba(11,31,71,.055);
    transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.tw-ratgeber-card:hover,
.tw-ratgeber-card:focus-within {
    border-color: rgba(13,99,243,.20);
    box-shadow: var(--twr-shadow-hover);
    transform: translateY(-1px);
}

.tw-ratgeber-card-media {
    display: block;
    width: 100%;
    aspect-ratio: 1200 / 630;
    overflow: hidden;
    background: #f2f7ff;
}

.tw-ratgeber-card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tw-ratgeber-card-body {
    display: flex;
    flex-direction: column;
    gap: 13px;
    padding: 20px 20px 18px;
}

/* Themenkategorie wieder sichtbar direkt unter dem Beitragsbild. Die technische
   Sammelkategorie "Ratgeber" wird in PHP bewusst ausgefiltert. */
.tw-ratgeber-card-category {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 8px;
    max-width: 100%;
    min-height: 36px;
    padding: 7px 13px;
    border: 1px solid rgba(13,99,243,.08);
    border-radius: 999px;
    background: var(--twr-blue-soft);
    color: var(--twr-blue);
    font-size: .80rem;
    line-height: 1.15;
    font-weight: 760;
    text-decoration: none;
}

.tw-ratgeber-card-category > span:last-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tw-ratgeber-card-category-icon {
    display: inline-grid;
    place-items: center;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
}

.tw-ratgeber-card-category-icon svg {
    display: block;
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tw-ratgeber-card-category:hover,
.tw-ratgeber-card-category:focus-visible {
    border-color: rgba(13,99,243,.18);
    background: #e7f0ff;
    color: var(--twr-blue-dark);
    outline: none;
}

.tw-ratgeber-card h3 {
    margin: 0;
    color: var(--twr-ink);
    font-size: clamp(1.16rem, 1.20vw, 1.38rem);
    line-height: 1.30;
    font-weight: 830;
    letter-spacing: -.014em;
    text-wrap: pretty;
}

.tw-ratgeber-card h3 a {
    color: inherit;
    text-decoration: none;
}

.tw-ratgeber-card h3 a:hover,
.tw-ratgeber-card h3 a:focus-visible {
    color: var(--twr-blue-dark);
    outline: none;
}

.tw-ratgeber-card p {
    margin: 0;
    color: var(--twr-text);
    font-size: .92rem;
    line-height: 1.60;
    font-weight: 500;
    text-wrap: pretty;
}

.tw-ratgeber-card-footer {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-top: auto;
}

.tw-ratgeber-card-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px;
}

.tw-ratgeber-card-meta span,
.tw-blog-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 11px;
    border: 1px solid var(--twr-line);
    border-radius: 999px;
    background: #fff;
    color: var(--twr-muted);
    font-size: .78rem;
    line-height: 1.2;
    font-weight: 690;
}

.tw-ratgeber-card-meta span {
    gap: 6px;
    border-color: #dce5ef;
    border-radius: 9px;
    color: #61708a;
}

.tw-ratgeber-meta-icon {
    display: block;
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tw-ratgeber-card-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid rgba(13,99,243,.14);
    border-radius: 10px;
    background: #f1f6ff;
    color: var(--twr-blue);
    font-size: .82rem;
    font-weight: 780;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
}

.tw-ratgeber-card-link:hover,
.tw-ratgeber-card-link:focus-visible {
    border-color: rgba(13,99,243,.24);
    color: var(--twr-blue-dark);
    outline: none;
}

.tw-ratgeber-cards.is-list .tw-ratgeber-card {
    display: grid;
    grid-template-columns: minmax(320px, 43%) minmax(0, 1fr);
    align-items: center;
}

.tw-ratgeber-cards.is-list .tw-ratgeber-card-media {
    aspect-ratio: 1200 / 630;
    margin: 14px;
    width: calc(100% - 28px);
    border-radius: 14px;
}

.tw-ratgeber-cards.is-list .tw-ratgeber-card-media img {
    object-fit: contain;
    background: #f3f7fe;
}

.tw-ratgeber-cards.is-list .tw-ratgeber-card-body {
    min-height: 100%;
    justify-content: center;
    padding: 22px 24px 22px 10px;
}

.tw-ratgeber-cards.is-list .tw-ratgeber-card h3 {
    font-size: clamp(1.28rem, 1.75vw, 1.8rem);
}

.tw-ratgeber-cards.is-list .tw-ratgeber-card p {
    max-width: 760px;
    font-size: .97rem;
}

.tw-ratgeber-latestgrid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.tw-ratgeber-latestgrid article,
.tw-blog-latest-list article {
    min-width: 0;
    padding: 14px;
    border: 1px solid var(--twr-line-soft);
    border-radius: 14px;
    background: #fbfdff;
}

.tw-ratgeber-latestgrid a,
.tw-blog-latest-list a {
    color: var(--twr-ink);
    font-size: .91rem;
    line-height: 1.42;
    font-weight: 730;
    text-decoration: none;
}

.tw-ratgeber-latestgrid a:hover,
.tw-ratgeber-latestgrid a:focus-visible,
.tw-blog-latest-list a:hover,
.tw-blog-latest-list a:focus-visible {
    color: var(--twr-blue-dark);
    outline: none;
}

.tw-ratgeber-latestgrid span,
.tw-blog-latest-list span {
    display: block;
    margin-top: 7px;
    color: var(--twr-muted);
    font-size: .76rem;
    font-weight: 620;
}

.tw-ratgeber-pagination {
    margin-top: 18px;
}

.tw-ratgeber-pages {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 7px;
}

.tw-ratgeber-pages .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--twr-line);
    border-radius: 11px;
    background: #fff;
    color: var(--twr-ink);
    font-size: .88rem;
    font-weight: 760;
    line-height: 1;
    text-decoration: none;
}

/* Pagination: geometrisch zentrierte Pfeile mit derselben Strichstärke wie die UI-Icons. */
.tw-ratgeber-pages .page-numbers.prev,
.tw-ratgeber-pages .page-numbers.next {
    position: relative;
    font-size: 0;
}

.tw-ratgeber-pages .page-numbers.prev::before,
.tw-ratgeber-pages .page-numbers.next::before {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    box-sizing: border-box;
}

.tw-ratgeber-pages .page-numbers.prev::before {
    transform: rotate(-135deg);
    margin-left: 3px;
}

.tw-ratgeber-pages .page-numbers.next::before {
    transform: rotate(45deg);
    margin-right: 3px;
}

.tw-ratgeber-pages .page-numbers.current,
.tw-ratgeber-pages a:hover,
.tw-ratgeber-pages a:focus-visible {
    border-color: rgba(13,99,243,.20);
    background: var(--twr-blue-soft);
    color: var(--twr-blue-dark);
    outline: none;
}

.tw-ratgeber-empty {
    padding: 36px 22px;
    text-align: center;
}

.tw-ratgeber-empty h3 {
    margin: 0 0 8px;
    color: var(--twr-ink);
    font-size: 1.18rem;
}

.tw-ratgeber-empty p {
    max-width: 620px;
    margin: 0 auto;
    color: var(--twr-text);
    font-size: .94rem;
    line-height: 1.6;
}

.tw-ratgeber-empty a {
    display: inline-block;
    margin-top: 14px;
    color: var(--twr-blue);
    font-size: .9rem;
    font-weight: 760;
    text-decoration: none;
}

/* =========================================================
   SINGLE POST
   ========================================================= */
.tw-blog-hero {
    width: min(100% - 32px, 1380px);
    margin: 18px auto 24px;
}

.tw-blog-progress {
    position: sticky;
    top: 92px;
    z-index: 12;
    width: 100%;
    height: 4px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(13,99,243,.07);
}

.tw-blog-progress span {
    display: block;
    width: 0;
    height: 100%;
    background: var(--twr-blue);
}

.tw-blog-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
    gap: clamp(28px, 4vw, 56px);
    align-items: center;
    margin-top: 14px;
    padding: clamp(30px, 4vw, 50px);
    border: 1px solid var(--twr-line);
    border-radius: 30px;
    background: linear-gradient(135deg, #fbfdff, #f2f7ff);
}

.tw-blog-hero-inner.no-image {
    grid-template-columns: 1fr;
}

.tw-blog-hero-copy { min-width: 0; }

.tw-blog-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.tw-blog-categories a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid rgba(13,99,243,.14);
    border-radius: 999px;
    background: rgba(255,255,255,.9);
    color: var(--twr-blue);
    font-size: .78rem;
    font-weight: 760;
    text-decoration: none;
}

.tw-blog-categories a:hover,
.tw-blog-categories a:focus-visible {
    border-color: rgba(13,99,243,.26);
    color: var(--twr-blue-dark);
    outline: none;
}

.tw-blog-hero-media {
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--twr-line);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(11,31,71,.08);
}

.tw-blog-hero-media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1200 / 630;
    object-fit: cover;
}

.tw-blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}

.tw-blog-meta span {
    min-height: 36px;
    padding: 0 12px;
    background: rgba(255,255,255,.9);
    color: var(--twr-text);
    font-size: .82rem;
    font-weight: 650;
}

.tw-blog-shell {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 30px;
    align-items: start;
    width: min(100% - 32px, 1380px);
    margin: 0 auto 72px;
}

.tw-blog-aside {
    position: sticky;
    top: 112px;
}

body.admin-bar .tw-blog-aside { top: 144px; }

.tw-blog-aside-stack {
    display: grid;
    gap: 16px;
}

.tw-blog-toc,
.tw-blog-latest {
    padding: 18px;
}

.tw-blog-toc {
    position: relative;
}

.tw-blog-toc-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.tw-blog-toc-head-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tw-blog-toc-pin,
.tw-blog-toc-close,
.tw-blog-toc-reopen {
    appearance: none;
    border: 1px solid #cfdbea;
    background: #fff;
    color: var(--twr-ink);
    font: inherit;
    box-shadow: none;
}

.tw-blog-toc-pin {
    position: relative;
    display: none;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    min-width: 30px;
    padding: 0;
    border-radius: 9px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 850;
    line-height: 1;
    transition: border-color .15s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
}

.tw-blog-toc-pin span {
    display: block;
    transform: translateY(-.5px);
}

.tw-blog-toc-pin:hover,
.tw-blog-toc-pin:focus-visible,
.tw-blog-toc-pin[aria-pressed="true"] {
    border-color: #9fc3ef;
    background: #edf5ff;
    color: var(--twr-blue);
    outline: none;
}

.tw-blog-toc-pin[aria-pressed="true"] {
    box-shadow: inset 0 0 0 1px rgba(13,99,243,.08);
}

.tw-blog-toc-close {
    display: none;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    min-width: 34px;
    padding: 0;
    border-radius: 10px;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
}

.tw-blog-toc-close:hover,
.tw-blog-toc-close:focus-visible {
    border-color: #b8d2f2;
    background: #f4f8ff;
    color: var(--twr-blue);
    outline: none;
}

.tw-blog-toc-reopen {
    position: fixed;
    right: 14px;
    bottom: 86px;
    z-index: 9980;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 13px;
    border-radius: 999px;
    color: var(--twr-ink);
    font-size: .82rem;
    font-weight: 780;
    line-height: 1;
    box-shadow: 0 10px 24px rgba(11, 31, 71, .12);
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease, border-color .15s ease, background .15s ease, color .15s ease;
}

.tw-blog-toc-reopen.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.tw-blog-toc-reopen:hover,
.tw-blog-toc-reopen:focus-visible {
    border-color: #b8d2f2;
    background: #f4f8ff;
    color: var(--twr-blue);
    outline: none;
}

.tw-blog-toc ol {
    display: grid;
    gap: 6px;
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
}

.tw-blog-toc a {
    display: block;
    padding: 9px 10px;
    border-radius: 10px;
    color: var(--twr-text);
    font-size: .86rem;
    line-height: 1.42;
    font-weight: 620;
    text-decoration: none;
}

.tw-blog-toc a.is-active,
.tw-blog-toc a:hover,
.tw-blog-toc a:focus-visible {
    background: var(--twr-blue-soft);
    color: var(--twr-blue-dark);
    outline: none;
}

.tw-blog-content {
    min-width: 0;
    color: var(--twr-text);
    font-size: 1rem;
    line-height: 1.78;
}

.tw-blog-content > *:first-child { margin-top: 0; }
.tw-blog-content p,
.tw-blog-content li { color: var(--twr-text); }
.tw-blog-content h2,
.tw-blog-content h3,
.tw-blog-content h4 {
    color: var(--twr-ink);
    line-height: 1.18;
    letter-spacing: -.018em;
    scroll-margin-top: 120px;
}
.tw-blog-content h2 { margin: 2.1em 0 .7em; font-size: clamp(1.55rem, 2vw, 2.15rem); }
.tw-blog-content h3 { margin: 1.7em 0 .55em; font-size: clamp(1.25rem, 1.55vw, 1.65rem); }
.tw-blog-content a { color: var(--twr-blue); font-weight: 700; }
.tw-blog-content a:hover,
.tw-blog-content a:focus-visible { color: var(--twr-blue-dark); outline: none; }
.tw-blog-content img { max-width: 100%; height: auto; border-radius: 18px; }
.tw-blog-content table { width: 100%; border-collapse: collapse; overflow-x: auto; }
.tw-blog-content th,
.tw-blog-content td { padding: 11px 12px; border: 1px solid var(--twr-line); }
.tw-blog-content th { background: #f7faff; color: var(--twr-ink); }
.tw-blog-content blockquote { margin: 1.4rem 0; padding: 14px 16px; border-left: 4px solid var(--twr-blue); background: #f4f8ff; color: var(--twr-ink); }

/* =========================================================
   BREAKPOINTS
   ========================================================= */
@media (min-width: 1025px) {
    .tw-ratgeber-inner {
        grid-template-columns: 310px minmax(0, 1fr);
        gap: 24px;
        margin-top: 22px;
    }
    .tw-ratgeber-filterbox {
        padding: 21px 20px 20px;
    }
    .tw-ratgeber-filterhead {
        min-height: 30px;
    }
    .tw-ratgeber-field {
        margin-top: 16px;
        padding-top: 16px;
    }
    .tw-ratgeber-search-inline {
        align-items: stretch;
    }
    .tw-ratgeber-search-inline button {
        width: 48px !important;
        min-width: 48px !important;
        padding: 0 !important;
    }
    .tw-ratgeber-results {
        padding: 18px 20px 20px;
    }
    .tw-ratgeber-cards {
        gap: 20px;
        margin-top: 18px;
    }
    .tw-ratgeber-card-body {
        padding: 18px;
    }
}

@media (max-width: 1180px) {
    .tw-ratgeber-inner { grid-template-columns: 280px minmax(0, 1fr); gap: 20px; }
    .tw-ratgeber-cards.is-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tw-ratgeber-cards.is-grid.is-count-1 { grid-template-columns: minmax(0, 500px); }
    .tw-ratgeber-latestgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tw-ratgeber-cards.is-list .tw-ratgeber-card { grid-template-columns: minmax(280px, 40%) minmax(0, 1fr); }
}

@media (max-width: 920px) {
    .tw-ratgeber-hero-inner { grid-template-columns: 1fr; min-height: 0; }
    .tw-ratgeber-hero-visual { min-height: 190px; }
    .tw-ratgeber-inner,
    .tw-blog-shell { grid-template-columns: 1fr; }
    .tw-blog-hero-inner { grid-template-columns: 1fr; }
    .tw-ratgeber-sidebar,
    .tw-blog-aside,
    .tw-blog-toc { position: static; top: auto; }
    .tw-ratgeber-filterbox { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0 18px; }
    .tw-ratgeber-filterhead,
    .tw-ratgeber-submitrow,
    .tw-ratgeber-field-search,
    .tw-ratgeber-field-topics { grid-column: 1 / -1; }
    .tw-ratgeber-field { min-width: 0; }
    .tw-ratgeber-toolbar { align-items: flex-end; }
    .tw-ratgeber-cards.is-list .tw-ratgeber-card { grid-template-columns: minmax(260px, 42%) minmax(0, 1fr); }
}

@media (max-width: 680px) {
    .tw-ratgeber,
    .tw-blog-hero,
    .tw-blog-shell { width: min(100% - 20px, 680px); }
    .tw-ratgeber { padding-top: 10px; padding-bottom: 26px; }
    .tw-ratgeber-hero { border-radius: 22px; }
    .tw-ratgeber-hero-inner,
    .tw-blog-hero-inner { padding: 28px 20px; }
    .tw-ratgeber-hero-visual { display: none; }
    .tw-ratgeber-filterbox { grid-template-columns: 1fr; padding: 17px; }
    .tw-ratgeber-filterhead,
    .tw-ratgeber-submitrow,
    .tw-ratgeber-field-search,
    .tw-ratgeber-field-topics { grid-column: auto; }
    .tw-ratgeber-checks { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 7px; }
    .tw-ratgeber-checks label { font-size: .76rem; }
    .tw-ratgeber-toolbar { flex-direction: column; align-items: stretch; }
    .tw-ratgeber-toolbar-right { width: 100%; margin: 0; align-items: flex-end; }
    .tw-ratgeber-toolbar-sort { width: min(100%, 290px); }
    .tw-ratgeber-cards.is-grid,
    .tw-ratgeber-cards.is-grid.is-count-1,
    .tw-ratgeber-cards.is-grid.is-count-2 { grid-template-columns: 1fr; }
    .tw-ratgeber-cards.is-list .tw-ratgeber-card { grid-template-columns: 1fr; }
    .tw-ratgeber-cards.is-list .tw-ratgeber-card-media { margin: 12px 12px 0; width: calc(100% - 24px); }
    .tw-ratgeber-cards.is-list .tw-ratgeber-card-body { padding: 17px; }
    .tw-ratgeber-latestgrid { grid-template-columns: 1fr; }
    .tw-blog-progress { top: 82px; }
}

@media (max-width: 430px) {
    .tw-ratgeber-checks { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 5px; }
    .tw-ratgeber-checks label { gap: 5px; font-size: .72rem; }
    .tw-ratgeber-checks input { width: 14px; height: 14px; }
    .tw-ratgeber-durationchips { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .tw-ratgeber-toolbar-right { flex-direction: row; align-items: flex-end; }
    .tw-ratgeber-toolbar-sort { width: auto; flex: 1 1 auto; min-width: 0; }
    .tw-ratgeber-viewtoggle { align-self: flex-end; flex: 0 0 auto; }
    .tw-ratgeber-card-footer { align-items: flex-start; }
}

/* v1.0 Feinschliff: beliebte Kategorien niemals als einzelne verwaiste zweite Zeile */
.tw-ratgeber-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 1px 1px 4px;
    scrollbar-width: thin;
    overscroll-behavior-inline: contain;
}
.tw-ratgeber-chip {
    flex: 0 0 auto;
    white-space: nowrap;
}


/* v1.0 Feinschliff – kompakteres Ratgeber-Layout und Related Posts */
.tw-ratgeber-hero-inner,
.tw-ratgeber-chip,
.tw-ratgeber-section-head h2,
.tw-blog-content h2,
.tw-blog-content h3,
.tw-blog-content h4,
.tw-blog-latest-list a,
.tw-ratgeber-latestgrid a,
.tw-blog-related h2,
.tw-blog-related h3,
.tw-blog-hero-copy h1,
.tw-blog-categories a,
.tw-blog-meta span{
    text-wrap: balance;
}

.tw-ratgeber-hero{
    margin-bottom:18px;
    border-color:#dbe6f5;
    border-radius:24px;
    background:linear-gradient(135deg,#fbfdff 0%,#f7faff 58%,#f1f6ff 100%);
    box-shadow:0 10px 28px rgba(11,31,71,.028);
}
.tw-ratgeber-hero-inner{
    grid-template-columns:minmax(0,1.48fr) minmax(300px,.52fr);
    gap:clamp(26px,4vw,58px);
    min-height:188px;
    padding:clamp(28px,3vw,38px) clamp(32px,4vw,54px);
}
.tw-ratgeber-hero-copy{
    align-self:center;
}
.tw-ratgeber-hero-copy h1{
    max-width:660px;
    margin:0;
    font-size:clamp(2rem,2.55vw,2.65rem);
    line-height:1.07;
    letter-spacing:-.025em;
    text-wrap:balance;
}
.tw-ratgeber-hero-copy h1 span{
    display:block;
}
.tw-ratgeber-hero-copy p{
    max-width:650px;
    margin:12px 0 0;
    color:#52657f;
    font-size:clamp(.94rem,1.05vw,1.04rem);
    line-height:1.48;
    font-weight:560;
    text-wrap:pretty;
}
.tw-ratgeber-hero-visual{
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:140px;
    padding:0;
    border:0;
    border-radius:0;
    background:transparent;
    overflow:visible;
}
.tw-ratgeber-hero-art{
    display:block;
    width:min(100%,410px);
    height:auto;
    max-height:172px;
    overflow:visible;
}


@media (min-width:1181px){.tw-blog-shell{grid-template-columns:332px minmax(0,1fr);gap:32px;}}
.tw-blog-toc,
.tw-blog-latest{padding:20px;}
.tw-blog-toc strong,
.tw-blog-latest strong{display:block; color:var(--twr-ink); font-size:1rem; font-weight:820; line-height:1.15;}
.tw-blog-latest-list{display:grid; gap:10px; margin-top:12px;}
.tw-blog-latest-list article{padding:14px; border:1px solid var(--twr-line-soft); border-radius:14px; background:#fbfdff;}
.tw-blog-latest-list span{font-size:.78rem; font-weight:650; line-height:1.2;}

.tw-blog-related{
    margin-top: 34px;
    padding: clamp(22px, 3vw, 30px);
    border:1px solid var(--twr-line);
    border-radius:26px;
    background:linear-gradient(180deg, #fbfdff 0%, #f3f8ff 100%);
}
.tw-blog-related-head{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:14px;
    margin-bottom:18px;
}
.tw-blog-related-head span{display:inline-block; margin-bottom:8px; color:var(--twr-blue); font-size:.78rem; font-weight:820; letter-spacing:.04em; text-transform:uppercase;}
.tw-blog-related-head h2{margin:0; color:var(--twr-ink); font-size:clamp(1.35rem, 1.6vw, 1.8rem); line-height:1.08;}
.tw-blog-related-head a{color:var(--twr-blue); font-size:.9rem; font-weight:780; text-decoration:none; white-space:nowrap;}
.tw-blog-related-grid{display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:16px;}
.tw-blog-related-card{
    display:grid;
    grid-template-rows:auto auto auto 1fr auto;
    gap:12px;
    height:100%;
    padding:14px;
    border:1px solid #dfe8f7;
    border-radius:20px;
    background:#fff;
    text-decoration:none;
}
.tw-blog-related-media{display:block; overflow:hidden; border-radius:16px; background:#eef5ff;}
.tw-blog-related-media img{display:block; width:100%; aspect-ratio:1200 / 630; object-fit:cover;}
.tw-blog-related-placeholder{display:block; width:100%; aspect-ratio:1200 / 630; background:linear-gradient(135deg,#eaf1ff,#dfeafe);}
.tw-blog-related-meta{color:var(--twr-muted); font-size:.78rem; font-weight:680; line-height:1.3;}
.tw-blog-related h3{margin:0; color:var(--twr-ink); font-size:1.05rem; line-height:1.18;}
.tw-blog-related p{margin:0; color:var(--twr-text); font-size:.93rem; line-height:1.56; text-wrap:pretty;}
.tw-blog-related-link{display:inline-flex; align-items:center; gap:8px; color:var(--twr-blue); font-size:.9rem; font-weight:780;}

@media (max-width: 1180px){
    .tw-ratgeber-hero-inner{
        grid-template-columns:minmax(0,1.32fr) minmax(250px,.68fr);
        min-height:176px;
        padding:28px 32px;
    }
    .tw-ratgeber-hero-copy h1{max-width:620px;font-size:clamp(1.95rem,3.1vw,2.4rem);}
    .tw-blog-related-grid{grid-template-columns:repeat(2, minmax(0, 1fr));}
}
@media (min-width:921px) and (max-width:1180px){
    .tw-blog-shell{grid-template-columns:300px minmax(0,1fr);gap:28px;}
}
@media (max-width: 920px){
    .tw-ratgeber-hero-inner{
        grid-template-columns:minmax(0,1fr) 220px;
        gap:22px;
        min-height:164px;
        padding:26px 28px;
    }
    .tw-ratgeber-hero-copy h1{max-width:none;font-size:clamp(1.8rem,4vw,2.2rem);}
    .tw-ratgeber-hero-copy p{font-size:.94rem;}
    .tw-blog-shell{grid-template-columns:minmax(0,1fr)!important;gap:22px!important;width:min(100% - 28px,820px)!important;}
    .tw-blog-aside,.tw-blog-content{width:100%!important;max-width:100%!important;min-width:0!important;}
    .tw-blog-related-grid{grid-template-columns:1fr;}
}
@media (max-width: 680px){
    .tw-ratgeber-hero{border-radius:20px;}
    .tw-ratgeber-hero-inner{
        grid-template-columns:1fr;
        gap:0;
        min-height:0;
        padding:24px 20px 25px;
    }
    .tw-ratgeber-hero-copy h1{
        font-size:clamp(1.72rem,8vw,2.05rem);
        line-height:1.12;
    }
    .tw-ratgeber-hero-copy p{
        margin-top:10px;
        font-size:.92rem;
        line-height:1.5;
    }
    .tw-ratgeber-hero-visual{display:none;}
    .tw-blog-related{padding:20px 16px;}
    .tw-blog-related-head{flex-direction:column;align-items:flex-start;}
}


/* v1.0 – finaler Feinschliff: Breadcrumbs, kompakter Single-Hero, Related-Slider */
.tw-blog-progress{display:none!important;}
.tw-blog-breadcrumb{display:flex;align-items:center;flex-wrap:wrap;gap:8px;width:min(1280px,calc(100% - 48px));margin:16px auto 10px;padding:2px 0 0;color:#667b99;font-size:13px;font-weight:720;line-height:1.4;}
.tw-blog-breadcrumb a{color:inherit;text-decoration:none}.tw-blog-breadcrumb a:hover,.tw-blog-breadcrumb a:focus-visible{color:var(--twr-blue);text-decoration:none}.tw-blog-breadcrumb [aria-current="page"]{color:#2a4267;font-weight:800}
.tw-blog-hero{padding:12px 0 18px!important;}
.tw-blog-hero-inner{grid-template-columns:minmax(0,1.16fr) minmax(340px,.84fr)!important;gap:clamp(24px,3vw,40px)!important;margin-top:0!important;padding:clamp(24px,2.5vw,34px)!important;border-radius:26px!important;}
.tw-blog-hero-inner.no-image{grid-template-columns:1fr!important;}
.tw-blog-hero-copy h1{max-width:none!important;font-size:clamp(2.2rem,3.15vw,3.45rem)!important;line-height:1.05!important;letter-spacing:-.035em!important;text-wrap:balance;}
.tw-blog-categories{margin-bottom:12px!important}.tw-blog-meta{margin-top:16px!important;gap:9px!important}.tw-blog-meta span{min-height:38px!important;padding:0 14px!important;font-size:.86rem!important}
.tw-blog-meta .tw-blog-meta-updated{display:inline-flex;align-items:center;gap:.30em!important;}
.tw-blog-meta .tw-blog-meta-updated time{margin:0!important;}
.tw-blog-hero-figure{min-height:0!important}.tw-blog-hero-figure img{aspect-ratio:1200/630!important;object-fit:cover!important;border-radius:20px!important;}

.tw-blog-related{position:relative;margin-top:28px!important;padding:20px 18px 16px!important;border-top:0!important;}
.tw-blog-related::before{content:"";position:absolute;top:0;left:0;right:0;height:1px;background:#d9e2f0;}
.tw-blog-related-head{display:flex;align-items:center!important;justify-content:space-between;gap:16px;margin-bottom:12px!important;padding:0!important;border:0!important;}
.tw-blog-related-head>div>span{display:none!important}.tw-blog-related-head h2{margin:0!important}.tw-blog-related-actions{display:flex!important;align-items:center;gap:12px}.tw-blog-related-actions>a{display:inline-flex;align-items:center;min-height:40px;white-space:nowrap}
.tw-blog-related-arrows{display:flex;align-items:center;gap:8px}
.tw-blog-related-arrows button{position:relative;display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;padding:0;border:1px solid #d4deec;border-radius:12px;background:#fff;color:#5d728f;font-size:0;line-height:1;cursor:pointer;box-shadow:none;transition:border-color .15s ease,background .15s ease,color .15s ease}
.tw-blog-related-arrows button::before{content:"";display:block;width:8px;height:8px;border-top:2px solid currentColor;border-right:2px solid currentColor}
.tw-blog-related-arrows [data-tw-related-prev]::before{transform:rotate(-135deg);margin-left:3px}
.tw-blog-related-arrows [data-tw-related-next]::before{transform:rotate(45deg);margin-right:3px}
.tw-blog-related-arrows button:hover,.tw-blog-related-arrows button:focus-visible{border-color:#b8d2f2;background:#f4f8ff;color:var(--twr-blue);outline:none}
.tw-blog-related-arrows button:disabled{border-color:#e0e7f0;background:#f9fbfd;color:#9aa9bc;opacity:1;cursor:default}
.tw-blog-related-grid{display:grid!important;grid-auto-flow:column!important;grid-auto-columns:calc((100% - 40px)/3)!important;grid-template-columns:none!important;gap:20px!important;overflow-x:auto!important;scroll-snap-type:x mandatory;scrollbar-width:none;padding:1px 1px 0;overscroll-behavior-inline:contain;}
.tw-blog-related-grid::-webkit-scrollbar{display:none}.tw-blog-related-grid>article{scroll-snap-align:start;min-width:0}.tw-blog-related-card{height:100%;gap:11px!important}.tw-blog-related-card p{display:none!important}.tw-blog-related-card h3{margin-bottom:0!important}.tw-blog-related-media img{aspect-ratio:1200/630!important;object-fit:cover!important}

@media (max-width:1024px){
 .tw-blog-breadcrumb{width:min(100% - 34px,1100px);margin:13px auto 8px;font-size:12.5px}.tw-blog-hero{padding:8px 0 14px!important}.tw-blog-hero-inner{grid-template-columns:minmax(0,1fr) minmax(300px,.82fr)!important;padding:24px!important;gap:22px!important}.tw-blog-hero-copy h1{font-size:clamp(2.05rem,4.5vw,3rem)!important}.tw-blog-related-grid{grid-auto-columns:calc((100% - 18px)/2)!important;gap:18px!important}
}
@media (max-width:767px){
 .tw-blog-breadcrumb{width:calc(100% - 28px);gap:6px;margin:12px auto 10px;padding:0;font-size:11.8px;line-height:1.35}.tw-blog-breadcrumb .tw-blog-breadcrumb-current-sep,.tw-blog-breadcrumb [aria-current="page"]{display:none}
 .tw-blog-hero{padding:0 0 12px!important}.tw-blog-hero-inner{grid-template-columns:1fr!important;padding:18px!important;border-radius:20px!important}.tw-blog-hero-copy h1{font-size:clamp(1.76rem,8vw,2.12rem)!important;line-height:1.09!important;letter-spacing:-.024em!important}.tw-blog-hero-figure{order:-1}.tw-blog-hero-figure img{border-radius:16px!important}.tw-blog-meta{margin-top:18px!important;gap:9px!important}.tw-blog-meta span{min-height:37px!important;padding:0 13px!important;font-size:.84rem!important}.tw-blog-shell{width:calc(100% - 20px)!important;gap:17px!important}
 .tw-blog-toc,.tw-blog-latest{padding:17px 16px}.tw-blog-toc-head{margin-bottom:4px}.tw-blog-toc-head-actions{gap:6px}.tw-blog-toc strong{font-size:1.03rem}.tw-blog-toc-pin{display:inline-flex}.tw-blog-toc a{padding:8px 9px;font-size:.84rem;line-height:1.42}.tw-blog-content{font-size:.99rem;line-height:1.76}.tw-blog-content h2{font-size:clamp(1.38rem,6vw,1.72rem);line-height:1.18}.tw-blog-content h3{font-size:clamp(1.14rem,4.8vw,1.42rem);line-height:1.24}
 .tw-blog-related{margin-top:26px!important;padding:18px 15px 15px!important}.tw-blog-related-head{align-items:stretch!important;flex-direction:column;gap:10px;margin-bottom:12px!important}.tw-blog-related-head h2{font-size:1.62rem!important;line-height:1.1!important}.tw-blog-related-actions{width:100%;display:grid!important;grid-template-columns:auto 1fr;align-items:center;gap:12px!important}.tw-blog-related-actions>a{justify-self:end;min-height:38px!important;font-size:.9rem!important}.tw-blog-related-arrows{gap:7px}.tw-blog-related-arrows button{width:39px;height:39px;border-radius:12px;color:#426385}.tw-blog-related-grid{grid-auto-columns:88%!important;gap:14px!important;padding-bottom:0!important}.tw-blog-related-card{padding:12px!important;border-radius:18px!important;gap:10px!important}.tw-blog-related-card h3{font-size:1.01rem!important;line-height:1.25!important}.tw-blog-related-meta{font-size:.79rem!important;line-height:1.34!important}.tw-blog-related-link{font-size:.88rem!important}
 body.tw-blog-toc-overlay-open::before{content:"";position:fixed;inset:0;background:rgba(7,21,47,.28);z-index:9985} body.tw-blog-toc-overlay-open{overflow:hidden} body.tw-blog-toc-overlay-open .tw-blog-toc{position:fixed!important;left:12px;right:12px;top:max(12px,calc(env(safe-area-inset-top) + 12px));bottom:12px;z-index:9990;max-height:none;overflow:auto;border-radius:20px;box-shadow:0 24px 64px rgba(11,31,71,.18)} body.tw-blog-toc-overlay-open .tw-blog-toc-head{position:sticky;top:0;z-index:2;margin:-1px -1px 8px;padding:1px 1px 11px;background:#fff;border-bottom:1px solid #e5ebf3} body.tw-blog-toc-overlay-open .tw-blog-toc-pin{display:inline-flex} body.tw-blog-toc-overlay-open .tw-blog-toc-close{display:inline-flex} .tw-blog-toc-reopen{display:inline-flex}
}


/* ============================================================
   Ratgeber v1.0 – Kartenlayout wie Referenz
   Desktop/Tablet: drei bzw. zwei gleich hohe Karten mit ruhigem Bild,
   Themenchip, 3-zeiligem Titel, 4-zeiliger Vorschau, Meta-Chips und
   vollbreitem CTA. Mobile nutzt dieselbe Gestaltung ohne starre Höhe.
   ============================================================ */
.tw-ratgeber-cards.is-grid{align-items:stretch}
.tw-ratgeber-cards.is-grid .tw-ratgeber-card{display:flex;height:100%;flex-direction:column}
.tw-ratgeber-cards.is-grid .tw-ratgeber-card-media{flex:0 0 auto}
.tw-ratgeber-cards.is-grid .tw-ratgeber-card-body{
  display:grid;
  grid-template-rows:auto auto auto 1fr;
  gap:0;
  flex:1 1 auto;
  align-content:start;
  padding:18px 18px 16px;
}
.tw-ratgeber-cards.is-grid .tw-ratgeber-card-category{
  width:100%;
  min-width:0;
  min-height:38px;
  margin:0 0 16px;
  padding:8px 12px;
  gap:7px;
  justify-content:center;
  box-sizing:border-box;
  font-size:.79rem;
}
.tw-ratgeber-cards.is-grid .tw-ratgeber-card-category > span:last-child{
  min-width:0;
  max-width:calc(100% - 24px);
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  text-align:center;
}
.tw-ratgeber-cards.is-grid .tw-ratgeber-card-category.is-long{
  gap:6px;
  padding-inline:10px;
  font-size:.74rem;
  letter-spacing:-.006em;
}
.tw-ratgeber-cards.is-grid .tw-ratgeber-card-category.is-very-long{
  gap:5px;
  padding-inline:8px;
  font-size:.70rem;
  letter-spacing:-.012em;
}
.tw-ratgeber-cards.is-grid .tw-ratgeber-card-category-icon,
.tw-ratgeber-cards.is-grid .tw-ratgeber-card-category-icon svg{
  width:17px;
  height:17px;
  flex-basis:17px;
}
.tw-ratgeber-cards.is-grid .tw-ratgeber-card-category-icon svg{
  transform:translateY(-.5px);
}
.tw-ratgeber-cards.is-grid .tw-ratgeber-card h3{
  display:-webkit-box;
  height:3.9em;
  min-height:3.9em;
  max-height:3.9em;
  margin:0 0 11px;
  overflow:hidden;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
}
.tw-ratgeber-cards.is-grid .tw-ratgeber-card p{
  display:-webkit-box;
  height:6.4em;
  min-height:6.4em;
  max-height:6.4em;
  margin:0 0 16px;
  overflow:hidden!important;
  overflow:clip!important;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:4;
  line-height:1.60;
  contain:paint;
}
.tw-ratgeber-cards.is-grid .tw-ratgeber-card-footer{
  align-self:stretch;
  display:grid;
  grid-template-rows:auto auto;
  gap:10px;
  margin-top:auto;
}
.tw-ratgeber-cards.is-grid .tw-ratgeber-card-meta{
  display:grid;
  grid-template-columns:max-content max-content;
  justify-content:start;
  align-items:center;
  gap:8px;
  width:100%;
}
.tw-ratgeber-cards.is-grid .tw-ratgeber-card-meta span{
  justify-content:center;
  min-width:0;
  min-height:34px;
  padding:0 10px;
  gap:5px;
  font-size:.74rem;
  white-space:nowrap;
}
.tw-ratgeber-cards.is-grid .tw-ratgeber-meta-icon{
  width:15px;
  height:15px;
  flex-basis:15px;
}
.tw-ratgeber-cards.is-grid .tw-ratgeber-card-link{min-height:44px}

@media (min-width:681px) and (max-width:1180px){
  .tw-ratgeber-cards.is-grid .tw-ratgeber-card-body{padding:17px;gap:0;grid-template-rows:auto auto auto 1fr}
  .tw-ratgeber-cards.is-grid .tw-ratgeber-card-category{margin-bottom:15px}
  .tw-ratgeber-cards.is-grid .tw-ratgeber-card-category.is-long{font-size:.72rem}
  .tw-ratgeber-cards.is-grid .tw-ratgeber-card-category.is-very-long{font-size:.68rem;padding-inline:7px}
  .tw-ratgeber-cards.is-grid .tw-ratgeber-card h3{height:4.02em;min-height:4.02em;max-height:4.02em;margin-bottom:10px;font-size:1.12rem;line-height:1.34}
  .tw-ratgeber-cards.is-grid .tw-ratgeber-card p{height:6.24em;min-height:6.24em;max-height:6.24em;margin-bottom:15px;font-size:.90rem;line-height:1.56}
  .tw-ratgeber-cards.is-grid .tw-ratgeber-card-meta{grid-template-columns:max-content max-content;gap:7px}
  .tw-ratgeber-cards.is-grid .tw-ratgeber-card-meta span{min-height:33px;padding-inline:9px;font-size:.73rem}
  .tw-ratgeber-card-link{min-height:42px}
}

@media (max-width:680px){
  .tw-ratgeber-cards.is-grid .tw-ratgeber-card-body{display:flex;gap:0;padding:16px}
  .tw-ratgeber-cards.is-grid .tw-ratgeber-card-category{margin-bottom:14px}
  .tw-ratgeber-cards.is-grid .tw-ratgeber-card-category.is-long{font-size:.72rem}
  .tw-ratgeber-cards.is-grid .tw-ratgeber-card-category.is-very-long{font-size:.67rem;padding-inline:7px}
  .tw-ratgeber-cards.is-grid .tw-ratgeber-card h3{display:block;height:auto;min-height:0;max-height:none;margin:0 0 10px;overflow:visible;-webkit-line-clamp:unset}
  .tw-ratgeber-cards.is-grid .tw-ratgeber-card p{display:-webkit-box;height:auto;min-height:0;max-height:6.08em;margin:0 0 14px;overflow:hidden!important;overflow:clip!important;-webkit-box-orient:vertical;-webkit-line-clamp:4;line-height:1.52;contain:paint}
  .tw-ratgeber-cards.is-grid .tw-ratgeber-card-footer{display:grid;gap:9px;margin-top:2px}
  .tw-ratgeber-cards.is-grid .tw-ratgeber-card-meta{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  .tw-ratgeber-cards.is-grid .tw-ratgeber-card-meta span{width:100%;padding-inline:7px;font-size:.72rem}
}

@media (max-width:380px){
  .tw-ratgeber-cards.is-grid .tw-ratgeber-card-meta span{font-size:.69rem;padding-inline:6px;gap:4px}
  .tw-ratgeber-cards.is-grid .tw-ratgeber-meta-icon{width:14px;height:14px;flex-basis:14px}
}

/* ============================================================
   MOBILE-ONLY FEINSCHLIFF 19.08.2026 (<= 767 px)
   Bewusst ausschließlich Smartphone-Breakpoints. Desktop und
   Tablet bleiben unverändert.
   ============================================================ */
@media (max-width: 767px) {
    .tw-ratgeber {
        width: min(100% - 20px, 680px);
        padding-bottom: 26px;
    }

    .tw-ratgeber-hero {
        margin-bottom: 18px;
        border-radius: 20px;
    }

    .tw-ratgeber-hero-inner {
        padding: 22px 18px 23px;
    }

    .tw-ratgeber-hero-copy h1 {
        font-size: clamp(1.64rem, 7.4vw, 1.9rem);
        line-height: 1.08;
        letter-spacing: -.025em;
        text-wrap: pretty;
    }

    .tw-ratgeber-hero-copy h1 span {
        display: inline;
    }

    .tw-ratgeber-hero-copy p {
        margin-top: 11px;
        font-size: .91rem;
        line-height: 1.48;
        text-wrap: pretty;
    }

    .tw-ratgeber-inner {
        gap: 18px;
        margin-top: 18px;
    }

    .tw-ratgeber-filterbox {
        padding: 16px;
        border-radius: 20px;
    }

    .tw-ratgeber-field {
        margin-top: 15px;
        padding-top: 15px;
    }

    .tw-ratgeber-checks {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 8px;
        margin-top: 15px;
    }

    .tw-ratgeber-checks label,
    .tw-ratgeber-checks label:last-child {
        justify-self: start;
        gap: 6px;
        white-space: nowrap;
    }

    .tw-ratgeber-checks label:last-child {
        justify-self: end;
    }

    .tw-ratgeber-submitrow {
        margin-top: 16px;
        padding-top: 16px;
    }

    .tw-ratgeber-submit {
        width: 100% !important;
        min-height: 50px !important;
        font-size: .91rem !important;
    }

    .tw-ratgeber-strip,
    .tw-ratgeber-results,
    .tw-ratgeber-latestbox {
        border-radius: 20px;
    }

    .tw-ratgeber-strip,
    .tw-ratgeber-latestbox {
        padding: 16px;
    }

    /* Auf Smartphones klarer Abstand zwischen Kategorien und Ergebnisbereich. */
    .tw-ratgeber-strip {
        margin-bottom: 16px;
    }

    .tw-ratgeber-strip-head {
        margin-bottom: 11px;
    }

    .tw-ratgeber-chips {
        gap: 7px;
        padding: 1px 12px 2px 1px;
        scroll-snap-type: x proximity;
        scroll-padding-inline: 1px 12px;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .tw-ratgeber-chips::-webkit-scrollbar {
        display: none;
    }

    .tw-ratgeber-chip {
        min-height: 35px;
        padding-inline: 10px;
        font-size: .79rem;
        scroll-snap-align: start;
    }

    .tw-ratgeber-results {
        padding: 16px;
    }

    .tw-ratgeber-toolbar {
        display: grid;
        grid-template-columns: 1fr;
        gap: 13px;
        align-items: stretch;
        padding-bottom: 14px;
    }

    .tw-ratgeber-toolbar-left strong {
        margin-bottom: 0;
        font-size: 1.02rem;
    }

    .tw-ratgeber-activefilters {
        margin-top: 9px;
    }

    .tw-ratgeber-toolbar-right {
        display: block;
        width: 100%;
        margin-left: 0;
    }

    .tw-ratgeber-toolbar-sort {
        width: 100%;
        min-width: 0;
    }

    .tw-ratgeber-toolbar-sort label {
        margin-bottom: 6px;
        font-size: .76rem;
    }

    .tw-ratgeber-toolbar-sort select {
        min-height: 46px;
        padding-right: 38px;
        font-size: .86rem;
    }

    /* Mobile bewusst nur eine Kartenansicht: Grid-/Listen-Umschalter ausblenden. */
    .tw-ratgeber-viewtoggle {
        display: none !important;
    }

    .tw-ratgeber-cards {
        gap: 14px;
        margin-top: 14px;
    }

    .tw-ratgeber-card {
        border-radius: 16px;
    }

    .tw-ratgeber-card-body,
    .tw-ratgeber-cards.is-list .tw-ratgeber-card-body {
        gap: 11px;
        padding: 16px;
    }

    .tw-ratgeber-card h3 {
        font-size: 1.15rem;
        line-height: 1.30;
        text-wrap: pretty;
    }

    .tw-ratgeber-card p,
    .tw-ratgeber-cards.is-grid .tw-ratgeber-card p {
        display: -webkit-box;
        height: auto;
        min-height: 0;
        max-height: 6.08em;
        overflow: hidden !important;
        overflow: clip !important;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 4;
        line-height: 1.52;
        contain: paint;
    }

    .tw-ratgeber-card-footer {
        gap: 10px;
        align-items: stretch;
    }

    .tw-ratgeber-card-meta {
        gap: 6px;
    }

    .tw-ratgeber-card-meta span {
        min-height: 32px;
        padding: 0 10px;
        font-size: .75rem;
    }

    .tw-ratgeber-meta-icon {
        width: 15px;
        height: 15px;
        flex-basis: 15px;
    }

    .tw-ratgeber-card-link {
        min-height: 42px;
        padding: 0 12px;
        font-size: .81rem;
    }

    .tw-ratgeber-pagination {
        margin-top: 16px;
    }

    .tw-ratgeber-pages {
        gap: 7px;
    }

    .tw-ratgeber-pages .page-numbers {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }

    /* „Neueste Beiträge“ ist auf Mobile redundant und wird dort vollständig ausgeblendet. */
    .tw-ratgeber-latestbox {
        display: none !important;
    }

    /* Auch bei einer alten URL mit tw_ratg_view=list bleibt die mobile Karte im
       einheitlichen Smartphone-Layout, damit nach Entfernen des Umschalters keine
       zweite versteckte Darstellungsvariante weiterwirkt. */
    .tw-ratgeber-cards.is-list .tw-ratgeber-card {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .tw-ratgeber-cards.is-list .tw-ratgeber-card-media {
        width: 100%;
        margin: 0;
        border-radius: 0;
        aspect-ratio: 1200 / 630;
    }

    .tw-ratgeber-cards.is-list .tw-ratgeber-card-media img {
        object-fit: cover;
        background: #f3f7fe;
    }

    .tw-ratgeber-cards.is-list .tw-ratgeber-card-body {
        min-height: 0;
        justify-content: flex-start;
        padding: 16px;
    }

    .tw-ratgeber-cards.is-list .tw-ratgeber-card h3 {
        font-size: 1.14rem;
        line-height: 1.22;
    }

    .tw-ratgeber-cards.is-list .tw-ratgeber-card p {
        display: -webkit-box;
        max-width: none;
        max-height: 6.08em;
        overflow: hidden !important;
        overflow: clip !important;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 4;
        font-size: .92rem;
        line-height: 1.52;
        contain: paint;
    }
}

/* ============================================================
   Ratgeber v1.0 – responsiver Filter, konsolidiert
   Desktop: klassischer dauerhaft sichtbarer Sidebar-Filter.
   Tablet/Mobile: ein gemeinsamer Drawer nach dem ToolWissen-Prinzip.
   Keine zweite Filterlogik, keine parallelen Override-Bloecke.
   ============================================================ */
.tw-ratgeber-mobile-filterbar,
.tw-ratgeber-mobile-filter-panel-head,
.tw-ratgeber-filter-backdrop,
.tw-ratgeber-hero-title-mobile,
.tw-ratgeber-hero-intro-mobile {
    display: none !important;
}
.tw-ratgeber-hero-title-standard,
.tw-ratgeber-hero-intro-standard {
    display: inline !important;
}

/* Desktop verwendet wieder den ursprünglichen, immer sichtbaren Sidebar-Filter.
   Die Drawer-Regeln darunter gelten ausschließlich bis 1024 px. */

@media (max-width: 767px) {
    .tw-ratgeber-hero-title-standard,
    .tw-ratgeber-hero-intro-standard {
        display: none !important;
    }
    .tw-ratgeber-hero-title-mobile,
    .tw-ratgeber-hero-intro-mobile {
        display: inline !important;
    }
}

@media (max-width: 1024px) {
    /* Breiten absichern, damit der Drawer keine horizontale Seite erzeugt. */
    .tw-ratgeber-inner,
    .tw-ratgeber-main,
    .tw-ratgeber-strip,
    .tw-ratgeber-results,
    .tw-ratgeber-toolbar,
    .tw-ratgeber-toolbar-left,
    .tw-ratgeber-toolbar-right,
    .tw-ratgeber-toolbar-sort,
    .tw-ratgeber-cards,
    .tw-ratgeber-card,
    .tw-ratgeber-card-media,
    .tw-ratgeber-card-body,
    .tw-ratgeber-card h3,
    .tw-ratgeber-card h3 a,
    .tw-ratgeber-card p,
    .tw-ratgeber-card-footer {
        min-width: 0 !important;
        max-width: 100% !important;
    }
    .tw-ratgeber-main,
    .tw-ratgeber-strip,
    .tw-ratgeber-results,
    .tw-ratgeber-cards,
    .tw-ratgeber-card,
    .tw-ratgeber-card-media,
    .tw-ratgeber-card-body {
        width: 100% !important;
    }
    .tw-ratgeber-card h3,
    .tw-ratgeber-card h3 a,
    .tw-ratgeber-card p {
        overflow-wrap: break-word;
        word-break: normal;
    }

    /* Steuerleiste: optisch nah an /tools/. */
    .tw-ratgeber-mobile-filterbar {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 10px !important;
        width: 100% !important;
        margin: 0 0 14px !important;
        padding: 9px 10px !important;
        border: 1px solid #e1e8f1 !important;
        border-radius: 13px !important;
        background: #fbfdff !important;
        box-shadow: none !important;
    }
    .tw-ratgeber-mobile-filter-open {
        -webkit-appearance: none !important;
        appearance: none !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex: 0 0 auto !important;
        gap: 6px !important;
        width: auto !important;
        min-width: 0 !important;
        min-height: 40px !important;
        height: 40px !important;
        margin: 0 !important;
        padding: 0 10px !important;
        border: 1px solid #d6e0ec !important;
        border-radius: 9px !important;
        background: #fff !important;
        color: #162b48 !important;
        box-shadow: none !important;
        text-shadow: none !important;
        transform: none !important;
        font: inherit !important;
        font-size: 13px !important;
        font-weight: 850 !important;
        line-height: 1 !important;
        cursor: pointer !important;
    }
    .tw-ratgeber-mobile-filter-open:hover,
    .tw-ratgeber-mobile-filter-open:focus,
    .tw-ratgeber-mobile-filter-open:active,
    .tw-ratgeber-mobile-filter-open:focus-visible {
        border-color: #a9c8ec !important;
        background: #f2f7ff !important;
        color: #075bd7 !important;
        box-shadow: none !important;
        outline: none !important;
        transform: none !important;
    }
    .tw-ratgeber-mobile-filter-open-icon {
        display: inline-grid !important;
        place-items: center !important;
        flex: 0 0 16px !important;
        width: 16px !important;
        height: 16px !important;
        border: 0 !important;
        background: transparent !important;
        color: currentColor !important;
    }
    .tw-ratgeber-mobile-filter-open-icon svg {
        display: block !important;
        width: 16px !important;
        height: 16px !important;
        fill: none !important;
        stroke: currentColor !important;
        stroke-width: 2 !important;
        stroke-linecap: round !important;
        stroke-linejoin: round !important;
    }
    .tw-ratgeber-mobile-filter-open-label {
        min-width: 0 !important;
        font-size: 13px !important;
        font-weight: 850 !important;
        line-height: 1 !important;
    }
    .tw-ratgeber-mobile-filter-count {
        display: grid !important;
        place-items: center !important;
        flex: 0 0 auto !important;
        min-width: 21px !important;
        height: 21px !important;
        padding: 0 5px !important;
        border: 0 !important;
        border-radius: 999px !important;
        background: #edf5ff !important;
        color: #0870dd !important;
        font-size: 10.5px !important;
        font-weight: 850 !important;
        line-height: 1 !important;
    }
    .tw-ratgeber-mobile-filter-count[hidden] { display: none !important; }
    .tw-ratgeber-mobile-filter-summary {
        display: block !important;
        min-width: 0 !important;
        margin-left: auto !important;
        color: #64748a !important;
        font-size: 11px !important;
        font-weight: 760 !important;
        line-height: 1.3 !important;
        text-align: right !important;
        white-space: nowrap !important;
    }

    .tw-ratgeber-inner {
        display: block !important;
        margin-top: 0 !important;
    }

    /* Gemeinsamer Drawer. Auto-Hoehe verhindert auf Tablet den grossen Leerraum,
       max-height sorgt auf Mobile weiterhin fuer einen sauber scrollbaren Filter. */
    .tw-ratgeber-sidebar {
        position: fixed !important;
        z-index: 10022 !important;
        top: 0 !important;
        bottom: auto !important;
        left: 0 !important;
        width: min(350px, calc(100vw - 20px)) !important;
        max-width: calc(100vw - 20px) !important;
        height: auto !important;
        max-height: 100vh !important;
        max-height: 100dvh !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        touch-action: pan-y !important;
        box-sizing: border-box !important;
        border: 0 !important;
        border-right: 1px solid #dde6f0 !important;
        border-radius: 0 18px 18px 0 !important;
        background: #fff !important;
        box-shadow: 0 22px 64px rgba(7, 24, 48, .22) !important;
        transform: translate3d(calc(-100% - 2px), 0, 0) !important;
        transition: transform .22s ease !important;
        visibility: hidden !important;
        pointer-events: none !important;
        contain: layout paint;
    }
    .tw-ratgeber.is-mobile-filter-open .tw-ratgeber-sidebar {
        transform: translate3d(0, 0, 0) !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }
    body.admin-bar .tw-ratgeber-sidebar { top: 0 !important; }

    .tw-ratgeber-mobile-filter-panel-head {
        position: sticky !important;
        top: 0 !important;
        z-index: 5 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 10px !important;
        min-height: 66px !important;
        padding: 0 14px 0 16px !important;
        border-bottom: 1px solid #e2eaf4 !important;
        background: #fff !important;
    }
    .tw-ratgeber-mobile-filter-panel-head > strong {
        color: var(--twr-ink) !important;
        font-size: 1.02rem !important;
        font-weight: 880 !important;
        line-height: 1.1 !important;
    }
    .tw-ratgeber-mobile-filter-panel-actions {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
    }
    .tw-ratgeber-mobile-filter-panel-actions > a {
        color: var(--twr-blue) !important;
        font-size: .76rem !important;
        font-weight: 760 !important;
        text-decoration: none !important;
    }
    .tw-ratgeber-mobile-filter-panel-actions > button[data-tw-ratgeber-filter-close] {
        -webkit-appearance: none !important;
        appearance: none !important;
        display: grid !important;
        place-items: center !important;
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        min-height: 44px !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 1px solid #d9e2ec !important;
        border-radius: 999px !important;
        background: #fff !important;
        background-image: none !important;
        color: #0d63d8 !important;
        -webkit-text-fill-color: #0d63d8 !important;
        cursor: pointer !important;
        box-shadow: none !important;
        text-shadow: none !important;
        outline: none !important;
        filter: none !important;
        transform: none !important;
    }
    .tw-ratgeber-mobile-filter-panel-actions > button[data-tw-ratgeber-filter-close]:hover,
    .tw-ratgeber-mobile-filter-panel-actions > button[data-tw-ratgeber-filter-close]:focus,
    .tw-ratgeber-mobile-filter-panel-actions > button[data-tw-ratgeber-filter-close]:focus-visible,
    .tw-ratgeber-mobile-filter-panel-actions > button[data-tw-ratgeber-filter-close]:active {
        border-color: #bfd0e4 !important;
        background: #f8fbff !important;
        color: #075bd7 !important;
        -webkit-text-fill-color: #075bd7 !important;
        box-shadow: none !important;
        outline: none !important;
        transform: none !important;
    }
    .tw-ratgeber-mobile-filter-panel-actions > button[data-tw-ratgeber-filter-close] svg {
        width: 20px !important;
        height: 20px !important;
        fill: none !important;
        stroke: currentColor !important;
        stroke-width: 1.8 !important;
        stroke-linecap: round !important;
        stroke-linejoin: round !important;
    }

    /* Das Formular ist die einzige Scrollflaeche im Drawer.
       Wichtig: Scrollen mit Finger, Trackpad und Mausrad bleibt hier erlaubt;
       nur die Seite hinter dem offenen Drawer wird gesperrt. */
    .tw-ratgeber-sidebar .tw-ratgeber-filterbox {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        max-height: calc(100vh - 66px) !important;
        max-height: calc(100dvh - 66px) !important;
        margin: 0 !important;
        padding: 16px !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        overscroll-behavior-y: contain !important;
        scrollbar-gutter: auto !important;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-y !important;
        box-sizing: border-box !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        background: #fff !important;
    }
    .tw-ratgeber-sidebar .tw-ratgeber-filterhead { display: none !important; }
    .tw-ratgeber-sidebar .tw-ratgeber-field-search {
        margin-top: 0 !important;
        padding-top: 0 !important;
        border-top: 0 !important;
    }
    .tw-ratgeber-sidebar .tw-ratgeber-field {
        margin-top: 17px !important;
        padding-top: 17px !important;
        border-top-color: #e7edf4 !important;
    }

    /* Abschluss ohne zweite Scroll-/Sticky-Ebene: Der Button gehoert normal zum
       Formular. Das vermeidet den weissen Block und macht das Scrollverhalten
       auf Mobile und Tablet identisch und vorhersehbar. */
    .tw-ratgeber-sidebar .tw-ratgeber-submitrow {
        position: static !important;
        bottom: auto !important;
        z-index: auto !important;
        width: auto !important;
        margin: 18px 0 0 !important;
        padding: 16px 0 2px !important;
        border-top: 1px solid #e2eaf4 !important;
        background: transparent !important;
        box-shadow: none !important;
    }
    .tw-ratgeber-sidebar .tw-ratgeber-submit {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        max-width: none !important;
        min-height: 50px !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        border-radius: 11px !important;
        box-shadow: none !important;
    }
    .tw-ratgeber-sidebar .tw-ratgeber-submit:hover,
    .tw-ratgeber-sidebar .tw-ratgeber-submit:focus,
    .tw-ratgeber-sidebar .tw-ratgeber-submit:focus-visible {
        box-shadow: none !important;
    }

    .tw-ratgeber-filter-backdrop {
        position: fixed !important;
        z-index: 10021 !important;
        inset: 0 !important;
        display: block !important;
        border: 0 !important;
        background: rgba(7, 20, 39, .34) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transition: opacity .18s ease, visibility .18s ease !important;
    }
    .tw-ratgeber.is-mobile-filter-open .tw-ratgeber-filter-backdrop {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }
    body.tw-ratgeber-filter-lock {
        overflow: hidden !important;
    }
}

/* Tablet: etwas breiter, aber kompakt in der Hoehe. Der Abschluss ist bewusst
   weiss und ruhig; keine zweite farbige Flaeche unter dem Button. */
@media (min-width: 768px) and (max-width: 1024px) {
    .tw-ratgeber-sidebar {
        width: min(410px, calc(100vw - 36px)) !important;
        max-width: calc(100vw - 36px) !important;
        border-right-color: #dbe5f0 !important;
        border-radius: 0 18px 18px 0 !important;
        background: #fff !important;
        box-shadow: 0 20px 58px rgba(11, 31, 71, .18) !important;
    }
    .tw-ratgeber-mobile-filter-panel-head {
        min-height: 68px !important;
        padding: 0 16px 0 18px !important;
        border-bottom-color: #dfe8f2 !important;
        background: #fff !important;
    }
    .tw-ratgeber-sidebar .tw-ratgeber-filterbox {
        padding: 18px !important;
        background: #fff !important;
    }
    .tw-ratgeber-sidebar .tw-ratgeber-field {
        margin-top: 18px !important;
        padding-top: 18px !important;
        border-top-color: #e7edf4 !important;
    }
    .tw-ratgeber-sidebar .tw-ratgeber-field-search {
        margin-top: 0 !important;
        padding-top: 0 !important;
        border-top: 0 !important;
    }
    .tw-ratgeber-sidebar .tw-ratgeber-submitrow {
        position: static !important;
        width: auto !important;
        margin: 20px 0 0 !important;
        padding: 16px 0 2px !important;
        border-top: 1px solid #e2eaf4 !important;
        background: transparent !important;
        box-shadow: none !important;
    }
    .tw-ratgeber-sidebar .tw-ratgeber-submit {
        min-height: 52px !important;
        border-radius: 11px !important;
    }
    .tw-ratgeber-filter-backdrop {
        background: rgba(11, 31, 71, .28) !important;
    }
}

@media (max-width: 380px) {
    .tw-ratgeber-mobile-filterbar {
        gap: 8px !important;
        padding-inline: 9px !important;
    }
    .tw-ratgeber-mobile-filter-open {
        padding-inline: 9px !important;
        font-size: 12px !important;
    }
    .tw-ratgeber-mobile-filter-open-label { font-size: 12px !important; }
    .tw-ratgeber-mobile-filter-summary { font-size: 10.8px !important; }
    .tw-ratgeber-mobile-filter-panel-head {
        padding-left: 14px !important;
        padding-right: 12px !important;
    }
    .tw-ratgeber-sidebar .tw-ratgeber-filterbox { padding: 14px !important; }
    .tw-ratgeber-sidebar .tw-ratgeber-submitrow {
        margin: 17px 0 0 !important;
        padding: 13px 0 2px !important;
    }
}

/* ============================================================
   ToolWissen v1.0 – Ratgeber Beliebte Themen kompakter
   Nur leichter Feinschliff: Chips bleiben klar klickbar, nehmen
   im Desktop-Filter aber etwas weniger Höhe und Breite ein.
   ============================================================ */
.tw-ratgeber-tagcloud--sidebar a{
    min-height:31px;
    padding-inline:9px;
    font-size:.77rem;
    line-height:1.15;
}
.tw-ratgeber-field-topics .tw-ratgeber-field-title{
    margin-bottom:8px;
}


@media (max-width:430px){
    .tw-blog-hero-copy h1{font-size:clamp(1.66rem,7.7vw,1.98rem)!important;line-height:1.11!important;}
}

/* ============================================================
   Ratgeber v1.0 – Mobile Feinschliff 2026-08-26 (TOC / Single)
   ============================================================ */
@media (max-width:767px){
    .tw-blog-breadcrumb{
        width:calc(100% - 24px);
        gap:6px;
        margin:10px auto 12px;
        padding:0 2px;
        font-size:11.8px;
        line-height:1.4;
    }

    .tw-blog-hero{
        padding:0 0 14px!important;
    }

    .tw-blog-hero-inner{
        padding:20px 18px 19px!important;
        border-radius:20px!important;
    }

    .tw-blog-hero-copy h1{
        font-size:clamp(1.66rem,7.2vw,1.98rem)!important;
        line-height:1.1!important;
        letter-spacing:-.022em!important;
    }

    .tw-blog-meta{
        margin-top:20px!important;
        gap:10px!important;
    }

    .tw-blog-meta span{
        min-height:38px!important;
        padding:0 13px!important;
        font-size:.84rem!important;
    }

    .tw-blog-shell{
        width:calc(100% - 24px)!important;
        gap:18px!important;
    }

    .tw-blog-content{
        padding-inline:10px!important;
        font-size:1rem;
        line-height:1.8;
    }

    .tw-blog-content > *{
        max-width:100%;
    }

    .tw-blog-content p,
    .tw-blog-content ul,
    .tw-blog-content ol,
    .tw-blog-content blockquote,
    .tw-blog-content table{
        margin-left:0;
        margin-right:0;
    }

    .tw-blog-toc,
    .tw-blog-latest{
        padding:18px 16px;
    }

    .tw-blog-toc-head{
        margin-bottom:8px;
        align-items:center;
    }

    .tw-blog-toc strong{
        font-size:1.05rem;
    }

    .tw-blog-toc-head-actions{
        gap:8px;
    }

    .tw-blog-toc-pin,
    .tw-blog-toc-close{
        width:34px!important;
        height:34px!important;
        min-width:34px!important;
        min-height:34px!important;
        padding:0!important;
        border-radius:10px!important;
    }
    .tw-blog-toc-pin{
        font-size:1rem!important;
        line-height:1!important;
    }
    .tw-blog-toc-pin span{
        display:flex!important;
        align-items:center!important;
        justify-content:center!important;
        width:auto!important;
        height:auto!important;
        background:none!important;
        font-size:1rem!important;
        font-weight:850!important;
        line-height:1!important;
        transform:translateY(-.5px)!important;
    }
    .tw-blog-toc-pin span::before,
    .tw-blog-toc-pin span::after{display:none!important;}
    .tw-blog-toc-close svg{
        width:16px;
        height:16px;
        fill:none;
        stroke:currentColor;
        stroke-width:2;
        stroke-linecap:round;
    }

    .tw-blog-toc-reopen{
        right:12px;
        bottom:86px;
        min-height:36px;
        padding:0 13px;
        font-size:.82rem;
        border-radius:999px;
    }

    .tw-blog-related{
        position:relative;
        margin-top:28px!important;
        padding:19px 16px 16px!important;
    }

    .tw-blog-related::before{
        left:16px;
        right:16px;
        top:0;
        background:#dbe4f0!important;
    }

    .tw-blog-related-head{
        gap:12px!important;
        margin-bottom:15px!important;
    }

    .tw-blog-related-head h2{
        font-size:1.56rem!important;
        line-height:1.08!important;
        letter-spacing:-.02em;
    }

    .tw-blog-related-actions{
        width:100%;
        display:grid!important;
        grid-template-columns:auto 1fr;
        align-items:center;
        gap:12px!important;
    }

    .tw-blog-related-actions > a{
        justify-self:end;
        min-height:38px!important;
        font-size:.9rem!important;
    }

    .tw-blog-related-arrows button{
        width:38px;
        height:38px;
        border-radius:12px;
        color:#4f6584;
    }

    .tw-blog-related-grid{
        grid-auto-columns:88%!important;
        gap:14px!important;
        padding:1px 0 0!important;
    }

    .tw-blog-related-card{
        padding:12px!important;
        border-radius:18px!important;
    }

    body.tw-blog-toc-overlay-open .tw-blog-toc{
        left:12px;
        right:12px;
        top:max(12px,calc(env(safe-area-inset-top) + 12px));
        bottom:12px;
        padding:14px 14px 16px!important;
    }
    body.tw-blog-toc-overlay-open .tw-blog-toc-head{
        top:0!important;
        margin:-1px -1px 8px!important;
        padding:1px 1px 11px!important;
    }
}

/* ============================================================
   Ratgeber v1.0 – Singlepost Mobile: TOC-Schalter, Kategorien,
   Neueste Beiträge an sinnvoller Position
   ============================================================ */
.tw-blog-categories-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-bottom:12px;
}
.tw-blog-categories-row .tw-blog-categories{
    flex:1 1 auto;
    min-width:0;
    margin-bottom:0!important;
}
.tw-blog-category-filter-toggle{
    display:none;
    flex:0 0 auto;
    align-items:center;
    justify-content:center;
    width:36px;
    height:36px;
    min-width:36px;
    padding:0;
    border:1px solid #d4deec;
    border-radius:11px;
    background:#fff;
    color:#294260;
    box-shadow:none;
    cursor:pointer;
    transition:background .16s ease,border-color .16s ease,color .16s ease,box-shadow .16s ease;
}
.tw-blog-category-filter-toggle svg{
    width:17px;
    height:17px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.8;
    stroke-linecap:round;
}
.tw-blog-category-filter-toggle:hover,
.tw-blog-category-filter-toggle:focus-visible{
    border-color:#a9c9ee;
    background:#f3f8ff;
    color:var(--twr-blue);
    outline:none;
}
.tw-blog-category-filter-toggle.is-active,
.tw-blog-category-filter-toggle[aria-expanded="true"]{
    border-color:var(--twr-blue);
    background:var(--twr-blue);
    color:#fff;
    box-shadow:0 6px 16px rgba(13,99,243,.16);
}
.tw-blog-category-filter-float{
    display:none;
    position:fixed;
    left:10px;
    bottom:86px;
    z-index:9960;
    align-items:center;
    justify-content:center;
    width:38px;
    height:38px;
    min-width:38px;
    padding:0;
    border:1px solid #cfdbea;
    border-radius:12px;
    background:#fff;
    color:#294260;
    box-shadow:0 8px 20px rgba(11,31,71,.12);
    cursor:pointer;
    opacity:0;
    transform:translateX(-12px);
    pointer-events:none;
    transition:opacity .16s ease,transform .16s ease,background .16s ease,border-color .16s ease,color .16s ease;
}
.tw-blog-category-filter-float svg{
    width:17px;
    height:17px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.8;
    stroke-linecap:round;
}
.tw-blog-category-filter-float.is-visible{
    opacity:1;
    transform:none;
    pointer-events:auto;
}
.tw-blog-category-filter-float.is-active,
.tw-blog-category-filter-float[aria-expanded="true"]{
    border-color:var(--twr-blue);
    background:var(--twr-blue);
    color:#fff;
}
.tw-blog-category-filter[hidden]{display:none!important;}
.tw-blog-category-filter{
    margin:0 0 16px;
    padding:12px;
    border:1px solid #dbe5f2;
    border-radius:16px;
    background:#fff;
    box-shadow:0 12px 28px rgba(11,31,71,.08);
}
.tw-blog-category-filter-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-bottom:9px;
}
.tw-blog-category-filter-head strong{
    color:var(--twr-ink);
    font-size:.92rem;
    font-weight:820;
}
.tw-blog-category-filter-head button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:32px;
    height:32px;
    min-width:32px;
    padding:0;
    border:1px solid #d5dfec;
    border-radius:9px;
    background:#fff;
    color:#405674;
    font:inherit;
    line-height:1;
    cursor:pointer;
}
.tw-blog-category-filter-head button svg{
    width:15px;
    height:15px;
    fill:none;
    stroke:currentColor;
    stroke-width:2;
    stroke-linecap:round;
}
.tw-blog-category-filter-links{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:7px;
}
.tw-blog-category-filter-links a{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:8px;
    min-width:0;
    padding:9px 10px;
    border:1px solid #e0e7f1;
    border-radius:11px;
    background:#fbfdff;
    color:#2f496b;
    font-size:.8rem;
    font-weight:720;
    line-height:1.25;
    text-decoration:none;
}
.tw-blog-category-filter-links a span{
    color:#7b8aa1;
    font-size:.74rem;
    font-weight:700;
}
.tw-blog-category-filter-links a:hover,
.tw-blog-category-filter-links a:focus-visible,
.tw-blog-category-filter-links a.is-current{
    border-color:#b9d4f3;
    background:#eef5ff;
    color:var(--twr-blue-dark);
    outline:none;
}
.tw-blog-category-filter-links .tw-blog-category-filter-all{
    grid-column:1/-1;
    color:var(--twr-blue);
}

.tw-blog-latest-mobile{display:none;}

.tw-blog-toc-pin[aria-pressed="true"]{
    border-color:var(--twr-blue)!important;
    background:var(--twr-blue)!important;
    color:#fff!important;
    box-shadow:0 5px 14px rgba(13,99,243,.18)!important;
}
.tw-blog-toc-reopen{
    width:36px;
    min-width:36px;
    height:36px;
    min-height:36px;
    padding:0;
    border-radius:50%;
    font-size:.98rem;
    font-weight:850;
}
.tw-blog-toc-reopen span{
    display:block;
    transform:translateY(-.5px);
}
.tw-blog-toc-reopen.is-visible{
    border-color:var(--twr-blue);
    background:var(--twr-blue);
    color:#fff;
    box-shadow:0 9px 22px rgba(13,99,243,.22);
}
.tw-blog-toc-reopen.is-visible:hover,
.tw-blog-toc-reopen.is-visible:focus-visible{
    border-color:var(--twr-blue-dark);
    background:var(--twr-blue-dark);
    color:#fff;
}

@media (max-width:767px){
    .tw-blog-category-filter-toggle{display:inline-flex;}
    .tw-blog-category-filter-float{display:inline-flex;}

    .tw-blog-category-filter{
        position:fixed!important;
        left:12px!important;
        right:auto!important;
        top:max(12px,calc(env(safe-area-inset-top) + 12px))!important;
        bottom:12px!important;
        width:min(86vw,340px)!important;
        max-height:none!important;
        margin:0!important;
        padding:14px!important;
        overflow:auto!important;
        overscroll-behavior:auto!important;
        z-index:9970!important;
        border-radius:18px!important;
        box-shadow:0 22px 54px rgba(11,31,71,.2)!important;
    }
    .tw-blog-category-filter-head{
        position:sticky;
        top:-14px;
        z-index:2;
        margin:0 -1px 10px;
        padding:0 1px 11px;
        background:#fff;
        border-bottom:1px solid #e5ebf3;
    }

    .tw-blog-categories-row{
        align-items:flex-start;
        margin-bottom:16px;
    }

    .tw-blog-categories{
        gap:7px;
    }

    .tw-blog-category-filter{
        margin-top:-6px;
        margin-bottom:18px;
    }

    .tw-blog-category-filter-links{
        grid-template-columns:1fr;
    }

    .tw-blog-latest-desktop{
        display:none!important;
    }

    .tw-blog-latest-mobile{
        display:block;
        margin-top:18px;
        padding:18px 16px;
        border:1px solid var(--twr-line);
        border-radius:20px;
        background:#fff;
    }

    .tw-blog-latest-mobile .tw-blog-latest-list{
        gap:10px;
        margin-top:12px;
    }

    .tw-blog-latest-mobile .tw-blog-latest-list article{
        padding:13px 14px;
    }

    .tw-blog-toc-reopen{
        right:12px;
        bottom:86px;
        width:36px;
        min-width:36px;
        height:36px;
        min-height:36px;
        padding:0;
        font-size:.98rem;
    }
}

/* ============================================================
   ToolWissen v1.0 – Singlepost Interaktion & Rhythmus final
   2026-08-26: TOC-Schnellzugriff, Ratgeber-Filter, Suchfelder,
   robuste Overlay-Positionierung und einheitliche Abstände.
   ============================================================ */
.tw-blog-shell{
    margin-bottom:48px!important;
}
.tw-blog-breadcrumb{
    margin-top:14px!important;
    margin-bottom:8px!important;
}
.tw-blog-hero{
    margin-top:0!important;
    margin-bottom:20px!important;
}
.tw-blog-hero-copy h1{
    margin-top:0!important;
    margin-bottom:0!important;
}
.tw-blog-related{
    margin-bottom:0!important;
}

/* Artikelwerkzeuge oben: TOC-Aktivierung + klassischer Filter-Trichter. */
.tw-blog-single-tools{
    display:none;
    flex:0 0 auto;
    align-items:center;
    gap:8px;
}
.tw-blog-toc-quick-toggle,
.tw-blog-category-filter-toggle{
    appearance:none;
    border:1px solid #d4deec;
    background:#fff;
    color:#294260;
    box-shadow:none;
    cursor:pointer;
    transition:background .16s ease,border-color .16s ease,color .16s ease,box-shadow .16s ease;
}
.tw-blog-toc-quick-toggle{
    display:none;
    align-items:center;
    justify-content:center;
    gap:7px;
    min-width:0;
    height:36px;
    min-height:36px;
    padding:0 10px;
    border-radius:11px;
    font:inherit;
    font-size:.78rem;
    font-weight:780;
    line-height:1;
}
.tw-blog-toc-quick-toggle svg,
.tw-blog-category-filter-toggle svg,
.tw-blog-category-filter-float svg{
    width:17px;
    height:17px;
    flex:0 0 auto;
    fill:none;
    stroke:currentColor;
    stroke-width:1.8;
    stroke-linecap:round;
    stroke-linejoin:round;
}
.tw-blog-toc-quick-toggle svg circle{
    fill:currentColor;
    stroke:none;
}
.tw-blog-toc-quick-toggle:hover,
.tw-blog-toc-quick-toggle:focus-visible,
.tw-blog-category-filter-toggle:hover,
.tw-blog-category-filter-toggle:focus-visible{
    border-color:#a9c9ee;
    background:#f3f8ff;
    color:var(--twr-blue);
    outline:none;
}
.tw-blog-toc-quick-toggle[aria-pressed="true"],
.tw-blog-category-filter-toggle.is-active,
.tw-blog-category-filter-toggle[aria-expanded="true"]{
    border-color:var(--twr-blue);
    background:var(--twr-blue);
    color:#fff;
    box-shadow:0 6px 16px rgba(13,99,243,.16);
}

/* Kategorie-Drawer mit Suche. */
.tw-blog-category-filter-backdrop[hidden]{display:none!important;}
.tw-blog-category-filter-kicker{
    display:block;
    margin:0 0 3px;
    color:#72809a;
    font-size:.68rem;
    font-weight:820;
    letter-spacing:.055em;
    line-height:1.15;
    text-transform:uppercase;
}
.tw-blog-category-filter-head > div{
    min-width:0;
}
.tw-blog-category-filter-search{
    display:flex;
    align-items:center;
    gap:9px;
    min-height:46px;
    margin:0 0 8px;
    padding:0 8px 0 12px;
    border:1px solid #d7e1ee;
    border-radius:13px;
    background:#fff;
    color:#516783;
}
.tw-blog-category-filter-search > svg{
    width:18px;
    height:18px;
    flex:0 0 auto;
    fill:none;
    stroke:currentColor;
    stroke-width:1.8;
    stroke-linecap:round;
}
.tw-blog-category-filter-search input{
    min-width:0;
    flex:1 1 auto;
    height:42px;
    padding:0;
    border:0!important;
    outline:0!important;
    background:transparent!important;
    color:var(--twr-ink)!important;
    font:inherit;
    font-size:.9rem;
    box-shadow:none!important;
}
.tw-blog-category-filter-search input::placeholder{color:#91a0b4;opacity:1;}
.tw-blog-category-filter-search button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:32px;
    height:32px;
    min-width:32px;
    padding:0;
    border:0;
    border-radius:9px;
    background:transparent;
    color:#5f718b;
    cursor:pointer;
}
.tw-blog-category-filter-search button svg{
    width:15px;
    height:15px;
    fill:none;
    stroke:currentColor;
    stroke-width:2;
    stroke-linecap:round;
}
.tw-blog-category-filter-search button:hover,
.tw-blog-category-filter-search button:focus-visible{
    background:#eef5ff;
    color:var(--twr-blue);
    outline:none;
}
.tw-blog-category-filter-status{
    min-height:18px;
    margin:0 2px 8px;
    color:#7b8aa1;
    font-size:.72rem;
    font-weight:680;
    line-height:1.25;
}
.tw-blog-category-filter-empty{
    margin:10px 2px 2px;
    color:#6e7f98;
    font-size:.84rem;
    line-height:1.45;
}

/* TOC-Suche: bewusst kompakt, aber mit zwei klaren Suchmodi. */
.tw-blog-toc-search{
    display:none;
    margin:10px 0 8px;
}
.tw-blog-toc-search-field{
    display:flex;
    align-items:center;
    gap:8px;
    min-height:44px;
    padding:0 7px 0 11px;
    border:1px solid #d7e1ee;
    border-radius:12px;
    background:#fff;
    color:#526984;
}
.tw-blog-toc-search-field > svg{
    width:17px;
    height:17px;
    flex:0 0 auto;
    fill:none;
    stroke:currentColor;
    stroke-width:1.8;
    stroke-linecap:round;
}
.tw-blog-toc-search-field input{
    min-width:0;
    flex:1 1 auto;
    height:40px;
    padding:0;
    border:0!important;
    outline:0!important;
    background:transparent!important;
    color:var(--twr-ink)!important;
    font:inherit;
    font-size:.86rem;
    box-shadow:none!important;
}
.tw-blog-toc-search-field input::placeholder{color:#91a0b4;opacity:1;}
.tw-blog-toc-search-field button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:30px;
    height:30px;
    min-width:30px;
    padding:0;
    border:0;
    border-radius:8px;
    background:transparent;
    color:#60728c;
    cursor:pointer;
}
.tw-blog-toc-search-field button svg{
    width:14px;
    height:14px;
    fill:none;
    stroke:currentColor;
    stroke-width:2;
    stroke-linecap:round;
}
.tw-blog-toc-search-options{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:8px;
    margin-top:7px;
}
.tw-blog-toc-search-modes{
    display:inline-flex;
    align-items:center;
    gap:4px;
    padding:3px;
    border:1px solid #e0e7f1;
    border-radius:10px;
    background:#f8fbff;
}
.tw-blog-toc-search-modes button{
    min-height:28px;
    padding:0 8px;
    border:0;
    border-radius:7px;
    background:transparent;
    color:#61728a;
    font:inherit;
    font-size:.72rem;
    font-weight:760;
    line-height:1;
    cursor:pointer;
}
.tw-blog-toc-search-modes button[aria-pressed="true"]{
    background:#eaf3ff;
    color:var(--twr-blue-dark);
}
.tw-blog-toc-search-options > span{
    color:#7a899f;
    font-size:.7rem;
    font-weight:680;
    white-space:nowrap;
}
.tw-blog-toc-search-empty{
    margin:9px 4px 2px;
    color:#6f8098;
    font-size:.82rem;
    line-height:1.45;
}

/* TOC-Aktionsicons exakt gleich groß und optisch zentriert. */
.tw-blog-toc-pin,
.tw-blog-toc-close{
    width:36px!important;
    height:36px!important;
    min-width:36px!important;
    min-height:36px!important;
    padding:0!important;
    border-radius:10px!important;
    display:none;
    align-items:center!important;
    justify-content:center!important;
}
.tw-blog-toc-pin svg,
.tw-blog-toc-close svg{
    display:block;
    width:16px!important;
    height:16px!important;
    margin:0!important;
    transform:none!important;
    fill:none;
    stroke:currentColor;
    stroke-width:2;
    stroke-linecap:round;
    stroke-linejoin:round;
}
.tw-blog-toc-pin svg circle{
    fill:currentColor;
    stroke:none;
}
.tw-blog-toc-pin[aria-pressed="true"]{
    border-color:var(--twr-blue)!important;
    background:var(--twr-blue)!important;
    color:#fff!important;
    box-shadow:0 5px 14px rgba(13,99,243,.18)!important;
}
.tw-blog-toc-backdrop{
    display:none;
}
.tw-blog-toc-backdrop[hidden]{display:none!important;}
body.tw-blog-toc-overlay-open::before{content:none!important;}

@media (max-width:1024px){
    .tw-blog-single-tools{display:flex;}
    .tw-blog-toc-quick-toggle{display:inline-flex;}
    .tw-blog-category-filter-toggle{display:inline-flex!important;}
    .tw-blog-categories-row{
        align-items:flex-start!important;
        gap:10px!important;
        margin-bottom:16px!important;
    }
    .tw-blog-categories-row .tw-blog-categories{
        gap:7px!important;
    }

    .tw-blog-breadcrumb{
        width:min(100% - 36px,1100px)!important;
        margin:11px auto 8px!important;
        padding:0!important;
    }
    .tw-blog-hero{
        margin:0 auto 18px!important;
        padding:0!important;
    }
    .tw-blog-hero-inner{
        padding:24px!important;
    }
    .tw-blog-shell{
        margin-bottom:40px!important;
    }

    .tw-blog-category-filter-backdrop{
        position:fixed;
        inset:0;
        z-index:9965;
        display:block;
        border:0;
        background:rgba(7,21,47,.28);
        cursor:default;
    }
    .tw-blog-category-filter{
        position:fixed!important;
        z-index:9970!important;
        top:max(12px,calc(env(safe-area-inset-top) + 12px))!important;
        bottom:12px!important;
        left:12px!important;
        right:auto!important;
        width:min(390px,calc(100vw - 24px))!important;
        max-height:none!important;
        margin:0!important;
        padding:15px!important;
        overflow:auto!important;
        overscroll-behavior:auto!important;
        border-radius:18px!important;
        background:#fff!important;
        box-shadow:0 22px 54px rgba(11,31,71,.22)!important;
    }
    .tw-blog-category-filter-head{
        position:sticky!important;
        top:-15px!important;
        z-index:3!important;
        min-height:48px;
        margin:0 -1px 11px!important;
        padding:2px 1px 11px!important;
        background:#fff!important;
        border-bottom:1px solid #e5ebf3!important;
    }
    .tw-blog-category-filter-head button{
        width:36px!important;
        height:36px!important;
        min-width:36px!important;
        border-radius:10px!important;
    }
    .tw-blog-category-filter-links{
        grid-template-columns:1fr!important;
        gap:8px!important;
    }
    .tw-blog-category-filter-links a{
        min-height:43px;
        padding:10px 11px!important;
        font-size:.84rem!important;
    }

    /* Filter folgt links, ähnlich einem vertrauten Seitenfilter. */
    .tw-blog-category-filter-float{
        display:inline-flex!important;
        position:fixed!important;
        left:8px!important;
        right:auto!important;
        top:50%!important;
        bottom:auto!important;
        width:40px!important;
        height:40px!important;
        min-width:40px!important;
        border-radius:50%!important;
        opacity:0;
        transform:translate(-12px,-50%)!important;
        pointer-events:none;
        z-index:9960!important;
    }
    .tw-blog-category-filter-float.is-visible{
        opacity:1!important;
        transform:translate(0,-50%)!important;
        pointer-events:auto!important;
    }
    .tw-blog-category-filter-float.is-active,
    .tw-blog-category-filter-float[aria-expanded="true"]{
        opacity:0!important;
        pointer-events:none!important;
    }

    .tw-blog-toc-search{display:block;}
    .tw-blog-toc-pin{display:inline-flex!important;}
    body.tw-blog-toc-overlay-open .tw-blog-toc-close{display:inline-flex!important;}

    /* Der Overlay-Inhalt wird per JS direkt unter <body> geportalt. Dadurch
       beginnt das Fenster wirklich am Viewport und nicht in einem Layout-Elternteil. */
    .tw-blog-toc-backdrop{
        position:fixed;
        inset:0;
        z-index:9985;
        display:block;
        border:0;
        background:rgba(7,21,47,.30);
        cursor:default;
    }
    body.tw-blog-toc-overlay-open{
        overflow:hidden!important;
    }
    body.tw-blog-toc-overlay-open .tw-blog-toc{
        position:fixed!important;
        z-index:9990!important;
        top:max(10px,calc(env(safe-area-inset-top) + 10px))!important;
        bottom:auto!important;
        left:50%!important;
        right:auto!important;
        width:min(560px,calc(100vw - 24px))!important;
        height:auto!important;
        max-width:none!important;
        max-height:calc(100dvh - 20px)!important;
        margin:0!important;
        padding:14px 14px 16px!important;
        overflow:auto!important;
        overscroll-behavior:contain!important;
        transform:translateX(-50%)!important;
        border-radius:20px!important;
        background:#fff!important;
        box-shadow:0 24px 64px rgba(11,31,71,.22)!important;
    }
    body.tw-blog-toc-overlay-open .tw-blog-toc-head{
        position:sticky!important;
        top:-14px!important;
        z-index:4!important;
        min-height:50px;
        margin:0 -1px 8px!important;
        padding:2px 1px 11px!important;
        background:#fff!important;
        border-bottom:1px solid #e5ebf3!important;
    }
    body.tw-blog-toc-overlay-open .tw-blog-toc-search{
        position:relative;
        z-index:1;
        margin-top:4px!important;
    }

    .tw-blog-toc-reopen{
        right:12px!important;
        bottom:86px!important;
        width:38px!important;
        height:38px!important;
        min-width:38px!important;
        min-height:38px!important;
        padding:0!important;
        border-radius:50%!important;
        font-size:1rem!important;
        line-height:1!important;
    }
    .tw-blog-toc-reopen span{
        display:flex!important;
        align-items:center!important;
        justify-content:center!important;
        width:100%;
        height:100%;
        font-size:1rem!important;
        font-weight:850!important;
        line-height:1!important;
        transform:translateY(-.5px)!important;
    }
}

@media (max-width:767px){
    .tw-blog-breadcrumb{
        width:calc(100% - 24px)!important;
        gap:6px!important;
        margin:8px auto 8px!important;
        font-size:11.6px!important;
        line-height:1.38!important;
    }
    .tw-blog-hero{
        margin-bottom:16px!important;
    }
    .tw-blog-hero-inner{
        padding:18px!important;
        border-radius:20px!important;
    }
    .tw-blog-categories-row{
        margin-bottom:17px!important;
    }
    .tw-blog-categories a{
        min-height:32px!important;
        padding:0 10px!important;
        font-size:.75rem!important;
    }
    .tw-blog-single-tools{gap:7px;}
    .tw-blog-toc-quick-toggle{
        width:36px;
        min-width:36px;
        padding:0;
    }
    .tw-blog-toc-quick-toggle span{
        position:absolute!important;
        width:1px!important;
        height:1px!important;
        padding:0!important;
        margin:-1px!important;
        overflow:hidden!important;
        clip:rect(0,0,0,0)!important;
        white-space:nowrap!important;
        border:0!important;
    }
    .tw-blog-hero-copy h1{
        font-size:clamp(1.64rem,7.2vw,1.96rem)!important;
        line-height:1.11!important;
        letter-spacing:-.022em!important;
    }
    .tw-blog-meta{
        margin-top:18px!important;
        gap:9px!important;
    }
    .tw-blog-meta span{
        min-height:38px!important;
        padding:0 12px!important;
        font-size:.82rem!important;
    }
    .tw-blog-shell{
        width:calc(100% - 24px)!important;
        gap:18px!important;
        margin-bottom:32px!important;
    }
    .tw-blog-content{
        padding-inline:14px!important;
        font-size:.99rem!important;
        line-height:1.78!important;
    }
    .tw-blog-content p,
    .tw-blog-content li{
        line-height:1.78!important;
    }
    .tw-blog-content h2{
        margin-top:1.9em!important;
        margin-bottom:.65em!important;
    }
    .tw-blog-content h3{
        margin-top:1.55em!important;
        margin-bottom:.55em!important;
    }

    .tw-blog-toc,
    .tw-blog-latest{
        padding:17px 15px!important;
    }
    .tw-blog-toc-head{
        min-height:38px;
        margin-bottom:7px!important;
    }
    .tw-blog-toc-head-actions{gap:7px!important;}
    .tw-blog-toc a{
        padding:9px 9px!important;
        font-size:.84rem!important;
        line-height:1.43!important;
    }
    .tw-blog-toc ol{
        gap:5px!important;
        margin-top:9px!important;
    }
    .tw-blog-toc-search-options{
        align-items:flex-start;
        flex-direction:column;
        gap:6px;
    }

    body.tw-blog-toc-overlay-open .tw-blog-toc{
        top:max(8px,calc(env(safe-area-inset-top) + 8px))!important;
        bottom:auto!important;
        left:10px!important;
        right:10px!important;
        width:auto!important;
        height:auto!important;
        max-height:calc(100dvh - 16px)!important;
        transform:none!important;
        border-radius:18px!important;
    }
    body.tw-blog-toc-overlay-open .tw-blog-toc-head{
        top:-14px!important;
        min-height:48px;
    }

    .tw-blog-category-filter{
        top:max(8px,calc(env(safe-area-inset-top) + 8px))!important;
        bottom:8px!important;
        left:8px!important;
        width:min(88vw,350px)!important;
        padding:14px!important;
    }
    .tw-blog-category-filter-head{
        top:-14px!important;
    }
    .tw-blog-category-filter-float{
        left:7px!important;
        width:38px!important;
        height:38px!important;
        min-width:38px!important;
    }

    .tw-blog-related{
        margin-top:26px!important;
        padding:20px 15px 15px!important;
        border-radius:21px!important;
    }
    .tw-blog-related::before{
        top:0!important;
        left:15px!important;
        right:15px!important;
        height:1px!important;
        background:#d9e3ef!important;
    }
    .tw-blog-related-head{
        gap:11px!important;
        margin-bottom:14px!important;
    }
    .tw-blog-related-head h2{
        font-size:1.48rem!important;
        line-height:1.12!important;
    }
    .tw-blog-related-actions{
        grid-template-columns:auto minmax(0,1fr)!important;
        gap:10px!important;
    }
    .tw-blog-related-arrows button{
        width:38px!important;
        height:38px!important;
        border-radius:11px!important;
        color:#426385!important;
    }
    .tw-blog-related-actions > a{
        justify-self:end!important;
        min-height:38px!important;
        padding-inline:2px;
        font-size:.88rem!important;
    }
    .tw-blog-related-grid{
        grid-auto-columns:90%!important;
        gap:13px!important;
    }
}

@media (max-width:380px){
    .tw-blog-hero-inner{padding:16px!important;}
    .tw-blog-breadcrumb{width:calc(100% - 20px)!important;}
    .tw-blog-shell{width:calc(100% - 20px)!important;}
    .tw-blog-content{padding-inline:12px!important;}
    .tw-blog-categories-row{gap:8px!important;}
    .tw-blog-single-tools{gap:6px;}
    .tw-blog-toc-quick-toggle,
    .tw-blog-category-filter-toggle{
        width:34px!important;
        height:34px!important;
        min-width:34px!important;
        min-height:34px!important;
    }
    .tw-blog-related{padding-inline:13px!important;}
    .tw-blog-related::before{left:13px!important;right:13px!important;}
}

/* ============================================================
   ToolWissen v1.0 – Singlepost Kategorienfilter final gehärtet
   Mobile + Tablet: geschlossen starten, echter linker Filter-
   Drawer, volle Kategoriesuche, vertraute Auswahlzeilen.
   Desktop bleibt unverändert.
   ============================================================ */
html body .tw-blog-category-filter[hidden],
html body .tw-blog-category-filter-backdrop[hidden]{
    display:none!important;
    visibility:hidden!important;
    pointer-events:none!important;
}

@media (max-width:1024px){
    html body .tw-blog-category-filter:not([hidden]){
        display:flex!important;
        flex-direction:column!important;
        gap:0!important;
        top:max(14px,calc(env(safe-area-inset-top) + 14px))!important;
        bottom:max(14px,calc(env(safe-area-inset-bottom) + 14px))!important;
        left:max(14px,env(safe-area-inset-left))!important;
        width:min(430px,calc(100vw - 28px))!important;
        padding:16px!important;
        overflow-y:auto!important;
        overflow-x:hidden!important;
        overscroll-behavior:auto!important;
        scrollbar-gutter:stable!important;
        border:1px solid #d8e3f0!important;
        border-radius:20px!important;
        background:#fff!important;
        box-shadow:0 24px 62px rgba(9,28,64,.23)!important;
    }
    html body .tw-blog-category-filter-head{
        position:sticky!important;
        top:-16px!important;
        z-index:5!important;
        min-height:58px!important;
        margin:0 -2px 10px!important;
        padding:4px 2px 12px!important;
        border-bottom:1px solid #e2eaf4!important;
        background:#fff!important;
    }
    html body .tw-blog-category-filter-head strong{
        font-size:1.05rem!important;
        font-weight:900!important;
        color:#0b1f47!important;
    }
    html body .tw-blog-category-filter-kicker{
        margin-bottom:4px!important;
        color:#6a7c95!important;
        font-size:.7rem!important;
        font-weight:850!important;
        letter-spacing:.055em!important;
    }
    html body .tw-blog-category-filter-head button{
        width:40px!important;
        height:40px!important;
        min-width:40px!important;
        min-height:40px!important;
        border-radius:12px!important;
        color:#294260!important;
    }
    html body .tw-blog-category-filter-search{
        position:sticky!important;
        top:48px!important;
        z-index:4!important;
        min-height:50px!important;
        margin:0 0 8px!important;
        padding:0 9px 0 13px!important;
        border-color:#cad8e8!important;
        border-radius:14px!important;
        background:#fff!important;
        box-shadow:0 5px 12px rgba(11,31,71,.035)!important;
    }
    html body .tw-blog-category-filter-search input{
        height:46px!important;
        font-size:.94rem!important;
    }
    html body .tw-blog-category-filter-status{
        min-height:20px!important;
        margin:2px 2px 9px!important;
        color:#6e7f98!important;
        font-size:.74rem!important;
        font-weight:750!important;
    }
    html body .tw-blog-category-filter-links{
        display:grid!important;
        grid-template-columns:1fr!important;
        gap:7px!important;
        padding-bottom:2px!important;
    }
    html body .tw-blog-category-filter-links a{
        position:relative!important;
        display:grid!important;
        grid-template-columns:26px minmax(0,1fr) auto!important;
        align-items:center!important;
        justify-content:stretch!important;
        gap:10px!important;
        min-height:48px!important;
        padding:9px 11px!important;
        border:1px solid #dce6f1!important;
        border-radius:13px!important;
        background:#fbfdff!important;
        color:#294260!important;
        font-size:.88rem!important;
        font-weight:760!important;
        line-height:1.25!important;
    }
    html body .tw-blog-category-filter-links a::before{
        content:""!important;
        display:grid!important;
        place-items:center!important;
        width:24px!important;
        height:24px!important;
        border:1px solid #cbd8e8!important;
        border-radius:7px!important;
        background:#f3f7fb!important;
        color:#fff!important;
        font-size:.78rem!important;
        font-weight:950!important;
        line-height:1!important;
        box-sizing:border-box!important;
    }
    html body .tw-blog-category-filter-links a.is-current::before{
        content:"✓"!important;
        border-color:#0d63f3!important;
        background:#0d63f3!important;
    }
    html body .tw-blog-category-filter-links a > span{
        justify-self:end!important;
        color:#72839b!important;
        font-size:.76rem!important;
        font-weight:760!important;
    }
    html body .tw-blog-category-filter-links a:hover,
    html body .tw-blog-category-filter-links a:focus-visible,
    html body .tw-blog-category-filter-links a.is-current{
        border-color:#a9c9ee!important;
        background:#eef6ff!important;
        color:#0755c9!important;
        outline:none!important;
        box-shadow:none!important;
    }
    html body .tw-blog-category-filter-links .tw-blog-category-filter-all{
        grid-column:auto!important;
        color:#0d63f3!important;
    }
    html body .tw-blog-category-filter-links .tw-blog-category-filter-all::before{
        content:"≡"!important;
        border-color:#c9dbf1!important;
        background:#eef6ff!important;
        color:#0d63f3!important;
        font-size:1rem!important;
    }
    html body .tw-blog-category-filter-empty{
        margin:10px 2px 3px!important;
        padding:11px 12px!important;
        border:1px solid #e1e8f1!important;
        border-radius:12px!important;
        background:#f8fbff!important;
        color:#63758e!important;
        font-size:.84rem!important;
    }
}

@media (max-width:767px){
    html body .tw-blog-category-filter:not([hidden]){
        top:max(8px,calc(env(safe-area-inset-top) + 8px))!important;
        bottom:max(8px,calc(env(safe-area-inset-bottom) + 8px))!important;
        left:max(8px,env(safe-area-inset-left))!important;
        width:min(92vw,360px)!important;
        padding:14px!important;
        border-radius:18px!important;
    }
    html body .tw-blog-category-filter-head{
        top:-14px!important;
        min-height:54px!important;
        padding-bottom:10px!important;
    }
    html body .tw-blog-category-filter-search{
        top:44px!important;
        min-height:48px!important;
    }
    html body .tw-blog-category-filter-search input{
        height:44px!important;
        font-size:.9rem!important;
    }
    html body .tw-blog-category-filter-links a{
        min-height:46px!important;
        padding:8px 10px!important;
        font-size:.85rem!important;
    }
}


/* ============================================================
   ToolWissen v1.0 – Singlepost Filter-/TOC-Referenz 2026-08-26
   - Singlepost verwendet den bewährten Ratgeber-Archivfilter
   - Filter-Schnellzugriff verhält sich wie der TOC-Schnellzugriff
   - kompakte Werkzeug-Icons auf Mobile/Tablet
   - Breadcrumb/H1/Related nur gezielt rhythmisch korrigiert
   ============================================================ */
.tw-blog-ratgeber-filter-panel[hidden],
.tw-blog-ratgeber-filter-backdrop[hidden]{
    display:none!important;
}
.tw-blog-filter-reopen[hidden]{display:none!important;}

.tw-blog-filter-quick-toggle,
.tw-blog-filter-reopen{
    -webkit-appearance:none;
    appearance:none;
    align-items:center;
    justify-content:center;
    padding:0;
    border:1px solid #d4deec;
    background:#fff;
    color:#294260;
    box-shadow:none;
    cursor:pointer;
}
.tw-blog-filter-quick-toggle svg,
.tw-blog-filter-reopen svg{
    width:14px;
    height:14px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.9;
    stroke-linecap:round;
    stroke-linejoin:round;
}
.tw-blog-filter-quick-toggle[aria-pressed="true"]{
    border-color:var(--twr-blue)!important;
    background:var(--twr-blue)!important;
    color:#fff!important;
    box-shadow:0 5px 13px rgba(13,99,243,.14)!important;
}
.tw-blog-filter-quick-toggle:hover,
.tw-blog-filter-quick-toggle:focus-visible,
.tw-blog-filter-reopen:hover,
.tw-blog-filter-reopen:focus-visible{
    border-color:#a9c9ee;
    background:#f3f8ff;
    color:var(--twr-blue);
    outline:none;
}

@media (max-width:1024px){
    /* Kategorie und beide Werkzeuge sitzen auf derselben visuellen Flughoehe. */
    .tw-blog-categories-row{
        display:flex!important;
        align-items:center!important;
        gap:9px!important;
        margin-bottom:18px!important;
    }
    .tw-blog-categories-row .tw-blog-categories{
        flex:1 1 auto!important;
        min-width:0!important;
        align-items:center!important;
    }
    .tw-blog-single-tools{
        display:flex!important;
        flex:0 0 auto!important;
        align-items:center!important;
        gap:6px!important;
        margin-left:auto!important;
    }
    .tw-blog-toc-quick-toggle,
    .tw-blog-filter-quick-toggle{
        display:inline-flex!important;
        width:32px!important;
        min-width:32px!important;
        height:32px!important;
        min-height:32px!important;
        padding:0!important;
        border-radius:9px!important;
        font-size:0!important;
        line-height:1!important;
    }
    .tw-blog-toc-quick-toggle svg,
    .tw-blog-filter-quick-toggle svg{
        width:13px!important;
        height:13px!important;
    }
    .tw-blog-toc-quick-toggle span{display:none!important;}

    /* Gleichmaessige, etwas luftigere Breadcrumb-Zone. */
    .tw-blog-breadcrumb{
        width:min(100% - 32px,1100px)!important;
        margin:14px auto!important;
        padding:0!important;
        line-height:1.45!important;
    }

    /* H1 bekommt mehr Zeilenluft, ohne den Hero zu vergroessern. */
    .tw-blog-hero-copy h1{
        line-height:1.13!important;
    }

    /* Exakt derselbe Filterkasten wie auf /ratgeber/ – nur als Singlepost-Drawer. */
    .tw-blog-ratgeber-filter-panel:not([hidden]){
        transform:translate3d(0,0,0)!important;
        visibility:visible!important;
        pointer-events:auto!important;
    }
    .tw-blog-ratgeber-filter-backdrop:not([hidden]){
        display:block!important;
        opacity:1!important;
        visibility:visible!important;
        pointer-events:auto!important;
    }
    body.tw-blog-single-filter-open{
        overflow:hidden!important;
    }
    .tw-blog-ratgeber-filter-panel .tw-ratgeber-mobile-filter-panel-actions > button[data-tw-blog-filter-close]{
        display:grid!important;
    }

    /* Der aktivierte Filter-Schnellzugriff folgt links – analog zum TOC rechts. */
    .tw-blog-filter-reopen{
        display:inline-flex;
        position:fixed;
        z-index:9960;
        left:max(8px,env(safe-area-inset-left));
        top:50%;
        width:36px;
        min-width:36px;
        height:36px;
        min-height:36px;
        border-radius:50%;
        opacity:0;
        transform:translate(-12px,-50%);
        pointer-events:none;
        transition:opacity .16s ease,transform .16s ease,background .16s ease,border-color .16s ease,color .16s ease;
    }
    .tw-blog-filter-reopen.is-visible{
        opacity:1;
        transform:translate(0,-50%);
        pointer-events:auto;
    }
    .tw-blog-filter-reopen[aria-expanded="true"]{
        opacity:0!important;
        pointer-events:none!important;
    }

}

/* ============================================================
   ToolWissen v1.0 – Ratgeber Singlepost final konsolidiert
   2026-08-26
   - symmetrischer Divider vor „Ähnliche Ratgeber“
   - echte Artikelsuche im Inhaltsverzeichnis, standardmäßig zugeklappt
   - Filter-Drawer auf Archiv + Singlepost mit identischem Rhythmus
   - kleine, einheitliche Werkzeugicons auf Tablet/Mobile
   ============================================================ */

/* TOC-Artikelsuche: ohne Öffnung kein reservierter Leerraum. */
.tw-blog-toc-search[hidden],
.tw-blog-toc-search-results[hidden],
.tw-blog-toc-search-empty[hidden]{display:none!important;}
.tw-blog-toc-search-toggle{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:32px;
    min-width:32px;
    height:32px;
    min-height:32px;
    padding:0;
    border:1px solid #d7e1ee;
    border-radius:9px;
    background:#fff;
    color:#526984;
    cursor:pointer;
    box-shadow:none;
}
.tw-blog-toc-search-toggle svg{
    width:13px;
    height:13px;
    fill:none;
    stroke:currentColor;
    stroke-width:2;
    stroke-linecap:round;
    stroke-linejoin:round;
}
.tw-blog-toc-search-toggle:hover,
.tw-blog-toc-search-toggle:focus-visible{
    border-color:#b8d2f2;
    background:#f4f8ff;
    color:var(--twr-blue);
    outline:none;
}
.tw-blog-toc-search-toggle.is-active,
.tw-blog-toc-search-toggle[aria-expanded="true"]{
    border-color:#0b67ef;
    background:#0b67ef;
    color:#fff;
}
.tw-blog-toc-search{
    display:block;
    margin:9px 0 10px;
}
.tw-blog-toc-search-options{
    margin-top:8px;
    align-items:center;
}
.tw-blog-toc-search-results{
    display:grid;
    gap:7px;
    margin-top:9px;
}
.tw-blog-toc-search-result{
    display:grid;
    gap:3px;
    width:100%;
    min-height:0;
    padding:9px 10px;
    border:1px solid #dce5f0;
    border-radius:11px;
    background:#fff;
    color:var(--twr-text);
    text-align:left;
    cursor:pointer;
    box-shadow:none;
}
.tw-blog-toc-search-result strong{
    overflow:hidden;
    color:var(--twr-ink);
    font-size:.77rem;
    font-weight:850;
    line-height:1.3;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.tw-blog-toc-search-result span{
    display:-webkit-box;
    overflow:hidden;
    color:#60728c;
    font-size:.76rem;
    line-height:1.42;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:3;
}
.tw-blog-toc-search-result mark{
    padding:0 1px;
    border-radius:3px;
    background:#fff0a8;
    color:inherit;
}
.tw-blog-toc-search-result:hover,
.tw-blog-toc-search-result:focus-visible{
    border-color:#b8d2f2;
    background:#f6f9ff;
    outline:none;
}
.tw-blog-article-search-target{
    scroll-margin-top:110px!important;
    border-radius:6px;
    outline:3px solid rgba(11,103,239,.20)!important;
    background:rgba(232,243,255,.72)!important;
    transition:background .2s ease,outline-color .2s ease;
}

@media (max-width:1024px){
    /* Ein gemeinsamer, etwas luftigerer Drawer-Rhythmus auf Archiv + Singlepost. */
    .tw-ratgeber-sidebar .tw-ratgeber-mobile-filter-panel-head,
    .tw-blog-ratgeber-filter-panel .tw-ratgeber-mobile-filter-panel-head{
        min-height:64px!important;
        padding:0 15px 0 18px!important;
    }
    .tw-ratgeber-sidebar .tw-ratgeber-filterbox,
    .tw-blog-ratgeber-filter-panel .tw-ratgeber-filterbox{
        padding:16px 18px 21px!important;
    }
    .tw-ratgeber-sidebar .tw-ratgeber-field-search,
    .tw-blog-ratgeber-filter-panel .tw-ratgeber-field-search{
        margin:0!important;
        padding:0!important;
        border-top:0!important;
    }
    .tw-ratgeber-sidebar .tw-ratgeber-field-search > label,
    .tw-blog-ratgeber-filter-panel .tw-ratgeber-field-search > label{
        margin:0 0 9px!important;
    }
    .tw-ratgeber-sidebar .tw-ratgeber-field:not(.tw-ratgeber-field-search),
    .tw-blog-ratgeber-filter-panel .tw-ratgeber-field:not(.tw-ratgeber-field-search){
        margin-top:17px!important;
        padding-top:17px!important;
    }
    .tw-ratgeber-sidebar .tw-ratgeber-checks,
    .tw-blog-ratgeber-filter-panel .tw-ratgeber-checks{margin-top:12px!important;}
    .tw-ratgeber-sidebar .tw-ratgeber-field input[type="search"],
    .tw-ratgeber-sidebar .tw-ratgeber-field select,
    .tw-blog-ratgeber-filter-panel .tw-ratgeber-field input[type="search"],
    .tw-blog-ratgeber-filter-panel .tw-ratgeber-field select{min-height:50px!important;}
    .tw-ratgeber-sidebar .tw-ratgeber-search-inline,
    .tw-blog-ratgeber-filter-panel .tw-ratgeber-search-inline{
        grid-template-columns:minmax(0,1fr) 50px!important;
        gap:9px!important;
    }
    .tw-ratgeber-sidebar .tw-ratgeber-search-inline button,
    .tw-blog-ratgeber-filter-panel .tw-ratgeber-search-inline button{min-height:50px!important;}
    .tw-ratgeber-sidebar .tw-ratgeber-submitrow,
    .tw-blog-ratgeber-filter-panel .tw-ratgeber-submitrow{
        margin-top:19px!important;
        padding-top:17px!important;
    }

    /* Breadcrumbs/Hero: gleichmäßiger Rhythmus ohne unnötige Höhe. */
    .tw-blog-breadcrumb{
        width:min(100% - 32px,1100px)!important;
        margin:14px auto!important;
        padding:0!important;
        line-height:1.45!important;
    }
    .tw-blog-categories-row{gap:8px!important;margin-bottom:17px!important;}
    .tw-blog-hero-copy h1{line-height:1.14!important;}

    /* Beide Hero-Werkzeuge klein und exakt gleich groß. */
    .tw-blog-single-tools{gap:5px!important;}
    .tw-blog-toc-quick-toggle,
    .tw-blog-filter-quick-toggle{
        width:28px!important;
        min-width:28px!important;
        height:28px!important;
        min-height:28px!important;
        border-radius:8px!important;
    }
    .tw-blog-toc-quick-toggle svg,
    .tw-blog-filter-quick-toggle svg{width:11px!important;height:11px!important;}

    /* TOC: Kopf kompakt, Suche erst nach Klick; alle Aktionen gleich groß. */
    .tw-blog-toc{padding:14px 15px 15px!important;}
    .tw-blog-toc-head{min-height:32px!important;margin:0 0 8px!important;}
    .tw-blog-toc-head-actions{gap:5px!important;}
    .tw-blog-toc-pin,
    .tw-blog-toc-search-toggle,
    .tw-blog-toc-close{
        width:28px!important;
        min-width:28px!important;
        height:28px!important;
        min-height:28px!important;
        border-radius:8px!important;
    }
    .tw-blog-toc-pin svg,
    .tw-blog-toc-search-toggle svg,
    .tw-blog-toc-close svg{width:11px!important;height:11px!important;}
    .tw-blog-toc-search{margin:8px 0 10px!important;}
    .tw-blog-toc-search-options{margin-top:8px!important;}
    .tw-blog-toc ol{margin-top:10px!important;}
    body.tw-blog-toc-overlay-open .tw-blog-toc-search{margin-top:6px!important;}

}

@media (max-width:767px){
    .tw-ratgeber-sidebar .tw-ratgeber-mobile-filter-panel-head,
    .tw-blog-ratgeber-filter-panel .tw-ratgeber-mobile-filter-panel-head{
        min-height:62px!important;
        padding:0 12px 0 15px!important;
    }
    .tw-ratgeber-sidebar .tw-ratgeber-filterbox,
    .tw-blog-ratgeber-filter-panel .tw-ratgeber-filterbox{
        padding:14px 15px 18px!important;
    }
    .tw-ratgeber-sidebar .tw-ratgeber-field-search > label,
    .tw-blog-ratgeber-filter-panel .tw-ratgeber-field-search > label{margin-bottom:8px!important;}
    .tw-ratgeber-sidebar .tw-ratgeber-field:not(.tw-ratgeber-field-search),
    .tw-blog-ratgeber-filter-panel .tw-ratgeber-field:not(.tw-ratgeber-field-search){
        margin-top:16px!important;
        padding-top:16px!important;
    }
    .tw-ratgeber-sidebar .tw-ratgeber-checks,
    .tw-blog-ratgeber-filter-panel .tw-ratgeber-checks{margin-top:11px!important;}
    .tw-ratgeber-sidebar .tw-ratgeber-submitrow,
    .tw-blog-ratgeber-filter-panel .tw-ratgeber-submitrow{
        margin-top:18px!important;
        padding-top:16px!important;
    }

    .tw-blog-breadcrumb{
        width:calc(100% - 24px)!important;
        margin:12px auto!important;
        font-size:11.7px!important;
        line-height:1.45!important;
    }
    .tw-blog-toc-quick-toggle,
    .tw-blog-filter-quick-toggle{
        width:27px!important;
        min-width:27px!important;
        height:27px!important;
        min-height:27px!important;
    }
    .tw-blog-toc-quick-toggle svg,
    .tw-blog-filter-quick-toggle svg{width:10.5px!important;height:10.5px!important;}

    .tw-blog-toc{padding:13px 14px 14px!important;}
    .tw-blog-toc-head{min-height:31px!important;margin-bottom:7px!important;}
    .tw-blog-toc-pin,
    .tw-blog-toc-search-toggle,
    .tw-blog-toc-close{
        width:27px!important;
        min-width:27px!important;
        height:27px!important;
        min-height:27px!important;
        border-radius:8px!important;
    }
    .tw-blog-toc-pin svg,
    .tw-blog-toc-search-toggle svg,
    .tw-blog-toc-close svg{width:10.5px!important;height:10.5px!important;}
    .tw-blog-toc-search{margin:8px 0 9px!important;}
    .tw-blog-toc-search-field{min-height:43px!important;}
    .tw-blog-toc-search-options{margin-top:8px!important;}
    .tw-blog-toc-search-modes button{padding-inline:7px!important;font-size:.7rem!important;}
    .tw-blog-toc-search-result{padding:8px 9px!important;}

}

@media (max-width:380px){
    .tw-ratgeber-sidebar .tw-ratgeber-filterbox,
    .tw-blog-ratgeber-filter-panel .tw-ratgeber-filterbox{
        padding-left:14px!important;
        padding-right:14px!important;
    }
}

/* ============================================================
   ToolWissen v1.0 – Tablet Singlepost Werkzeugposition final
   2026-08-26
   Nur Tablet: TOC/Filter oben rechts im Hero statt zwischen
   Kategorien und Bild. Mobile und Desktop bleiben unverändert.
   ============================================================ */
@media (min-width:700px) and (max-width:1024px){
  .tw-blog-hero-inner.has-image{
    position:relative!important;
  }
  .tw-blog-hero-inner.has-image .tw-blog-hero-copy,
  .tw-blog-hero-inner.has-image .tw-blog-categories-row{
    position:static!important;
  }
  .tw-blog-hero-inner.has-image .tw-blog-single-tools{
    position:absolute!important;
    top:24px!important;
    right:24px!important;
    z-index:5!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:6px!important;
    margin:0!important;
  }
  .tw-blog-hero-inner.has-image .tw-blog-categories-row{
    padding-right:0!important;
  }
}

/* ============================================================
   ToolWissen v1.0 – Ratgeber Feinschliff aktuell
   2026-08-26 – konsolidierter Stand
   - Archiv- und Singlepost-Filter mit ruhigerem Suchbereich
   - Related-Bereich mit mathematisch gleichmäßiger Luft um den Trenner
   - Mobile Breadcrumbs inkl. Artikeltitel
   - Mobile Hero-Typografie kompakter und sauber zentriert
   ============================================================ */

/* Beide Ratgeber-Filter: etwas mehr Luft unter der Suche; rechter Schalter
   bleibt bewusst ein Stück vom Rand entfernt. */
@media (max-width:1024px){
  .tw-ratgeber-sidebar .tw-ratgeber-checks,
  .tw-blog-ratgeber-filter-panel .tw-ratgeber-checks{
    margin-top:15px!important;
    padding:0 7px 0 1px!important;
    gap:9px!important;
  }
  .tw-ratgeber-sidebar .tw-ratgeber-checks label,
  .tw-blog-ratgeber-filter-panel .tw-ratgeber-checks label{
    justify-self:start!important;
  }
  .tw-ratgeber-sidebar .tw-ratgeber-checks label:last-child,
  .tw-blog-ratgeber-filter-panel .tw-ratgeber-checks label:last-child{
    justify-self:end!important;
    margin-right:6px!important;
  }
}
@media (max-width:767px){
  .tw-ratgeber-sidebar .tw-ratgeber-checks,
  .tw-blog-ratgeber-filter-panel .tw-ratgeber-checks{
    margin-top:14px!important;
    padding-right:6px!important;
  }
  .tw-ratgeber-sidebar .tw-ratgeber-checks label:last-child,
  .tw-blog-ratgeber-filter-panel .tw-ratgeber-checks label:last-child{
    margin-right:5px!important;
  }
}

/* Ähnliche Ratgeber: der Trenner sitzt exakt mittig im Außenabstand.
   Abstand Artikel -> Linie = Linie -> Container. Desktop 36px, Tablet 32px, Mobile 28px.
   Derselbe Linienfarbton wird für Trenner und Container verwendet; alte konkurrierende Related-Abstandsregeln wurden entfernt. */
.tw-blog-related{
  position:relative!important;
  border:1px solid var(--twr-line)!important;
  border-top:1px solid var(--twr-line)!important;
  margin-top:72px!important;
  padding:28px 24px 27px!important;
}
.tw-blog-related::before{
  content:""!important;
  position:absolute!important;
  top:-36px!important;
  left:0!important;
  right:0!important;
  height:1px!important;
  background:var(--twr-line)!important;
}
.tw-blog-related-head{
  margin:0 0 18px!important;
  padding:0!important;
  gap:16px!important;
}
.tw-blog-related-grid{
  margin-top:0!important;
}

@media (max-width:1024px){
  .tw-blog-related{
    margin-top:64px!important;
    padding:25px 19px 24px!important;
  }
  .tw-blog-related::before{
    top:-32px!important;
    left:0!important;
    right:0!important;
  }
  .tw-blog-related-head{
    margin-bottom:16px!important;
    gap:13px!important;
  }
}

@media (max-width:767px){
  /* Breadcrumbs: kleiner, aber mit vollständigem Kontext. Der lange
     Artikeltitel steht bewusst in einer eigenen zweiten Zeile. */
  .tw-blog-breadcrumb{
    width:calc(100% - 24px)!important;
    gap:5px 6px!important;
    margin:10px auto 12px!important;
    padding:0!important;
    font-size:10.55px!important;
    line-height:1.32!important;
  }
  .tw-blog-breadcrumb a{
    font-size:inherit!important;
    line-height:inherit!important;
  }
  .tw-blog-breadcrumb .tw-blog-breadcrumb-current-sep{
    display:none!important;
  }
  .tw-blog-breadcrumb [aria-current="page"]{
    display:-webkit-box!important;
    flex:1 0 100%!important;
    max-width:100%!important;
    margin-top:1px!important;
    overflow:hidden!important;
    -webkit-box-orient:vertical!important;
    -webkit-line-clamp:2!important;
    color:#516783!important;
    font-size:10.15px!important;
    font-weight:720!important;
    line-height:1.3!important;
    overflow-wrap:anywhere!important;
  }

  /* Hero auf Smartphones bewusst kompakter als Tablet/Desktop. */
  .tw-blog-hero-inner{
    padding:17px!important;
  }
  .tw-blog-categories-row{
    gap:7px!important;
    margin-bottom:15px!important;
  }
  .tw-blog-categories{
    gap:6px!important;
  }
  .tw-blog-categories a{
    min-height:29px!important;
    padding:0 9px!important;
    font-size:.70rem!important;
    line-height:1!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
  }
  .tw-blog-hero-copy h1{
    font-size:clamp(1.43rem,6.35vw,1.72rem)!important;
    line-height:1.15!important;
    letter-spacing:-.018em!important;
    text-wrap:balance!important;
  }
  .tw-blog-meta{
    margin-top:16px!important;
    gap:8px!important;
  }
  .tw-blog-meta span{
    min-height:34px!important;
    padding:0 10px!important;
    font-size:.755rem!important;
    line-height:1.15!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    text-align:center!important;
  }

  /* Mobile Related: 28px oberhalb und 28px unterhalb der Trennlinie,
     anschließend ausreichende Innenluft bis zur Überschrift. */
  .tw-blog-related{
    margin-top:56px!important;
    padding:22px 15px 21px!important;
    border-radius:20px!important;
  }
  .tw-blog-related::before{
    top:-28px!important;
    left:0!important;
    right:0!important;
  }
  .tw-blog-related-head{
    gap:11px!important;
    margin-bottom:14px!important;
  }
  .tw-blog-related-head h2{
    margin:0!important;
    font-size:1.40rem!important;
    line-height:1.14!important;
  }
  .tw-blog-related-actions{
    gap:11px!important;
  }
}

/* ============================================================
   ToolWissen v1.0 – Ratgeber Related Cards Mobile final
   2026-08-26: Auf Smartphone + iPad Mini keinen künstlichen
   Stretch-Raum zwischen Titel und CTA erzeugen.
   Nur bis 767px, Desktop und iPad 10 bleiben unverändert.
   ============================================================ */
@media (max-width:767px){
  .tw-blog-related-card{
    grid-template-rows:auto auto auto auto!important;
    align-content:start!important;
    gap:9px!important;
  }
  .tw-blog-related-link{
    align-self:start!important;
    margin-top:2px!important;
  }
}

/* ============================================================
   ToolWissen v1.0 – Ratgeber Related Cards Mobile + iPad Mini
   2026-08-26: Auf Smartphone und iPad Mini den Related-Block
   gleichmäßiger machen: kompaktere Karte, ruhigerer Innenabstand,
   sauberere Umrandung und kein sichtbarer Leerraum zwischen Meta,
   Titel und CTA. iPad 10 / größere Tablets bleiben unverändert.
   ============================================================ */
@media (min-width:768px) and (max-width:799px){
  .tw-blog-related{
    margin-top:60px!important;
    padding:22px 18px 20px!important;
    border-radius:22px!important;
  }
  .tw-blog-related::before{
    top:-30px!important;
    left:0!important;
    right:0!important;
  }
  .tw-blog-related-head{
    margin:0 0 13px!important;
    gap:12px!important;
  }
  .tw-blog-related-grid{
    grid-auto-columns:88%!important;
    gap:14px!important;
    padding:1px 0 0!important;
  }
  .tw-blog-related-card{
    grid-template-rows:auto auto auto auto!important;
    align-content:start!important;
    gap:8px!important;
    padding:13px!important;
    border-radius:19px!important;
  }
  .tw-blog-related-media{
    border-radius:15px!important;
  }
  .tw-blog-related-meta{
    font-size:.80rem!important;
    line-height:1.30!important;
  }
  .tw-blog-related h3{
    margin:0!important;
    font-size:1rem!important;
    line-height:1.20!important;
  }
  .tw-blog-related-link{
    align-self:start!important;
    margin-top:1px!important;
  }
}

@media (max-width:767px){
  .tw-blog-related{
    padding:20px 14px 18px!important;
    border-radius:20px!important;
  }
  .tw-blog-related-head{
    margin:0 0 12px!important;
    gap:10px!important;
  }
  .tw-blog-related-grid{
    grid-auto-columns:90%!important;
    gap:13px!important;
    padding:1px 0 0!important;
  }
  .tw-blog-related-card{
    grid-template-rows:auto auto auto auto!important;
    align-content:start!important;
    gap:8px!important;
    padding:12px!important;
    border-radius:18px!important;
  }
  .tw-blog-related-media{
    border-radius:14px!important;
  }
  .tw-blog-related-meta{
    font-size:.78rem!important;
    line-height:1.28!important;
  }
  .tw-blog-related h3{
    margin:0!important;
    font-size:1rem!important;
    line-height:1.18!important;
  }
  .tw-blog-related-link{
    align-self:start!important;
    margin-top:1px!important;
  }
}
