/* =========================================================
   MARKTHYR DESIGN-SYSTEM
   Wird als letztes Stylesheet geladen und vereinheitlicht
   Breiten, Überschriften, Karten, Buttons und Filter auf
   allen Seiten. Farben und Radien kommen aus den Tokens unten.
========================================================= */

:root {
    --mk-container: 1480px;
    --mk-gutter: 24px;

    --mk-surface: rgba(16, 16, 16, .82);
    --mk-surface-solid: #141414;
    --mk-surface-raised: #1a1a1a;
    --mk-surface-inner: rgba(255, 255, 255, .025);
    --mk-line: #242424;
    --mk-line-strong: #333;

    --mk-text-soft: #c9c9c9;
    --mk-text-muted: #8f8f8f;
    --mk-text-dim: #6a6a6a;

    --mk-accent: var(--mk-orange, #ff7a00);
    --mk-accent-soft: rgba(255, 122, 0, .12);
    --mk-accent-line: rgba(255, 122, 0, .38);

    --mk-r-xl: 24px;
    --mk-r-lg: 18px;
    --mk-r-md: 14px;
    --mk-r-sm: 10px;

    --mk-shadow: 0 14px 40px rgba(0, 0, 0, .35);
    --mk-blur: blur(8px);
    --mk-ease: cubic-bezier(.2, .7, .2, 1);
}

body {
    font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* Seiten dürfen nie seitlich scrollen (z. B. 100vw-Heros) */
html,
body {
    overflow-x: clip;
}

::selection {
    background: rgba(255, 122, 0, .35);
    color: #fff;
}

:focus-visible {
    outline: 2px solid rgba(255, 122, 0, .6);
    outline-offset: 2px;
}

/* =========================================================
   1. EINHEITLICHE BREITE
========================================================= */

.mk-home,
.mk-news-hero,
.mk-news-body,
.mk-landing-page-filters,
.mk-news-landing-content,
.mk-news-guides-promo,
.mk-landing-addons,
.mk-class-overview,
.mk-class-grid,
.mk-more-guides,
.mk-boss-guides-page > .mk-container,
.mk-about-intro,
.mk-about-offers,
.mk-about-principles,
.mk-about-final,
.mk-legal-page,
.mk-cg {
    box-sizing: border-box;
    width: min(var(--mk-container), calc(100% - 2 * var(--mk-gutter)));
    max-width: none;
    margin-left: auto;
    margin-right: auto;
}

.mk-news-hero,
.mk-cg {
    margin-top: 28px;
}

.mk-header-inner,
.mk-footer-inner,
.mk-footer-bottom-inner {
    width: min(var(--mk-container), calc(100% - 2 * var(--mk-gutter)));
    max-width: none;
}

/* =========================================================
   2. KOPFBEREICH (.mk-hero) – alle Übersichtsseiten
   Gleiche Optik wie der News-Header (.mk-news-hero).
========================================================= */

.mk-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    box-sizing: border-box;
    width: min(var(--mk-container), calc(100% - 2 * var(--mk-gutter)));
    min-height: 440px;
    margin: 28px auto 24px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 22px;
    background: #121212;
    overflow: hidden;
    box-shadow: 0 20px 55px rgba(0, 0, 0, .35);
    isolation: isolate;
}

.mk-hero-media {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.mk-hero-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
}

.mk-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(8, 8, 8, .96) 0%, rgba(8, 8, 8, .86) 28%, rgba(8, 8, 8, .55) 50%, rgba(8, 8, 8, .18) 75%, rgba(8, 8, 8, .05) 100%),
        linear-gradient(0deg, rgba(8, 8, 8, .55) 0%, transparent 45%);
    pointer-events: none;
}

.mk-hero-content {
    box-sizing: border-box;
    width: min(760px, 68%);
    padding: 56px;
}

.mk-hero-kicker {
    display: inline-flex;
    align-items: center;
    margin-bottom: 16px;
    color: var(--mk-accent);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .1em;
    line-height: 1;
    text-transform: uppercase;
}

.mk-hero-title {
    margin: 0 0 18px;
    color: #fff;
    font-size: clamp(38px, 4.2vw, 64px);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -.025em;
    text-shadow: 0 4px 25px rgba(0, 0, 0, .55);
}

.mk-hero-accent {
    color: var(--mk-accent);
}

.mk-hero-text {
    max-width: 600px;
    margin: 0;
    color: rgba(255, 255, 255, .72);
    font-size: 17px;
    line-height: 1.6;
}

.mk-hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 26px 0 0;
    padding: 0;
    list-style: none;
}

.mk-hero-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 10px 14px 10px 12px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 12px;
    background: rgba(10, 10, 10, .62);
    backdrop-filter: var(--mk-blur);
    -webkit-backdrop-filter: var(--mk-blur);
}

.mk-hero-feature > i {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: var(--mk-accent-soft);
    color: var(--mk-accent);
    font-size: 14px;
}

.mk-hero-feature strong {
    display: block;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
}

.mk-hero-feature small {
    display: block;
    color: var(--mk-text-muted);
    font-size: 12px;
    line-height: 1.35;
}

/* Raid/Dungeon-Umschalter im Bossguide-Kopf */
.mk-boss-guides-page .mk-hero .mk-boss-guides-hero-tabs {
    position: static;
    display: inline-flex;
    width: auto;
    gap: 4px;
    margin: 24px 0 0;
    padding: 4px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 12px;
    background: rgba(8, 8, 8, .7);
    transform: none;
}

.mk-boss-guides-page .mk-hero .mk-boss-guides-type-tab {
    flex: 0 0 auto;
    width: auto;
    min-width: 0;
    min-height: 40px;
    padding: 0 20px;
    font-size: 14px;
}

/* Kicker in Inhaltsbereichen */
.mk-boss-guides-kicker,
.mk-class-overview-eyebrow,
.mk-about-kicker,
.mk-news-guides-promo-kicker,
.mk-boss-guides-promo-kicker,
.mk-events-label {
    color: var(--mk-accent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

/* =========================================================
   3. ABSCHNITTS-ÜBERSCHRIFTEN
   Alle Bereichs-Überschriften: weiß, fett, kein Großbuchstaben-
   Stil, kurzer orangefarbener Balken links.
========================================================= */

.mk-home-header h2,
.mk-news-section-title h2,
.mk-boss-guides-section-heading h2,
.mk-boss-section-heading h2,
.mk-boss-related-header h2,
.mk-boss-abilities-header h2,
.mk-frontpage-section-header h2,
.mk-addon-list-heading h2,
.mk-about-section-heading h2,
.mk-profile-section-header h2,
.mk-related-bosses > h2,
.mk-section-heading {
    position: relative;
    margin: 0;
    padding: 0 0 0 16px;
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -.01em;
    text-transform: none;
}

.mk-home-header h2::before,
.mk-news-section-title h2::before,
.mk-boss-guides-section-heading h2::before,
.mk-boss-section-heading h2::before,
.mk-boss-related-header h2::before,
.mk-boss-abilities-header h2::before,
.mk-frontpage-section-header h2::before,
.mk-addon-list-heading h2::before,
.mk-about-section-heading h2::before,
.mk-profile-section-header h2::before,
.mk-related-bosses > h2::before,
.mk-section-heading::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 4px;
    height: .95em;
    border-radius: 4px;
    background: var(--mk-accent);
    transform: translateY(-50%);
}

/* alte Akzent-Elemente ausblenden (ersetzt durch ::before) */
.mk-news-section-accent,
.mk-news-sidebar-heading > span:empty,
.mk-boss-section-line,
.mk-boss-guides-section-heading::before,
.mk-boss-guides-section-heading::after,
.mk-boss-guides-section-heading h2::after,
.mk-home-header::after,
.mk-home-header h2::after {
    display: none;
}

.mk-home-header,
.mk-news-section-header,
.mk-frontpage-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    padding-bottom: 0;
    border-bottom: 0;
}

.mk-home-more,
.mk-news-section-sort {
    color: var(--mk-text-muted);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
    transition: color .2s;
}

.mk-home-more:hover {
    color: var(--mk-accent);
}

.mk-class-overview-header h2 {
    color: #fff;
    font-size: clamp(26px, 2.6vw, 34px);
    font-weight: 900;
    letter-spacing: -.02em;
}

/* Sidebar-Überschriften: klein, gedämpft, Großbuchstaben */
.mk-news-sidebar-heading h2,
.mk-affixes-title,
.mk-frontpage-sidebar-card > h3,
.mk-all-sidebar-title,
.mk-sidebar-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0;
    border: 0;
    color: var(--mk-text-muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    line-height: 1.3;
    text-transform: uppercase;
}

.mk-news-sidebar-heading h2::before,
.mk-news-sidebar-heading h2::after,
.mk-affixes-title::after {
    display: none;
}

.mk-all-sidebar-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 12px;
}

.mk-all-sidebar-header h3 {
    margin: 0;
    color: var(--mk-text-muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.mk-all-sidebar-icon {
    color: var(--mk-accent);
    font-size: 13px;
}

.mk-legal-page > .mk-hero {
    width: 100%;
}

.mk-news-sidebar-heading {
    display: flex;
    align-items: center;
    margin: 0 0 14px;
    padding: 0;
    border: 0;
}

/* Bossguide: Überschriften linksbündig, Sidebar-Titel wie überall */
.mk-boss-section-heading {
    justify-content: flex-start;
    text-align: left;
}

.mk-boss-sidebar .mk-sidebar-title,
.mk-sidebar .mk-sidebar-title {
    margin-bottom: 12px;
    color: var(--mk-text-muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    line-height: 1.35;
    text-transform: uppercase;
}

.mk-boss-sidebar .mk-sidebar-title i,
.mk-sidebar .mk-sidebar-title i {
    color: var(--mk-accent);
    font-size: 13px;
}

/* Einheitliche Schrift statt Georgia */
.mk-boss-ability-title h3,
.mk-boss-change-header h3,
.mk-boss-strategy-title-wrap h3 {
    font-family: inherit;
    font-weight: 800;
    letter-spacing: -.01em;
}

/* =========================================================
   4. KARTEN
========================================================= */

.mk-guide-card,
.mk-news-list-card,
.markthyr-category-card,
.mk-event-card,
.mk-addon-card,
.mk-instance-card,
.mk-class-card,
.mk-about-offer,
.mk-about-intro-card,
.mk-about-principles-box,
.mk-boss-card,
.mk-class-info-card {
    border: 1px solid var(--mk-line);
    border-radius: var(--mk-r-lg);
    background: var(--mk-surface);
    backdrop-filter: var(--mk-blur);
    -webkit-backdrop-filter: var(--mk-blur);
    box-shadow: none;
    overflow: hidden;
    transition: transform .25s var(--mk-ease), border-color .25s, box-shadow .25s, background .25s;
}

a.mk-guide-card:hover,
a.mk-news-list-card:hover,
a.markthyr-category-card:hover,
.mk-event-card:hover,
.mk-addon-card:hover,
.mk-instance-card:hover,
.mk-class-card:hover,
a.mk-about-offer:hover,
.mk-boss-card:hover {
    border-color: var(--mk-accent-line);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 122, 0, .08);
    transform: translateY(-3px);
}

/* Bilder in Karten: weicher Zoom */
.mk-guide-image img,
.mk-news-list-card-image img,
.mk-addon-card img,
.mk-instance-card-image img,
.mk-class-card-image img {
    transition: transform .5s var(--mk-ease);
}

a.mk-guide-card:hover .mk-guide-image img,
a.mk-news-list-card:hover .mk-news-list-card-image img,
.mk-addon-card:hover img,
.mk-instance-card:hover .mk-instance-card-image img,
.mk-class-card:hover .mk-class-card-image img {
    transform: scale(1.04);
}

/* Karten-Titel und Texte */
.mk-guide-card h3,
.mk-news-list-card-title {
    color: #fff;
    font-weight: 800;
    letter-spacing: -.01em;
}

.mk-guide-excerpt,
.mk-news-list-card-excerpt {
    color: var(--mk-text-muted);
}

/* Labels/Badges auf Karten */
.mk-guide-badge,
.mk-news-list-card-category span,
.mk-news-list-card-category a,
.mk-event-category,
.mk-addon-card-category,
.mk-addon-featured-category {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border: 1px solid var(--mk-accent-line);
    border-radius: 6px;
    background: var(--mk-accent-soft);
    width: fit-content;
    color: #ff9a3c;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.mk-about-content h2,
.mk-about-final-inner h2 {
    color: #fff;
    font-weight: 900;
    letter-spacing: -.02em;
}

/* Startseiten-Kacheln */
.markthyr-category-card {
    padding: 22px 18px;
    text-align: center;
}

.markthyr-category-card h3 {
    margin: 12px 0 4px;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
}

.markthyr-category-card p {
    margin: 0;
    color: var(--mk-text-muted);
    font-size: 13px;
    line-height: 1.45;
}

/* =========================================================
   5. SIDEBARS & WIDGETS
========================================================= */

.mk-frontpage-sidebar-card,
.mk-news-sidebar-box,
.mk-all-sidebar-card,
.mk-sidebar-card,
.mk-news-sidebar-wrapper,
.mk-news-newsletter {
    border: 1px solid var(--mk-line);
    border-radius: var(--mk-r-lg);
    background: var(--mk-surface);
    backdrop-filter: var(--mk-blur);
    -webkit-backdrop-filter: var(--mk-blur);
    box-shadow: none;
}

.mk-news-sidebar-box {
    padding: 18px;
}

.mk-all-sidebar-title i,
.mk-sidebar-title i {
    color: var(--mk-accent);
    font-size: 13px;
}

/* Inhaltsverzeichnisse */
.mk-all-sidebar-nav a,
.mk-sidebar-nav a,
.mk-news-sidebar-categories a {
    border-radius: var(--mk-r-sm);
    color: var(--mk-text-soft);
    font-size: 14px;
    font-weight: 600;
    transition: background .2s, color .2s;
}

.mk-all-sidebar-nav a:hover,
.mk-sidebar-nav a:hover,
.mk-news-sidebar-categories a:hover {
    background: rgba(255, 255, 255, .04);
    color: #fff;
}

.mk-all-sidebar-nav a.active,
.mk-sidebar-nav a.active {
    background: linear-gradient(90deg, rgba(255, 122, 0, .18), transparent);
    color: #fff;
}

/* =========================================================
   6. FILTER, TABS, CHIPS
========================================================= */

.mk-landing-page-filters,
.mk-news-filter-bar {
    border: 1px solid var(--mk-line);
    border-radius: var(--mk-r-lg);
    background: var(--mk-surface);
    backdrop-filter: var(--mk-blur);
    -webkit-backdrop-filter: var(--mk-blur);
}

.mk-news-filter-item,
.mk-landing-page-filter,
.mk-addon-filter,
.mk-boss-guides-type-tab,
.markthyr-topic,
.mk-boss-addon-navigation a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 36px;
    padding: 0 14px;
    border: 1px solid transparent;
    border-radius: var(--mk-r-sm);
    background: transparent;
    color: var(--mk-text-soft);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
    transition: background .2s, color .2s, border-color .2s;
}

.mk-news-filter-item:hover,
.mk-landing-page-filter:hover,
.mk-addon-filter:hover,
.mk-boss-guides-type-tab:hover,
.markthyr-topic:hover,
.mk-boss-addon-navigation a:hover {
    background: rgba(255, 255, 255, .05);
    color: #fff;
}

.mk-news-filter-item.active,
.mk-landing-page-filter.active,
.mk-addon-filter.active,
.mk-boss-guides-type-tab.active,
.mk-boss-guides-type-tab.is-active,
.mk-boss-addon-navigation a.active {
    border-color: var(--mk-accent);
    background: var(--mk-accent);
    color: #fff;
    box-shadow: 0 6px 18px rgba(255, 122, 0, .22);
}

.markthyr-topic {
    border-color: var(--mk-line-strong);
    background: rgba(12, 12, 12, .6);
}

/* Suchfelder */
.mk-news-filter-search input,
.markthyr-search input[type="search"],
.markthyr-search input[type="text"],
.mk-news-newsletter-form input {
    border: 1px solid var(--mk-line-strong);
    border-radius: var(--mk-r-sm);
    background: rgba(10, 10, 10, .8);
    color: #fff;
}

.mk-news-filter-search input:focus,
.markthyr-search input:focus,
.mk-news-newsletter-form input:focus {
    border-color: var(--mk-accent);
    outline: none;
}

/* =========================================================
   7. BUTTONS
========================================================= */

.mk-button,
.mk-more-guides-button,
.mk-news-guides-promo-button,
.mk-instance-card-button,
.mk-frontpage-button,
.markthyr-search-button,
.mk-addon-featured-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 20px;
    border: 1px solid var(--mk-accent);
    border-radius: var(--mk-r-sm);
    background: var(--mk-accent);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(255, 122, 0, .2);
    transition: background .2s, border-color .2s, transform .2s, box-shadow .2s;
}

.mk-button:hover,
.mk-more-guides-button:hover,
.mk-news-guides-promo-button:hover,
.mk-instance-card-button:hover,
.mk-frontpage-button:hover,
.markthyr-search-button:hover,
.mk-addon-featured-link:hover {
    border-color: var(--mk-orange-hover, #ff9100);
    background: var(--mk-orange-hover, #ff9100);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(255, 122, 0, .3);
}

/* =========================================================
   8. PROMO-BANNER (Noch mehr Guides, Bereit für den nächsten Boss …)
========================================================= */

.mk-more-guides,
.mk-news-guides-promo-inner,
.mk-boss-guides-promo,
.mk-about-final-inner {
    border: 1px solid var(--mk-accent-line);
    border-radius: var(--mk-r-xl);
    background:
        radial-gradient(circle at 85% 50%, rgba(255, 122, 0, .16), transparent 55%),
        linear-gradient(135deg, rgba(30, 18, 8, .92), rgba(14, 14, 14, .92));
    box-shadow: var(--mk-shadow);
}

/* =========================================================
   9. FLIESSTEXT (News, Guides, Rechtliches)
========================================================= */

.mk-news-content,
.mk-single-guide-content,
.mk-legal-content {
    color: var(--mk-text-soft);
    font-size: 17px;
    line-height: 1.75;
}

.mk-news-content h2,
.mk-single-guide-content h2,
.mk-legal-content h2 {
    margin: 2em 0 .6em;
    color: #fff;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -.01em;
    line-height: 1.25;
}

.mk-news-content h3,
.mk-single-guide-content h3,
.mk-legal-content h3 {
    margin: 1.6em 0 .5em;
    color: #fff;
    font-size: 20px;
    font-weight: 800;
}

.mk-news-content a,
.mk-single-guide-content a,
.mk-legal-content a {
    color: var(--mk-accent);
    text-decoration: underline;
    text-decoration-color: rgba(255, 122, 0, .35);
    text-underline-offset: 3px;
}

.mk-news-content a:hover,
.mk-single-guide-content a:hover,
.mk-legal-content a:hover {
    text-decoration-color: var(--mk-accent);
}

.mk-news-content ul li::marker,
.mk-single-guide-content ul li::marker {
    color: var(--mk-accent);
}

.mk-news-content blockquote,
.mk-single-guide-content blockquote {
    margin: 1.5em 0;
    padding: 16px 20px;
    border-left: 3px solid var(--mk-accent);
    border-radius: 0 var(--mk-r-md) var(--mk-r-md) 0;
    background: var(--mk-accent-soft);
    color: #e6e6e6;
}

.mk-news-content img,
.mk-single-guide-content img {
    border-radius: var(--mk-r-md);
}

.mk-news-content code,
.mk-single-guide-content code {
    padding: 2px 6px;
    border-radius: 6px;
    background: #1d1d1d;
    color: #ffcf9a;
    font-size: .9em;
}

.mk-news-content table,
.mk-single-guide-content table {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    border: 1px solid var(--mk-line);
    border-radius: var(--mk-r-md);
}

.mk-news-content th,
.mk-news-content td,
.mk-single-guide-content th,
.mk-single-guide-content td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--mk-line);
}

.mk-news-content th,
.mk-single-guide-content th {
    background: #121212;
    color: #fff;
    text-align: left;
}

/* =========================================================
   9b. KLASSEN-ÜBERSICHT (/klassenguides/{klasse}/)
========================================================= */

.mk-page-section {
    box-sizing: border-box;
    width: min(var(--mk-container), calc(100% - 2 * var(--mk-gutter)));
    margin: 0 auto 48px;
}

.mk-page-section > .mk-section-heading {
    margin-bottom: 20px;
}

.mk-class-page .mk-hero-title {
    color: var(--class-color, #fff);
}

.mk-spec-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 18px;
}

.mk-spec-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    border: 1px solid var(--mk-line);
    border-radius: var(--mk-r-lg);
    background: var(--mk-surface);
    color: inherit;
    text-decoration: none;
    overflow: hidden;
    transition: transform .25s var(--mk-ease), border-color .25s, box-shadow .25s;
}

.mk-spec-card:hover {
    border-color: color-mix(in srgb, var(--class-color, #ff7a00) 55%, transparent);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .45);
    transform: translateY(-3px);
}

.mk-spec-card-image {
    display: block;
    aspect-ratio: 16 / 8;
    background: #111;
    overflow: hidden;
}

.mk-spec-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s var(--mk-ease);
}

.mk-spec-card:hover .mk-spec-card-image img {
    transform: scale(1.04);
}

.mk-spec-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 8px;
    padding: 18px 20px 20px;
}

.mk-spec-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.mk-spec-card-tags span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border: 1px solid var(--mk-line-strong);
    border-radius: 6px;
    color: var(--mk-text-soft);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.mk-spec-card-tags i {
    color: var(--class-color, var(--mk-accent));
}

.mk-spec-card-title {
    color: #fff;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.25;
}

.mk-spec-card-text {
    color: var(--mk-text-muted);
    font-size: 14px;
    line-height: 1.55;
}

.mk-spec-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 6px;
    color: var(--mk-accent);
    font-size: 14px;
    font-weight: 800;
}

.mk-empty-note {
    padding: 28px;
    border: 1px dashed var(--mk-line-strong);
    border-radius: var(--mk-r-lg);
    color: var(--mk-text-muted);
    text-align: center;
}

/* =========================================================
   10. FOOTER
========================================================= */

.mk-footer {
    border-top: 1px solid var(--mk-line);
    background: rgba(10, 10, 10, .92);
    backdrop-filter: var(--mk-blur);
    -webkit-backdrop-filter: var(--mk-blur);
}

.mk-footer-column h3,
.mk-footer-column h4,
.mk-footer-title {
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .1em;
}

.mk-footer-nav a,
.mk-footer-legal a {
    color: var(--mk-text-muted);
    transition: color .2s;
}

.mk-footer-nav a:hover,
.mk-footer-legal a:hover {
    color: var(--mk-accent);
}

.mk-footer-social-link {
    border: 1px solid var(--mk-line-strong);
    border-radius: var(--mk-r-sm);
    background: var(--mk-surface-raised);
    transition: border-color .2s, color .2s, transform .2s;
}

.mk-footer-social-link:hover {
    border-color: var(--mk-accent);
    color: var(--mk-accent);
    transform: translateY(-2px);
}

.mk-footer-bottom {
    border-top: 1px solid var(--mk-line);
    color: var(--mk-text-dim);
}

/* =========================================================
   11. MOBIL
========================================================= */

@media (max-width: 900px) {

    :root {
        --mk-gutter: 14px;
    }

    .mk-hero {
        min-height: 360px;
        margin-top: 16px;
        border-radius: 18px;
    }

    .mk-hero::after {
        background: linear-gradient(0deg, rgba(8, 8, 8, .97) 12%, rgba(8, 8, 8, .7) 60%, rgba(8, 8, 8, .35) 100%);
    }

    .mk-hero-content {
        width: 100%;
        padding: 28px 20px 24px;
    }

    .mk-hero-text {
        font-size: 15px;
    }

    .mk-hero-features {
        gap: 6px;
    }

    .mk-hero-feature {
        flex: 0 1 auto;
        padding: 6px 10px 6px 6px;
    }

    .mk-hero-feature > i {
        width: 26px;
        height: 26px;
        font-size: 12px;
    }

    .mk-hero-feature small {
        display: none;
    }

    .mk-home-header h2,
    .mk-news-section-title h2,
    .mk-boss-guides-section-heading h2,
    .mk-boss-section-heading h2,
    .mk-frontpage-section-header h2,
    .mk-addon-list-heading h2,
    .mk-about-section-heading h2,
    .mk-section-heading {
        font-size: 19px;
    }

    .mk-news-content,
    .mk-single-guide-content,
    .mk-legal-content {
        font-size: 16px;
    }

    .mk-news-content h2,
    .mk-single-guide-content h2,
    .mk-legal-content h2 {
        font-size: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }
}
/* =========================================================
   12. SIDEBARS IM KLASSENGUIDE-STIL
   News, Guides, Bossguides und Übersichtsseiten.
   Jede Gruppe ist eine eigene Karte, Titel klein und gedämpft,
   Links als Zeilen mit Markierung, aktiver Eintrag orange.
========================================================= */

/* Container: keine eigene Box mehr, nur noch Abstand zwischen den Karten */
body .mk-all-sidebar,
body .mk-boss-sidebar .mk-sidebar,
body .mk-news-landing-sidebar {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

body .mk-all-sidebar {
    top: 110px;
}

/* Karten */
body .mk-all-sidebar .mk-all-sidebar-accordion,
body .mk-boss-sidebar .mk-sidebar-section,
body .mk-news-landing-sidebar .mk-news-sidebar-box {
    position: relative;
    margin: 0;
    padding: 18px;
    border: 1px solid #262626 !important;
    border-radius: 16px;
    background: rgba(16, 16, 16, .78);
    box-shadow: none !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* alte Leuchtstreifen und Trenner entfernen */
body .mk-all-sidebar-section::before,
body .mk-all-sidebar-section:first-child::before,
body .mk-all-sidebar-accordion::before,
body .mk-boss-sidebar .mk-sidebar::before,
body .mk-boss-sidebar .mk-sidebar-section::before,
body .mk-news-sidebar-box::before {
    display: none !important;
}

body .mk-boss-sidebar .mk-sidebar-divider,
body .mk-all-sidebar-divider {
    display: none;
}

body .mk-all-sidebar-section,
body .mk-all-sidebar-section:first-child {
    padding: 0;
    margin: 0;
}

/* Kartentitel */
body .mk-all-sidebar-accordion-title,
body .mk-boss-sidebar .mk-sidebar-title,
body .mk-news-landing-sidebar .mk-news-sidebar-heading h2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 0 0 12px;
    padding: 0;
    border: 0;
    background: none;
    color: #6f6f6f;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .1em;
    line-height: 1.3;
    text-transform: uppercase;
    list-style: none;
    cursor: pointer;
}

body .mk-all-sidebar-accordion-title::-webkit-details-marker {
    display: none;
}

body .mk-all-sidebar-accordion-title i,
body .mk-boss-sidebar .mk-sidebar-title i {
    display: none;
}

body .mk-all-sidebar-accordion-title > span:first-child {
    display: inline;
    color: inherit;
    font: inherit;
    letter-spacing: inherit;
}

body .mk-all-sidebar-accordion-icon {
    color: #5f5f5f;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0;
}

body .mk-all-sidebar-accordion:not([open]) .mk-all-sidebar-accordion-title {
    margin-bottom: 0;
}

/* doppelte Titel innerhalb der Karte ausblenden (Titel steht schon oben) */
body .mk-all-sidebar-accordion-content .mk-all-sidebar-title,
body .mk-all-sidebar-accordion-content .mk-all-sidebar-header {
    display: none;
}

body .mk-news-landing-sidebar .mk-news-sidebar-heading {
    margin: 0;
}

/* Listen */
body .mk-all-sidebar-nav ul,
body .mk-boss-sidebar .mk-sidebar-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

body .mk-all-sidebar-nav li,
body .mk-boss-sidebar .mk-sidebar-nav li {
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
}

/* Zeilen */
body .mk-all-sidebar-nav a,
body .mk-boss-sidebar .mk-sidebar-nav a,
body .mk-news-landing-sidebar .mk-news-sidebar-categories a {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 -8px;
    padding: 9px 10px;
    border: 0;
    border-radius: 10px;
    background: none;
    color: #bdbdbd;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    text-decoration: none;
    box-shadow: none;
    transition: background .2s, color .2s;
}

/* Markierung links (wie die Icons im Klassenguide) */
body .mk-all-sidebar-nav a::before,
body .mk-boss-sidebar .mk-sidebar-nav a::before {
    content: "";
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    margin: 0 6px;
    border-radius: 50%;
    background: #4a4a4a;
    box-shadow: none;
    transition: background .2s, box-shadow .2s;
}

body .mk-boss-sidebar .mk-sidebar-nav a i {
    display: none;
}

body .mk-news-landing-sidebar .mk-news-sidebar-category-icon {
    width: 18px;
    color: #5f5f5f;
    text-align: center;
    transition: color .2s;
}

body .mk-news-landing-sidebar .mk-news-sidebar-category-name {
    flex: 1;
}

/* Hover */
body .mk-all-sidebar-nav a:hover,
body .mk-boss-sidebar .mk-sidebar-nav a:hover,
body .mk-news-landing-sidebar .mk-news-sidebar-categories a:hover {
    background: rgba(255, 255, 255, .04);
    color: #fff;
}

/* Aktiv */
body .mk-all-sidebar-nav a.active,
body .mk-all-sidebar-nav li.active > a,
body .mk-boss-sidebar .mk-sidebar-nav li.active > a,
body .mk-boss-sidebar .mk-sidebar-nav a.active {
    border: 0;
    background: linear-gradient(90deg, rgba(255, 122, 0, .2), rgba(255, 122, 0, 0));
    color: #fff;
    box-shadow: none;
}

body .mk-all-sidebar-nav a.active::before,
body .mk-all-sidebar-nav li.active > a::before,
body .mk-boss-sidebar .mk-sidebar-nav li.active > a::before,
body .mk-boss-sidebar .mk-sidebar-nav a.active::before {
    background: var(--mk-orange, #ff7a00);
    box-shadow: 0 0 8px rgba(255, 122, 0, .5);
}

body .mk-boss-sidebar .mk-sidebar-nav li.active > a i,
body .mk-boss-sidebar .mk-sidebar-nav a.active i,
body .mk-boss-sidebar .mk-sidebar-nav a:hover i,
body .mk-news-landing-sidebar .mk-news-sidebar-categories a:hover .mk-news-sidebar-category-icon {
    color: var(--mk-orange, #ff7a00);
}

/* Hinweis-Karten in der Bossguide-Sidebar */
body .mk-boss-sidebar .mk-sidebar-card {
    padding: 10px 0 0;
    border: 0;
    background: none;
    color: #8f8f8f;
    font-size: 13px;
}

@media (max-width: 1100px) {

    body .mk-all-sidebar,
    body .mk-boss-sidebar .mk-sidebar {
        position: static;
    }
}
