/*
 * Startseite (Hub) – Krypto_Home. Helle Abschnitte im kb-ui-Stil, dazwischen dunkle Bänder in den Logo-Farben
 * (fast Schwarz, Cyan #26c8ff, Orange #ff952b). Flach: keine Verläufe, keine schweren Schatten.
 */

.kbh {
    --kbh-ink: #0b1120;
    --kbh-ink-2: #121b30;
    --kbh-ink-3: #1b2742;
    --kbh-line: rgba(255, 255, 255, .1);
    --kbh-on-dark: #e8eef7;
    --kbh-muted-dark: #9aa9bf;
    --kbh-cyan: #26c8ff;
    --kbh-orange: #ff952b;
    --kbh-up: #22c55e;
    --kbh-down: #f87171;
    padding-bottom: 8px;
}

/* Bänder über die volle Breite, Inhalt 1.200 px */
.kb-page > .kbh-band {
    max-width: none;
    width: 100%;
    margin: 0 0 var(--kb-gap);
    background: var(--kbh-ink);
    color: var(--kbh-on-dark);
}

.kbh-inner {
    max-width: var(--kb-width);
    margin: 0 auto;
    padding: 0 18px;
}

.kbh a:focus-visible,
.kbh button:focus-visible,
.kbh input:focus-visible {
    outline: 2px solid var(--kbh-cyan);
    outline-offset: 2px;
}

.kbh-section-head {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    align-items: baseline;
    justify-content: space-between;
}

.kbh-more {
    display: inline-flex;
    gap: 4px;
    align-items: center;
    margin-top: 14px;
    font-size: 15px;
    font-weight: 700;
    color: var(--kb-accent-dark);
    text-decoration: none;
}

.kbh-section-head .kbh-more {
    margin-top: 0;
}

.kbh-more:hover {
    text-decoration: underline;
}

/* Pfeil (kb-icon „chevron“ zeigt nach unten) nach rechts drehen */
.kbh-more .kb-icon,
.kbh-mcard-link .kb-icon {
    transform: rotate(-90deg);
}

.kbh-tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    background: var(--kbh-cyan);
    color: #04121d;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .02em;
}

.kbh .is-up {
    color: var(--kb-good);
}

.kbh .is-down {
    color: var(--kb-bad);
}

.kbh-notice {
    margin: 16px auto;
    padding: 12px 16px;
    border-radius: var(--kb-radius-sm);
    background: var(--kb-good-soft);
    color: var(--kb-good);
    font-weight: 700;
}

.kbh-notice--ungueltig {
    background: var(--kb-warn-soft);
    color: var(--kb-warn);
}

/* 0 Marktleiste */
.kb-page > .kbh-band--ticker {
    margin-bottom: 0;
    background: #0a0a0d;
    font-size: 14px;
}

.kbh-tickerbar {
    display: flex;
    gap: 16px;
    align-items: center;
    min-height: 46px;
}

.kbh-pills {
    display: flex;
    flex: 0 0 auto;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.kbh-pills a {
    display: inline-flex;
    gap: 6px;
    align-items: baseline;
    padding: 4px 10px;
    border: 1px solid var(--kbh-line);
    border-radius: 999px;
    color: var(--kbh-on-dark);
    text-decoration: none;
    white-space: nowrap;
}

.kbh-pills a::before {
    content: "";
    align-self: center;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--kbh-dot, var(--kbh-cyan));
}

.kbh-pills a:hover {
    border-color: var(--kbh-cyan);
}

.kbh-pill-k,
.kbh-pill-s {
    color: var(--kbh-muted-dark);
    font-size: 12px;
}

.kbh-ticker {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.kbh-ticker-track {
    display: flex;
    width: max-content;
    animation: kbh-marquee 60s linear infinite;
}

.kbh-ticker:hover .kbh-ticker-track,
.kbh-ticker:focus-within .kbh-ticker-track {
    animation-play-state: paused;
}

.kbh-ticker ul {
    display: flex;
    gap: 22px;
    margin: 0;
    padding: 0 11px;
    list-style: none;
}

.kbh-ticker li a,
.kbh-ticker li > span {
    display: inline-flex;
    gap: 7px;
    align-items: center;
    color: var(--kbh-on-dark);
    text-decoration: none;
    white-space: nowrap;
}

.kbh-ticker li a:hover strong {
    color: var(--kbh-cyan);
}

.kbh-ticker em {
    font-style: normal;
    font-weight: 700;
}

.kbh-band .is-up {
    color: var(--kbh-up);
}

.kbh-band .is-down {
    color: var(--kbh-down);
}

.kbh-spark {
    width: 46px;
    height: 16px;
}

.kbh-spark polyline {
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    vector-effect: non-scaling-stroke;
}

@keyframes kbh-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .kbh-ticker {
        overflow-x: auto;
        mask-image: none;
    }

    .kbh-ticker-track {
        animation: none;
    }

    .kbh-ticker ul[aria-hidden="true"] {
        display: none;
    }
}

/* 1 Aufmacher */
.kb-page > .kbh-band--hero {
    padding: 28px 0 32px;
    border-top: 3px solid var(--kbh-cyan);
}

.kbh-head h1 {
    margin: 0;
    color: #fff;
    font-size: 30px;
    line-height: 1.25;
}

.kbh-head p {
    max-width: 780px;
    margin: 8px 0 22px;
    color: var(--kbh-muted-dark);
    font-size: 16px;
}

.kbh-hero {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 24px;
}

.kbh-stories {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.kbh-story {
    position: relative;
    overflow: hidden;
    border-radius: var(--kb-radius);
    background: var(--kbh-ink-2);
}

.kbh-story--lead {
    grid-column: 1 / -1;
}

.kbh-story-link {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.kbh-story img {
    display: block;
    width: 100%;
    height: 170px;
    object-fit: cover;
    transition: transform .4s ease;
}

.kbh-story--lead img {
    height: 340px;
}

.kbh-story-link:hover img {
    transform: scale(1.03);
}

.kbh-story-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px 16px 16px;
}

.kbh-story--lead .kbh-story-body {
    padding: 18px 24px 22px;
}

.kbh-story-body .kbh-tag {
    align-self: flex-start;
}

.kbh-story h2,
.kbh-story h3 {
    margin: 0;
    color: #fff;
    line-height: 1.3;
}

.kbh-story h2 {
    font-size: 26px;
}

.kbh-story h3 {
    font-size: 17px;
}

.kbh-story-link:hover h2,
.kbh-story-link:hover h3 {
    color: var(--kbh-cyan);
}

.kbh-story-excerpt {
    color: var(--kbh-muted-dark);
    font-size: 15px;
}

.kbh-story time,
.kbh-latest time {
    color: var(--kbh-muted-dark);
    font-size: 13px;
}

.kbh-latest {
    padding: 18px 20px;
    border: 1px solid var(--kbh-line);
    border-radius: var(--kb-radius);
    background: var(--kbh-ink-2);
}

.kbh-latest h2 {
    margin: 0 0 6px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--kbh-orange);
    color: #fff;
    font-size: 18px;
}

.kbh-latest ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

.kbh-latest li {
    display: grid;
    gap: 2px;
    padding: 11px 0;
    border-bottom: 1px solid var(--kbh-line);
}

.kbh-latest li a {
    color: var(--kbh-on-dark);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    text-decoration: none;
}

.kbh-latest li a:hover {
    color: var(--kbh-cyan);
}

.kbh-latest-cat {
    color: var(--kbh-orange);
    font-size: 12px;
}

.kbh-band .kbh-more {
    color: var(--kbh-cyan);
}

/* 2 Börsen */
.kbh-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-top: 20px;
}

.kbh-chips .kb-label {
    margin-right: 4px;
}

/* Reiter (Hub und Rubriken) */
.kbh-tabs {
    display: flex;
    gap: 6px;
    margin: 18px 0 18px;
    padding: 4px;
    overflow-x: auto;
    border-radius: 10px;
    background: var(--kb-bg-soft);
    scrollbar-width: thin;
}

.kbh-tabs[hidden] {
    display: none;
}

.kbh-tabs--small {
    margin: 0;
}

.kbh-tabs button {
    display: inline-flex;
    flex: 0 0 auto;
    gap: 6px;
    align-items: center;
    padding: 9px 16px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--kb-text);
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.kbh-tabs--small button {
    padding: 6px 12px;
    font-size: 14px;
}

.kbh-tabs button:hover {
    background: #fff;
}

.kbh-tabs button[aria-selected="true"] {
    background: var(--kbh-ink);
    color: #fff;
}

.kbh-count {
    padding: 0 7px;
    border-radius: 999px;
    background: rgba(0, 0, 0, .07);
    font-size: 12px;
}

.kbh-tabs button[aria-selected="true"] .kbh-count {
    background: var(--kbh-cyan);
    color: #04121d;
}

/* Ohne JavaScript: alle Bereiche untereinander mit Überschrift */
.kbh-panel + .kbh-panel {
    margin-top: 26px;
}

.kbh-panel-title {
    margin: 18px 0 12px;
    font-size: 18px;
}

.kbh-js .kbh-panel-title {
    display: none;
}

.kbh-js .kbh-panel + .kbh-panel {
    margin-top: 0;
}

.kbh-js .kbh-panel[hidden] {
    display: none;
}

.kbh-js .kbh-panel:not([hidden]) {
    animation: kbh-fade .25s ease;
}

@keyframes kbh-fade {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: none; }
}

/* 3 Alles auf einen Blick */
.kbh-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.kbh-tile {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    height: 100%;
    padding: 14px;
    border: 1px solid var(--kb-border);
    border-radius: var(--kb-radius);
    background: var(--kb-bg);
    color: var(--kb-text);
    text-decoration: none;
    transition: border-color .15s ease, transform .15s ease;
}

.kbh-tile:hover {
    border-color: var(--kbh-cyan);
    transform: translateY(-2px);
}

.kbh-tile-icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--kb-accent-soft);
}

.kbh-tile-icon img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
}

.kbh-tile-body {
    display: grid;
    min-width: 0;
}

.kbh-tile-body strong {
    font-size: 15px;
    line-height: 1.3;
}

.kbh-tile-body span {
    display: -webkit-box;
    overflow: hidden;
    color: var(--kb-muted);
    font-size: 13px;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.kbh-tile-value {
    display: grid;
    justify-items: end;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.kbh-tile-value em {
    font-size: 12px;
    font-style: normal;
}

/* 4 Markt heute */
.kb-page > .kbh-band--market {
    padding: 30px 0 34px;
    background: var(--kbh-ink);
}

.kbh-band-title {
    width: fit-content;
    margin: 0 0 20px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--kbh-cyan);
    color: #fff;
    font-size: 25px;
}

.kbh-band-title span {
    margin-left: 6px;
    color: var(--kbh-muted-dark);
    font-size: 15px;
    font-weight: 400;
}

.kbh-market {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
}

.kbh-mcard {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 18px;
    border: 1px solid var(--kbh-line);
    border-radius: var(--kb-radius);
    background: var(--kbh-ink-2);
}

.kbh-mcard h3 {
    margin: 0;
    color: #fff;
    font-size: 16px;
}

.kbh-mcard--report,
.kbh-mcard--wide {
    grid-column: span 2;
}

.kbh-mcard--report h3 {
    font-size: 21px;
    line-height: 1.3;
}

.kbh-mcard--report h3 a {
    color: #fff;
    text-decoration: none;
}

.kbh-mcard--report h3 a:hover {
    color: var(--kbh-cyan);
}

.kbh-mcard--report .kbh-tag {
    align-self: flex-start;
    background: var(--kbh-orange);
}

.kbh-mcard p {
    margin: 0;
    color: var(--kbh-muted-dark);
    font-size: 14px;
}

.kbh-mcard time {
    color: var(--kbh-muted-dark);
    font-size: 13px;
}

.kbh-mcard-sub {
    font-size: 13px !important;
}

.kbh-mcard-link {
    display: inline-flex;
    gap: 4px;
    align-items: center;
    margin-top: auto;
    padding-top: 6px;
    color: var(--kbh-cyan);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.kbh-mcard-link:hover {
    text-decoration: underline;
}

.kbh-big {
    display: flex;
    gap: 6px;
    align-items: baseline;
}

.kbh-big strong {
    color: #fff;
    font-size: 34px;
    line-height: 1.1;
}

.kbh-big span {
    color: var(--kbh-muted-dark);
}

.kbh-big strong.is-up {
    color: var(--kbh-up);
}

.kbh-big strong.is-down {
    color: var(--kbh-down);
}

.kbh-gauge {
    position: relative;
    display: grid;
    justify-items: center;
    max-width: 220px;
    margin: 0 auto;
}

.kbh-gauge svg {
    width: 100%;
    height: auto;
    overflow: visible;
}

.kbh-gauge-seg {
    fill: none;
    stroke-width: 10;
}

.kbh-gauge-seg.s1 { stroke: #dc2626; }
.kbh-gauge-seg.s2 { stroke: #f97316; }
.kbh-gauge-seg.s3 { stroke: #eab308; }
.kbh-gauge-seg.s4 { stroke: #84cc16; }
.kbh-gauge-seg.s5 { stroke: #16a34a; }

.kbh-gauge-needle {
    transform: rotate(var(--kbh-angle));
    transform-origin: 60px 60px;
    transition: transform 1.2s cubic-bezier(.2, .8, .2, 1);
}

/* Mit JavaScript: Nadel startet links und schwenkt ein, sobald der Tacho sichtbar ist */
.kbh-js .kbh-gauge:not(.is-on) .kbh-gauge-needle {
    transform: rotate(-90deg);
}

.kbh-gauge-needle line {
    stroke: #fff;
    stroke-width: 3;
    stroke-linecap: round;
}

.kbh-gauge-needle circle {
    fill: #fff;
}

.kbh-gauge strong {
    margin-top: -6px;
    color: #fff;
    font-size: 32px;
    line-height: 1;
}

.kbh-gauge span {
    color: var(--kbh-color);
    font-weight: 700;
}

.kbh-scale {
    position: relative;
    height: 10px;
    margin-top: 6px;
    border-radius: 999px;
    background: linear-gradient(90deg, #f7931a 0 25%, #fbbf77 25% 50%, #7dd3fc 50% 75%, var(--kbh-cyan) 75% 100%);
}

.kbh-scale i {
    position: absolute;
    top: -4px;
    left: var(--kbh-pos);
    width: 4px;
    height: 18px;
    margin-left: -2px;
    border-radius: 2px;
    background: #fff;
    box-shadow: 0 0 0 2px var(--kbh-ink-2);
}

.kbh-scale-legend {
    display: flex;
    justify-content: space-between;
    font-size: 12px !important;
}

.kbh-stack {
    display: flex;
    height: 12px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--kbh-ink-3);
}

.kbh-stack i,
.kbh-legend i {
    display: block;
}

.kbh-stack .is-btc,
.kbh-legend .is-btc { background: #f7931a; }
.kbh-stack .is-eth,
.kbh-legend .is-eth { background: #8a9cf0; }
.kbh-stack .is-rest,
.kbh-legend .is-rest { background: #475569; }

.kbh-legend {
    display: grid;
    gap: 2px;
    margin: 0;
    padding: 0;
    color: var(--kbh-muted-dark);
    font-size: 13px;
    list-style: none;
}

.kbh-legend li {
    display: flex;
    gap: 6px;
    align-items: center;
}

.kbh-legend i {
    width: 10px;
    height: 10px;
    border-radius: 2px;
}

.kbh-countdown {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
}

.kbh-countdown span {
    display: grid;
    justify-items: center;
    padding: 8px 4px;
    border-radius: 8px;
    background: var(--kbh-ink-3);
    color: var(--kbh-muted-dark);
    font-size: 11px;
}

.kbh-countdown strong {
    color: #fff;
    font-size: 22px;
    font-variant-numeric: tabular-nums;
    line-height: 1.2;
}

.kbh-progress {
    height: 6px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--kbh-ink-3);
}

.kbh-progress i {
    display: block;
    height: 100%;
    background: var(--kbh-orange);
}

/* 5 Rubriken */
.kbh-topic {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 24px;
    margin-top: 18px;
}

.kbh-topic > .kbh-panel-title,
.kbh-topic > .kbh-more {
    grid-column: 1 / -1;
}

.kbh-topic > .kbh-more {
    margin-top: 0;
}

.kbh-topic-lead a {
    color: var(--kb-text);
    text-decoration: none;
}

.kbh-topic-lead img {
    display: block;
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: var(--kb-radius);
}

.kbh-topic-lead h4 {
    margin: 12px 0 6px;
    font-size: 20px;
    line-height: 1.3;
}

.kbh-topic-lead a:hover h4,
.kbh-topic-list a:hover span {
    color: var(--kb-accent-dark);
}

.kbh-topic-lead p {
    margin: 0 0 6px;
    color: var(--kb-muted);
    font-size: 15px;
}

.kbh-topic time,
.kbh-changes time {
    color: var(--kb-muted);
    font-size: 13px;
}

.kbh-topic-list {
    display: grid;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.kbh-topic-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--kb-border);
}

.kbh-topic-list li:first-child {
    padding-top: 0;
}

.kbh-topic-list a {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    color: var(--kb-text);
    font-weight: 700;
    line-height: 1.35;
    text-decoration: none;
}

.kbh-topic-list img {
    width: 72px;
    height: 54px;
    object-fit: cover;
    border-radius: 6px;
}

.kbh-topic-list time {
    display: block;
    margin: 4px 0 0 84px;
}

/* Kursprognosen */
.kbh-forecasts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 12px;
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}

.kbh-forecast {
    display: grid;
    gap: 10px;
    height: 100%;
    padding: 16px;
    border: 1px solid var(--kb-border);
    border-radius: var(--kb-radius);
    color: var(--kb-text);
    text-decoration: none;
    transition: border-color .15s ease, transform .15s ease;
}

.kbh-forecast:hover {
    border-color: var(--kbh-cyan);
    transform: translateY(-2px);
}

.kbh-forecast-head {
    display: flex;
    gap: 8px;
    align-items: center;
}

.kbh-forecast-head img {
    border-radius: 50%;
}

.kbh-forecast-head .kb-badge {
    margin-left: auto;
}

.kbh-forecast-value {
    display: flex;
    gap: 8px;
    align-items: baseline;
}

.kbh-forecast-value strong {
    font-size: 24px;
    line-height: 1.1;
}

.kbh-forecast-value em {
    font-style: normal;
    font-weight: 700;
}

.kbh-range {
    position: relative;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--kb-bad-soft), var(--kb-accent-soft) 50%, var(--kb-good-soft));
}

.kbh-range i {
    position: absolute;
    top: -4px;
    width: 4px;
    height: 16px;
    margin-left: -2px;
    border-radius: 2px;
}

.kbh-range-mid {
    background: var(--kbh-ink);
}

.kbh-range-now {
    background: var(--kbh-orange);
}

.kbh-range-legend {
    display: flex;
    justify-content: space-between;
    margin-top: -4px;
    color: var(--kb-muted);
    font-size: 12px;
}

.kbh-range-key {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    margin: 8px 0 0;
    color: var(--kb-muted);
    font-size: 13px;
}

.kbh-range-key i {
    display: inline-block;
    width: 4px;
    height: 14px;
    margin-left: 6px;
    border-radius: 2px;
}

.kbh-range-key i:first-child {
    margin-left: 0;
}

.kbh-forecast-now {
    display: inline-flex;
    gap: 4px;
    align-items: center;
    color: var(--kb-muted);
    font-size: 13px;
}

.kbh-forecast-now .kb-icon {
    transform: rotate(-90deg);
}

/* Meistgelesen */
.kbh-popular {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 16px;
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
    counter-reset: none;
}

.kbh-popular a {
    position: relative;
    display: grid;
    gap: 10px;
    height: 100%;
    color: var(--kb-text);
    text-decoration: none;
}

.kbh-popular img {
    width: 100%;
    height: 130px;
    object-fit: cover;
    border-radius: var(--kb-radius);
}

.kbh-rank {
    position: absolute;
    top: 8px;
    left: 8px;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--kbh-ink);
    color: var(--kbh-cyan);
    font-size: 17px;
    font-weight: 800;
}

.kbh-popular li:first-child .kbh-rank {
    background: var(--kbh-orange);
    color: #fff;
}

.kbh-popular-body {
    display: grid;
    gap: 2px;
}

.kbh-popular-body strong {
    font-size: 15px;
    line-height: 1.35;
}

.kbh-popular a:hover strong {
    color: var(--kb-accent-dark);
}

.kbh-popular .kbh-latest-cat {
    color: var(--kb-accent-dark);
    font-size: 12px;
    font-weight: 700;
}

/* 6 Änderungen */
.kbh-changes {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 0 28px;
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}

.kbh-changes li {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--kb-border);
}

.kbh-changes a {
    color: var(--kb-text);
    font-weight: 700;
}

.kbh-changes p {
    flex-basis: 100%;
    margin: 0;
    color: var(--kb-muted);
    font-size: 15px;
}

/* 7 Termine und Newsletter */
.kbh-service {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--kb-gap);
    margin-bottom: var(--kb-gap);
}

.kbh-service > * {
    margin-bottom: 0;
}

.kbh-events ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

.kbh-events li {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--kb-border);
}

.kbh-date {
    display: grid;
    justify-items: center;
    padding: 6px 0;
    border-radius: 8px;
    background: var(--kbh-ink);
    color: var(--kbh-muted-dark);
    font-size: 11px;
    line-height: 1.2;
}

.kbh-date strong {
    color: #fff;
    font-size: 20px;
}

.kbh-event {
    display: grid;
    min-width: 0;
    overflow-wrap: anywhere;
    font-weight: 700;
    line-height: 1.35;
}

.kbh-event a {
    color: var(--kb-text);
}

.kbh-event em {
    color: var(--kb-accent-dark);
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
}

.kbh-newsletter {
    position: relative;
    padding: var(--kb-pad);
    overflow: hidden;
    border-radius: var(--kb-radius);
    background: var(--kbh-ink);
    color: var(--kbh-on-dark);
}

.kbh-newsletter::after {
    content: "";
    position: absolute;
    right: -60px;
    bottom: -60px;
    width: 200px;
    height: 200px;
    border: 26px solid var(--kbh-cyan);
    border-radius: 50%;
    opacity: .12;
    pointer-events: none;
}

.kbh-newsletter-icon {
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--kbh-orange);
}

.kbh-newsletter h2 {
    margin: 12px 0 6px;
    color: #fff;
    font-size: 24px;
}

.kbh-newsletter p {
    margin: 0 0 14px;
    color: var(--kbh-muted-dark);
}

.kbh-nl-row {
    display: flex;
    gap: 8px;
}

.kbh-nl-row input {
    flex: 1 1 auto;
    min-width: 0;
    padding: 11px 14px;
    border: 1px solid var(--kbh-line);
    border-radius: var(--kb-radius-sm);
    background: var(--kbh-ink-2);
    color: #fff;
    font: inherit;
    font-size: 16px;
}

.kbh-nl-row input::placeholder {
    color: var(--kbh-muted-dark);
}

.kbh-nl-row .kb-btn {
    flex: 0 0 auto;
}

.kbh-nl-consent {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    margin-top: 12px;
    color: var(--kbh-muted-dark);
    font-size: 13px;
    line-height: 1.45;
}

.kbh-nl-consent input {
    margin-top: 3px;
}

.kbh-nl-consent a {
    color: var(--kbh-cyan);
}

.kbh-hp {
    position: absolute;
    left: -9999px;
}

.kbh-nl-msg {
    min-height: 1.4em;
    margin: 10px 0 0 !important;
    font-weight: 700;
}

.kbh-nl-msg.is-ok {
    color: var(--kbh-up) !important;
}

.kbh-nl-msg.is-error {
    color: #fca5a5 !important;
}

/* 8 So arbeiten wir */
.kbh-trust {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 28px;
    align-items: center;
}

.kbh-trust p {
    margin: 0 0 16px;
}

.kbh-numbers {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.kbh-numbers li {
    display: grid;
    padding: 16px;
    border-radius: var(--kb-radius);
    background: var(--kb-bg-soft);
}

.kbh-numbers strong {
    color: var(--kb-accent-dark);
    font-size: 30px;
    font-variant-numeric: tabular-nums;
    line-height: 1.1;
}

.kbh-numbers span {
    color: var(--kb-muted);
    font-size: 14px;
}

/* Stand der Kurse in der Marktleiste */
.kbh-stand {
    flex: 0 0 auto;
    color: var(--kbh-muted-dark);
    font-size: 11px;
    white-space: nowrap;
}

/* Suche im Kopf */
.kbh-search {
    position: relative;
    max-width: 720px;
    margin: 0 0 24px;
}

.kbh-search label {
    display: block;
    margin-bottom: 6px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.kbh-search-box {
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 6px 6px 6px 14px;
    border: 1px solid var(--kbh-line);
    border-radius: 10px;
    background: #fff;
}

.kbh-search-box:focus-within {
    border-color: var(--kbh-cyan);
    box-shadow: 0 0 0 3px rgba(38, 200, 255, .35);
}

.kbh-search-box .kb-icon {
    flex: 0 0 auto;
}

.kbh-search-box input {
    flex: 1 1 auto;
    min-width: 0;
    padding: 8px 4px;
    border: 0;
    background: transparent;
    color: var(--kb-text);
    font: inherit;
    font-size: 16px;
    outline: none;
}

.kbh .kbh-search-box input:focus-visible {
    outline: none;
}

.kbh-search-list {
    position: absolute;
    z-index: 20;
    top: 100%;
    right: 0;
    left: 0;
    margin: 6px 0 0;
    padding: 6px;
    border: 1px solid var(--kb-border);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .25);
    list-style: none;
}

.kbh-search-list a {
    display: flex;
    gap: 10px;
    align-items: baseline;
    justify-content: space-between;
    padding: 9px 10px;
    border-radius: 6px;
    color: var(--kb-text);
    text-decoration: none;
}

.kbh-search-list [aria-selected="true"] a,
.kbh-search-list a:hover {
    background: var(--kb-accent-soft);
}

.kbh-search-list small {
    flex: 0 0 auto;
    color: var(--kb-muted);
    font-size: 12px;
}

.kbh-search-none {
    padding: 9px 10px;
    color: var(--kb-muted);
    font-size: 14px;
}

/* Werbehinweis und Quellen */
.kbh-disclosure {
    margin: 14px 0 0;
    color: var(--kb-muted);
    font-size: 13px;
    line-height: 1.5;
}

.kbh-sources {
    margin: 18px 0 0;
    color: var(--kbh-muted-dark);
    font-size: 12px;
}

/* Was hast du vor? */
.kbh-paths {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 12px;
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}

.kbh-path {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 2px 12px;
    align-items: center;
    height: 100%;
    padding: 14px;
    border: 1px solid var(--kb-border);
    border-radius: var(--kb-radius);
    color: var(--kb-text);
    text-decoration: none;
    transition: border-color .15s ease, background .15s ease;
}

.kbh-path:hover {
    border-color: var(--kbh-cyan);
    background: var(--kb-accent-soft);
}

.kbh-path-icon {
    display: grid;
    grid-row: span 2;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--kbh-ink);
    --kb-icon-accent: var(--kbh-cyan);
    color: #fff;
}

.kbh-path strong {
    font-size: 16px;
}

.kbh-path span:last-child {
    color: var(--kb-muted);
    font-size: 13px;
    line-height: 1.4;
}

/* Heute im Vergleich */
.kbh-today {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: var(--kb-gap);
    margin-bottom: var(--kb-gap);
}

.kbh-today > * {
    margin-bottom: 0;
}

.kbh-cheapest,
.kbh-trustrank {
    display: grid;
    gap: 8px;
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}

.kbh-cheapest li {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) auto auto;
    gap: 12px;
    align-items: center;
    padding: 12px;
    border: 1px solid var(--kb-border);
    border-radius: var(--kb-radius);
}

.kbh-cheapest li.is-best {
    border-color: var(--kb-cta);
    background: var(--kb-warn-soft);
}

.kbh-today .kbh-rank,
.kbh-trustrank .kbh-rank {
    position: static;
    width: 30px;
    height: 30px;
    font-size: 14px;
}

.kbh-cheapest-name,
.kbh-trustrank a {
    display: flex;
    gap: 10px;
    align-items: center;
    min-width: 0;
    color: var(--kb-text);
    font-weight: 700;
    text-decoration: none;
}

.kbh-cheapest-name img,
.kbh-trustrank img {
    border-radius: 8px;
}

.kbh-cheapest-coins {
    display: grid;
    justify-items: end;
    font-variant-numeric: tabular-nums;
}

.kbh-cheapest-coins small {
    color: var(--kb-muted);
    font-size: 12px;
}

.kbh-cheapest-cta .kb-btn {
    padding: 8px 14px;
    font-size: 14px;
}

.kbh-trustrank li {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) 120px;
    gap: 12px;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--kb-border);
}

.kbh-trustrank a span {
    display: grid;
}

.kbh-trustrank small {
    color: var(--kb-muted);
    font-size: 12px;
    font-weight: 400;
}

.kbh-trust-score {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 30px;
    gap: 8px;
    align-items: center;
}

.kbh-bar {
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--kb-bg-soft);
}

.kbh-bar i {
    display: block;
    height: 100%;
    background: var(--kb-good);
}

.kbh-trust-score strong {
    text-align: right;
}

/* Gewinner und Verlierer */
.kbh-movers {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.kbh-movers ol {
    display: grid;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.kbh-movers li {
    display: flex;
    justify-content: space-between;
    color: var(--kbh-on-dark);
    font-size: 14px;
}

.kbh-movers li a,
.kbh-movers li > span {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    color: var(--kbh-on-dark);
    text-decoration: none;
}

.kbh-movers li a:hover {
    color: var(--kbh-cyan);
}

.kbh-movers img {
    border-radius: 50%;
}

.kbh-movers em {
    font-style: normal;
    font-weight: 700;
}

/* Was wäre, wenn */
.kbh-whatif {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.kbh-whatif-intro p {
    margin: 0 0 14px;
}

.kbh-slider {
    display: grid;
    gap: 6px;
    margin-bottom: 14px;
    font-weight: 700;
}

.kbh-slider span {
    display: flex;
    justify-content: space-between;
}

.kbh-slider output {
    color: var(--kb-accent-dark);
}

.kbh-slider input {
    width: 100%;
    accent-color: var(--kb-cta);
}

.kbh-whatif-result {
    padding: 18px;
    border-radius: var(--kb-radius);
    background: var(--kbh-ink);
    color: var(--kbh-on-dark);
}

.kbh-whatif-result dl {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 0 0 12px;
}

.kbh-whatif-result dt {
    color: var(--kbh-muted-dark);
    font-size: 13px;
}

.kbh-whatif-result dd {
    margin: 0;
    color: #fff;
    font-size: 21px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.kbh-whatif-result dd.is-up {
    color: var(--kbh-up);
}

.kbh-whatif-result dd.is-down {
    color: var(--kbh-down);
}

.kbh-whatif-chart {
    width: 100%;
    height: 90px;
}

.kbh-whatif-chart polyline {
    fill: none;
    stroke-width: 2;
    vector-effect: non-scaling-stroke;
}

.kbh-whatif-chart [data-kbh-line="paid"] {
    stroke: var(--kbh-muted-dark);
    stroke-dasharray: 4 3;
}

.kbh-whatif-chart [data-kbh-line="value"] {
    stroke: var(--kbh-orange);
    stroke-width: 2.5;
}

.kbh-whatif-legend {
    display: flex;
    gap: 6px;
    align-items: center;
    margin: 4px 0 14px;
    color: var(--kbh-muted-dark);
    font-size: 12px;
}

.kbh-whatif-legend i {
    display: inline-block;
    width: 14px;
    height: 3px;
    margin-left: 6px;
}

.kbh-whatif-legend .is-paid {
    margin-left: 0;
    background: var(--kbh-muted-dark);
}

.kbh-whatif-legend .is-value {
    background: var(--kbh-orange);
}

/* Termine, Newsletter, Preisalarm */
.kbh-service {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr) minmax(0, .9fr);
}

.kbh-event-cat {
    justify-self: start;
    padding: 1px 7px;
    border-radius: 4px;
    background: var(--kb-accent-soft);
    color: var(--kb-accent-dark);
    font-size: 11px;
    font-weight: 700;
}

.kbh-alert p {
    margin: 0 0 12px;
}

.kbh-alert-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
}

.kbh-alert-form label {
    font-size: 13px;
    font-weight: 700;
}

.kbh-alert-form select {
    width: 100%;
    min-width: 0;
    padding: 10px;
    border: 1px solid var(--kb-border);
    border-radius: var(--kb-radius-sm);
    font: inherit;
}

/* Redaktion */
.kbh-team {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}

.kbh-team a {
    display: flex;
    gap: 12px;
    align-items: center;
    color: var(--kb-text);
    text-decoration: none;
}

.kbh-team img {
    border-radius: 50%;
    object-fit: cover;
}

.kbh-team p {
    margin: 8px 0 0;
    color: var(--kb-muted);
    font-size: 14px;
}

/* Transparenz-Links */
.kbh-trust-links {
    display: grid;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.kbh-trust-links a {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    color: var(--kb-accent-dark);
    font-weight: 700;
}

@media (max-width: 1000px) {
    .kbh-service {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 900px) {
    .kbh-today,
    .kbh-whatif {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 600px) {
    .kbh-service {
        grid-template-columns: 1fr;
    }

    .kbh-cheapest li {
        grid-template-columns: 30px minmax(0, 1fr) auto;
    }

    .kbh-cheapest-cta {
        grid-column: 1 / -1;
    }

    .kbh-cheapest-cta .kb-btn {
        width: 100%;
    }

    .kbh-search-box button {
        display: none;
    }

    .kbh-stand {
        display: none;
    }
}

/* Mobil */
@media (max-width: 900px) {
    .kbh-hero,
    .kbh-topic,
    .kbh-service,
    .kbh-trust {
        grid-template-columns: 1fr;
    }

    .kbh-story--lead img {
        height: 240px;
    }

    .kbh-story h2 {
        font-size: 21px;
    }

        .kbh-mcard--report,
    .kbh-mcard--wide {
        grid-column: auto;
    }

    .kbh-pills {
        display: none;
    }
}

@media (max-width: 600px) {
    .kbh-head h1 {
        font-size: 24px;
    }

    .kbh-stories {
        grid-template-columns: 1fr;
    }

    .kbh-story:not(.kbh-story--lead) .kbh-story-link {
        display: grid;
        grid-template-columns: 112px minmax(0, 1fr);
    }

    .kbh-story:not(.kbh-story--lead) img {
        height: 100%;
        min-height: 96px;
    }

    .kbh-story:not(.kbh-story--lead) .kbh-story-body {
        padding: 10px 12px;
    }

    .kbh-story:not(.kbh-story--lead) .kbh-tag {
        display: none;
    }

    .kbh-story h3 {
        font-size: 15px;
    }

    .kbh-nl-row {
        flex-direction: column;
    }

    .kbh-tiles {
        grid-template-columns: 1fr;
    }
}
