/*
 * .mk-class-grid
 * = äußerer Container
 *
 * .mk-class-grid-inner
 * = tatsächliches Grid
 */

.mk-class-grid {

    width: 100%;
    max-width: 100%;

    margin: 0;
    padding: 0;

    box-sizing: border-box;

}

/* =========================================================
   KLASSENGUIDES – GRID
========================================================= */

.mk-class-grid {

    width: 100%;

    max-width: 1400px;

    margin-left: auto;
    margin-right: auto;

}

.mk-class-grid-inner {

    display: grid;

    grid-template-columns:
        repeat(5, minmax(0, 1fr));

    gap: 24px;

    width: 100%;
    max-width: 100%;

    margin: 0;
    padding: 0;

    box-sizing: border-box;
}

/* =========================================================
   CARD
========================================================= */

.mk-class-card {

    position: relative;

    display: flex;
    flex-direction: column;

    width: 100%;
    min-width: 0;

    overflow: hidden;

    border-radius: 18px;

    background: #151515;

    border: 1px solid rgba(255, 255, 255, .09);

    color: #fff;
    text-decoration: none;

    box-sizing: border-box;

    transition:
        transform .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}

/* =========================================================
   BILD-BEREICH
========================================================= */

.mk-class-card-image {

    position: relative;

    width: 100%;
    height: 220px;

    flex: 0 0 220px;

    overflow: hidden;

    background-color: #151515;

    background-image: var(--class-image);

    background-repeat: no-repeat;

    background-position: center center;

    background-size: cover;
}

/* =========================================================
   GESCHWUNGENE SCHWARZE FLÄCHE
========================================================= */

.mk-class-card-image::before {

    content: "";

    position: absolute;

    z-index: 3;

    left: -12%;

    bottom: -48px;

    width: 124%;

    height: 82px;

    background: #151515;

    border-radius:
        50% 50% 0 0 / 100% 100% 0 0;

    pointer-events: none;
}

/* =========================================================
   ICON
========================================================= */

.mk-class-card-icon {

    position: absolute;

    z-index: 6;

    left: 50%;

    bottom: 8px;

    transform: translateX(-50%);

    width: 76px;
    height: 76px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #151515;

    border: 2px solid rgba(255, 122, 0, .75);

    box-shadow:
        0 0 0 5px #151515,
        0 8px 24px rgba(0, 0, 0, .55);
}

.mk-class-card-icon img {

    width: 56px;
    height: 56px;

    display: block;

    object-fit: contain;
}

/* =========================================================
   CONTENT
========================================================= */

.mk-class-card-content {

    position: relative;

    z-index: 5;

    display: flex;

    flex-direction: column;

    align-items: center;

    width: 100%;

    box-sizing: border-box;

    padding:
        0 18px 24px;

    margin-top: -1px;

    text-align: center;
}

/* =========================================================
   KLASSENNAME
========================================================= */

.mk-class-card-title {

    width: 100%;

    margin: 0 0 16px;

    color: var(--class-color);

    font-size: 22px;

    line-height: 1.2;

    font-weight: 800;

    text-align: center;
}

/* =========================================================
   SPEZIALISIERUNGEN
========================================================= */

.mk-class-card-specs {

    display: flex;

    flex-wrap: wrap;

    align-items: center;
    justify-content: center;

    gap: 7px;

    width: 100%;

    margin: 0;
}

/* =========================================================
   SPEZIALISIERUNG
========================================================= */

.mk-class-card-spec {

    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 30px;

    padding:
        0 11px;

    box-sizing: border-box;

    border-radius: 7px;

    background:
        rgba(255, 255, 255, .035);

    border:
        1px solid rgba(255, 255, 255, .10);

    color: #ddd;

    font-size: 11px;

    font-weight: 600;

    white-space: nowrap;

    text-decoration: none;

    transition:
        background .2s ease,
        border-color .2s ease,
        color .2s ease;
}

/* =========================================================
   SPEZ HOVER
========================================================= */

.mk-class-card-spec:hover {

    background:
        var(--class-color);

    border-color:
        var(--class-color);

    color: #fff;
}

/* =========================================================
   CARD HOVER
========================================================= */

.mk-class-card:hover {

    transform: translateY(-5px);

    border-color:
        color-mix(in srgb,
            var(--class-color) 45%,
            transparent);

    box-shadow:
        0 18px 40px rgba(0, 0, 0, .45),
        0 0 28px color-mix(in srgb,
            var(--class-color) 10%,
            transparent);
}

/* =========================================================
   KLASSE – BILDVARIABLEN
========================================================= */

.mk-class-card.is-krieger {
    --class-image: url('/modules/markthyr-core/assets/images/Warriorlanding.webp');
}

.mk-class-card.is-paladin {
    --class-image: url('/modules/markthyr-core/assets/images/Paladinlanding.webp');
}

.mk-class-card.is-jaeger {
    --class-image: url('/modules/markthyr-core/assets/images/Hunterlanding.webp');
}

.mk-class-card.is-schurke {
    --class-image: url('/modules/markthyr-core/assets/images/Roguelanding.webp');
}

.mk-class-card.is-priester {
    --class-image: url('/modules/markthyr-core/assets/images/Priestlanding.webp');
}

.mk-class-card.is-todesritter {
    --class-image: url('/modules/markthyr-core/assets/images/Deathknightlanding.webp');
}

.mk-class-card.is-schamane {
    --class-image: url('/modules/markthyr-core/assets/images/Shamanlanding.webp');
}

.mk-class-card.is-magier {
    --class-image: url('/modules/markthyr-core/assets/images/Magelanding.webp');
}

.mk-class-card.is-hexenmeister {
    --class-image: url('/modules/markthyr-core/assets/images/Warlocklanding.webp');
}

.mk-class-card.is-moench {
    --class-image: url('/modules/markthyr-core/assets/images/Monklanding.webp');
}

.mk-class-card.is-druide {
    --class-image: url('/modules/markthyr-core/assets/images/Druidlanding.webp');
}

.mk-class-card.is-daemonenjaeger {
    --class-image: url('/modules/markthyr-core/assets/images/Demonhunterlanding.webp');
}

.mk-class-card.is-rufer {
    --class-image: url('/modules/markthyr-core/assets/images/Evokerlanding.webp');
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .mk-class-grid-inner {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

    }

}

/* =========================================================
   GESCHWUNGENE TRENNLINIE
========================================================= */

.mk-class-card-image::before {

    content: "";

    position: absolute;

    left: -50%;
    bottom: 0;

    width: 200%;
    height: 80px;

    z-index: 5;

    background: var(--mk-orange);

    clip-path: polygon(0% 0%,
            2% 2%,
            4% 4%,
            6% 6%,
            8% 8%,
            10% 10%,
            12% 12%,
            14% 14%,
            16% 16%,
            18% 18%,
            20% 20%,
            22% 22%,
            24% 24%,
            26% 26%,
            28% 28%,
            30% 30%,
            32% 32%,
            34% 33%,
            36% 34%,
            38% 35%,
            40% 36%,
            42% 37%,
            44% 38%,
            46% 39%,
            48% 39.5%,

            /* TIEFSTER PUNKT */

            50% 40%,

            /* RECHTE HÄLFTE */

            52% 39.5%,
            54% 39%,
            56% 38%,
            58% 37%,
            60% 36%,
            62% 35%,
            64% 34%,
            66% 33%,
            68% 32%,
            70% 30%,
            72% 28%,
            74% 26%,
            76% 24%,
            78% 22%,
            80% 20%,
            82% 18%,
            84% 16%,
            86% 14%,
            88% 12%,
            90% 10%,
            92% 8%,
            94% 6%,
            96% 4%,
            98% 2%,
            100% 0%,

            100% 2%,
            98% 4%,
            96% 6%,
            94% 8%,
            92% 10%,
            90% 12%,
            88% 14%,
            86% 16%,
            84% 18%,
            82% 20%,
            80% 22%,
            78% 24%,
            76% 26%,
            74% 28%,
            72% 30%,
            70% 32%,
            68% 34%,
            66% 35%,
            64% 36%,
            62% 37%,
            60% 38%,
            58% 39%,
            56% 40%,
            54% 41%,
            50% 42%,
            46% 41%,
            44% 40%,
            42% 39%,
            40% 38%,
            38% 37%,
            36% 36%,
            34% 35%,
            32% 34%,
            30% 32%,
            28% 30%,
            26% 28%,
            24% 26%,
            22% 24%,
            20% 22%,
            18% 20%,
            16% 18%,
            14% 16%,
            12% 14%,
            10% 12%,
            8% 10%,
            6% 8%,
            4% 6%,
            2% 4%,
            0% 2%);

}

/* =========================================================
   SCHWARZE UNTERE FLÄCHE
========================================================= */

.mk-class-card-image::after {

    content: "";

    position: absolute;

    left: -5%;
    bottom: 0;

    width: 110%;
    height: 80px;

    z-index: 4;

    background: #151515;

    clip-path: polygon(
            /* =========================================
           OBERE KANTE
           EXAKT AN DIE KURVE DES STREIFENS ANGEPASST
        ========================================= */

            0% 19%,
            5% 26%,
            10% 27.5%,
            15% 30%,
            20% 33.5%,
            25% 35%,
            30% 36%,
            35% 37%,
            40% 39%,
            45% 40.5%,
            50% 44%,
            55% 40.5%,
            60% 39%,
            65% 37%,
            70% 36%,
            75% 35%,
            80% 33.5%,
            85% 30%,
            90% 27.5%,
            95% 26%,
            100% 19%,

            /* =========================================
           RESTLICHE SCHWARZE FLÄCHE
        ========================================= */

            100% 100%,
            0% 100%);

}

/* =========================================================
   CLASS OVERVIEW HEADER
========================================================= */

.mk-class-overview {

    width: 100%;

    position: relative;

    z-index: 2;

    padding:
        15px 20px 25px;

    text-align: center;

}

.mk-class-overview-header {

    max-width: 760px;

    margin: 0 auto;

}

.mk-class-overview-eyebrow {

    display: block;

    margin-bottom: 8px;

    color: var(--mk-orange);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 2px;

    text-transform: uppercase;

}

.mk-class-overview-header h2 {

    margin: 0 0 12px;

    color: #fff;

    font-size: 34px;

    line-height: 1.2;

    font-weight: 800;

}

.mk-class-overview-header p {

    max-width: 680px;

    margin: 0 auto;

    color: #999;

    font-size: 14px;

    line-height: 1.6;

}

/* =========================================================
   INFO CARD
========================================================= */

.mk-class-info {

    display: grid;

    grid-template-columns: 90px 1fr auto;

    align-items: center;

    gap: 24px;

    width: 100%;

    margin-top: 24px;

    padding: 28px 34px;

    box-sizing: border-box;

    background: #151515;

    border: 1px solid rgba(255, 255, 255, .09);

    border-radius: 18px;

}

.mk-class-info-icon {

    width: 70px;

    height: 70px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: rgba(255, 122, 0, .08);

    border: 1px solid rgba(255, 122, 0, .3);

}

.mk-class-info-icon span {

    color: var(--mk-orange);

    font-size: 32px;

}

.mk-class-info-content h3 {

    margin: 0 0 7px;

    color: #fff;

    font-size: 18px;

    font-weight: 800;

}

.mk-class-info-points {

    display: grid;

    grid-template-columns: repeat(2, auto);

    gap: 8px 20px;

}

.mk-class-info-points span {

    color: #aaa;

    font-size: 12px;

}

.mk-class-info-points span::first-letter {

    color: var(--mk-orange);

}

/* =========================================================
   MORE GUIDES BANNER
========================================================= */

.mk-more-guides {

    position: relative;

    display: grid;

    grid-template-columns: 90px 1fr auto;

    align-items: center;

    gap: 24px;

    max-width: 850px;

    margin: 22px auto 45px;

    padding: 22px 28px;

    box-sizing: border-box;

    overflow: hidden;

    background:
        linear-gradient(100deg,
            #171717 0%,
            #191919 65%,
            #21170e 100%);

    border: 1px solid rgba(255, 255, 255, .08);

    border-radius: 16px;

}

.mk-more-guides::after {

    content: "";

    position: absolute;

    right: -80px;

    top: -100px;

    width: 250px;

    height: 250px;

    background:
        radial-gradient(circle,
            rgba(255, 122, 0, .12),
            transparent 70%);

    pointer-events: none;

}

.mk-more-guides-content {

    position: relative;

    z-index: 1;

}

.mk-more-guides-content h3 {

    margin: 0 0 5px;

    color: #fff;

    font-size: 18px;

    font-weight: 800;

}

.mk-more-guides-content p {

    max-width: 420px;

    margin: 0;

    color: #999;

    font-size: 12px;

    line-height: 1.5;

}

.mk-more-guides-button {

    position: relative;

    z-index: 2;

    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 11px 20px;

    border-radius: 7px;

    background: var(--mk-orange);

    color: #fff;

    font-size: 12px;

    font-weight: 700;

    text-decoration: none;

    transition:
        background .2s ease,
        transform .2s ease;

}

.mk-more-guides-button:hover {

    background: var(--mk-orange-hover);

    transform: translateY(-2px);

}

.mk-more-guides-button span {

    font-size: 16px;

}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    

    

    

    

    

    

    

    

    

    .mk-class-info {

        grid-template-columns: 1fr;

        text-align: center;

        justify-items: center;

        padding: 25px 20px;

    }

    .mk-class-info-points {

        grid-template-columns: 1fr;

        text-align: left;

    }

    .mk-more-guides {

        grid-template-columns: 1fr;

        justify-items: center;

        text-align: center;

        margin:
            20px 16px 35px;

    }

}

.mk-landing {
    width: 100%;
    max-width: 1600px;

    margin-left: auto;
    margin-right: auto;

    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

/* =========================================================
   INFO BOX – IMMER UP TO DATE
========================================================= */

.mk-class-info-card {

    position: relative;

    grid-column: span 2;

    min-height: 220px;

    box-sizing: border-box;

    overflow: hidden;

    display: flex;

    align-items: center;

    padding: 30px 34px;

    background:
        linear-gradient(90deg,
            rgba(21, 21, 21, .98) 0%,
            rgba(21, 21, 21, .96) 48%,
            rgba(21, 21, 21, .82) 72%,
            rgba(21, 21, 21, .65) 100%);

    border:
        1px solid rgba(255, 255, 255, .09);

    border-radius: 18px;

    color: #fff;

}

/* =========================================================
   ALLIANZ LOGO – HINTERGRUND
========================================================= */

.mk-class-info-card::after {

    content: "";

    position: absolute;

    right: 25px;
    top: 50%;

    width: 280px;
    height: 280px;

    transform: translateY(-50%);

    background:
        url("/uploads/2026/08/Allianz.webp") center center / contain no-repeat;

    opacity: .16;

    pointer-events: none;

    z-index: 0;

}

/* =========================================================
   INHALT
========================================================= */

.mk-class-info-content {

    position: relative;

    z-index: 2;

    width: 60%;

    max-width: 60%;

}

/* =========================================================
   TITEL
========================================================= */

.mk-class-info-content h2 {

    margin: 0 0 8px;

    color: #fff;

    font-size: 22px;

    line-height: 1.2;

    font-weight: 800;

}

/* =========================================================
   BESCHREIBUNG
========================================================= */

.mk-class-info-content p {

    max-width: 560px;

    margin: 0 0 20px;

    color:
        rgba(255, 255, 255, .58);

    font-size: 13px;

    line-height: 1.55;

}

/* =========================================================
   CHECKLISTE
========================================================= */

.mk-class-info-content ul {

    display: grid;

    grid-template-columns:
        repeat(2, max-content);

    column-gap: 35px;

    row-gap: 9px;

    margin: 0;

    padding: 0;

    list-style: none;

}

.mk-class-info-content li {

    display: flex;

    align-items: center;

    gap: 7px;

    color:
        rgba(255, 255, 255, .65);

    font-size: 12px;

    line-height: 1.3;

    white-space: nowrap;

}

.mk-class-info-content li span {

    color:
        var(--mk-orange);

    font-size: 14px;

    font-weight: 700;

}

/* =========================================================
   MORE GUIDES – LOGO
========================================================= */

.mk-more-guides-icon {

    width: auto;
    height: auto;

    flex: 0 0 100px;

    display: flex;

    align-items: center;
    justify-content: center;

    box-sizing: border-box;

}

/* =========================================================
   MARKTHYR LOGO
========================================================= */

.mk-more-guides-icon img {

    display: block;

    width: 100px;
    height: auto;

    object-fit: contain;

}

/* =========================================================
   MOBILE – KLASSENGUIDES FINAL
========================================================= */

@media (max-width: 700px) {

    /* =====================================================
       LANDING CONTAINER
    ===================================================== */

    .mk-landing {

        width: 100%;
        max-width: 100%;

        margin: 0;
        padding: 0;

        left: auto;
        transform: none;

        overflow-x: hidden;

        box-sizing: border-box;

    }

    /* =====================================================
       CLASS GRID
    ===================================================== */

    .mk-class-grid {

        width: 100%;
        max-width: 100%;

        margin: 0;
        padding: 0 16px;

        box-sizing: border-box;

    }

    .mk-class-grid-inner {

        width: 100%;
        max-width: 100%;

        min-width: 0;

        grid-template-columns:
            minmax(0, 1fr);

        gap: 18px;

    }

    /* =====================================================
       CLASS CARDS
    ===================================================== */

    .mk-class-card {

        width: 100%;
        max-width: 100%;

        min-width: 0;

        border-radius: 16px;

    }

    .mk-class-card-image {

        height: 190px;

        flex-basis: 190px;

    }

    .mk-class-card-content {

        width: 100%;
        max-width: 100%;

        padding:
            0 14px 20px;

        box-sizing: border-box;

    }

    .mk-class-card-title {

        margin-bottom: 14px;

        font-size: 21px;

    }

    .mk-class-card-specs {

        width: 100%;
        max-width: 100%;

        gap: 6px;

    }

    .mk-class-card-spec {

        min-height: 29px;

        padding: 0 10px;

        font-size: 10px;

    }

    /* =====================================================
       CLASS ICON
    ===================================================== */

    .mk-class-card-icon {

        width: 70px;
        height: 70px;

        bottom: 7px;

    }

    .mk-class-card-icon img {

        width: 52px;
        height: 52px;

    }

    /* =====================================================
       HOVER AUF TOUCH AUS
    ===================================================== */

    .mk-class-card:hover {

        transform: none;

        box-shadow: none;

    }

    /* =====================================================
       OVERVIEW
    ===================================================== */

    .mk-class-overview {

        width: 100%;
        max-width: 100%;

        padding:
            42px 20px 25px;

        box-sizing: border-box;

    }

    .mk-class-overview-header {

        width: 100%;
        max-width: 100%;

    }

    .mk-class-overview-eyebrow {

        margin-bottom: 7px;

        font-size: 10px;

        letter-spacing: 1.7px;

    }

    .mk-class-overview-header h2 {

        margin-bottom: 10px;

        font-size: 28px;

        line-height: 1.15;

    }

    .mk-class-overview-header p {

        width: 100%;
        max-width: 100%;

        font-size: 13px;

        line-height: 1.55;

    }

    /* =====================================================
       UP TO DATE BOX
    ===================================================== */

    .mk-class-info-card {

        width: 100%;
        max-width: 100%;

        min-width: 0;

        grid-column: span 1;

        min-height: 0;

        display: block;

        padding: 24px 20px;

        box-sizing: border-box;

        border-radius: 16px;

    }

    /* Allianz Hintergrund */

    .mk-class-info-card::after {

        right: -35px;

        top: 50%;

        width: 190px;
        height: 190px;

        opacity: .11;

    }

    .mk-class-info-content {

        width: 100%;
        max-width: 100%;

        min-width: 0;

    }

    .mk-class-info-content h2 {

        font-size: 20px;

        margin-bottom: 8px;

    }

    .mk-class-info-content p {

        width: 100%;
        max-width: 100%;

        margin-bottom: 18px;

        font-size: 12px;

        line-height: 1.55;

    }

    .mk-class-info-content ul {

        grid-template-columns: 1fr;

        width: 100%;

        gap: 8px;

    }

    .mk-class-info-content li {

        font-size: 11px;

        white-space: normal;

    }

    /* =====================================================
       MORE GUIDES
    ===================================================== */

    .mk-more-guides {

        display: grid;

        grid-template-columns: 70px minmax(0, 1fr);

        align-items: center;

        gap: 16px;

        width: calc(100% - 32px);

        max-width: none;

        margin:
            20px 16px 35px;

        padding:
            20px 18px;

        box-sizing: border-box;

        border-radius: 14px;

    }

    /* =====================================================
       MORE GUIDES LOGO
    ===================================================== */

    .mk-more-guides-icon {

        width: 70px;
        height: 70px;

        flex: 0 0 70px;

    }

    .mk-more-guides-icon img {

        width: 70px;
        height: auto;

    }

    /* =====================================================
       MORE GUIDES TEXT
    ===================================================== */

    .mk-more-guides-content {

        width: 100%;
        max-width: 100%;

        min-width: 0;

    }

    .mk-more-guides-content h3 {

        margin-bottom: 5px;

        font-size: 16px;

        line-height: 1.25;

    }

    .mk-more-guides-content p {

        width: 100%;
        max-width: 100%;

        font-size: 11px;

        line-height: 1.5;

    }

    /* =====================================================
       MORE GUIDES BUTTON
    ===================================================== */

    .mk-more-guides-button {

        grid-column: 1 / -1;

        width: 100%;

        justify-content: center;

        padding: 12px 18px;

        box-sizing: border-box;

        font-size: 12px;

    }

}
