/* EC SPLIT 2026-11-13 | ec-content-elements.css | Originalzeilen: 13578-16156 | Keine Regeln verändert. */
/* ==================================================
   CONTENT ELEMENTS
================================================== */


/* ------------------------------------------------
   01. BASICS
   Grundformatierung aller Content Elements
------------------------------------------------ */

.ec-content-element {
    position: relative;

    width:
        min(1180px, calc(100vw - 40px));

    max-width:
        none;

    margin-top:
        clamp(32px, 4vw, 52px);

    margin-bottom:
        clamp(32px, 4vw, 52px);

    margin-left:
        50%;

    transform:
        translateX(-50%);

    box-sizing:
        border-box;

    --ec-ce-bg:
        transparent;

    --ec-ce-mountain-color:
        rgba(32, 56, 47, 0.10);
}


/* Farbmanagement ---------------------------------

   Reisetipps
   Hintergrund: #eaeae3
   Berg:        #dcdcd5

   Packliste
   Hintergrund: #e7eef2
   Berg:        #c2d3dc

   Affiliate / Kaffeekasse
   Hintergrund: #fbede2
   Berg:        #f5dac2
-------------------------------------------------- */

.ec-ce-traveltips {
    --ec-ce-bg:
        #eaeae3;

    --ec-ce-mountain-color:
        #dcdcd5;
}


.ec-ce-packlist {
    --ec-ce-bg:
        #e7eef2;

    --ec-ce-mountain-color:
        #c2d3dc;
}


.ec-ce-affiliate {
    --ec-ce-bg:
        #fbede2;

    --ec-ce-mountain-color:
        #f5dac2;
}


/* Berg-Silhouette -------------------------------

   Zentrale SVG:
   /images/content-elements/silhouette.svg

   Die SVG wird ausschließlich als Maske verwendet.
   Farbe, Größe und Position werden im jeweiligen
   Content Element gesteuert.
-------------------------------------------------- */

.ec-ce-mountain {
    position:
        absolute;

    display:
        block;

    background-color:
        var(--ec-ce-mountain-color);

    -webkit-mask:
        url("/images/content-elements/silhouette.svg")
        center
        / contain
        no-repeat;

    mask:
        url("/images/content-elements/silhouette.svg")
        center
        / contain
        no-repeat;

    pointer-events:
        none;

    user-select:
        none;
}


/* Responsive Basics ----------------------------- */

@media (max-width: 767.98px) {

    .ec-content-element {
        width:
            100%;

        max-width:
            100%;

        margin-left:
            0;

        margin-right:
            0;

        transform:
            none;
    }

}


/* ------------------------------------------------
   02. REISETIPPS

   Großes Content Element mit drei Themenkarten.

   Hintergrund: #eaeae3
   Berg:        #dcdcd5
------------------------------------------------ */

.ec-ce-traveltips {
    position:
        relative;

    overflow:
        hidden;

    padding:
        clamp(30px, 3vw, 42px)
        clamp(30px, 4vw, 48px)
        clamp(28px, 3vw, 36px);

    background:
        var(--ec-ce-bg);
}


/* Kopfbereich ----------------------------------- */

.ec-ce-traveltips__header {
    position:
        relative;

    z-index:
        2;

    display:
        grid;

    grid-template-columns:
        minmax(0, 1fr)
        clamp(260px, 31%, 370px);

    grid-template-rows:
        auto
        auto
        auto;

    column-gap:
        clamp(24px, 4vw, 52px);

    align-items:
        end;
}


/* Dachzeile */

.ec-ce-traveltips__eyebrow {
    position:
        relative;

    z-index:
        5;

    grid-column:
        1;

    grid-row:
        1;

    align-self:
        end;

    display:
        block;

    margin:
        0
        0
        8px;

    font-family:
        var(--ec-font-body);

    font-size:
        0.74rem;

    font-weight:
        700;

    line-height:
        1.2;

    letter-spacing:
        0.10em;

    text-transform:
        uppercase;

    color:
        rgba(32, 56, 47, 0.68);
}


/* Überschrift */

.ec-ce-traveltips__title {
    position:
        relative;

    z-index:
        5;

    grid-column:
        1;

    grid-row:
        2;

    align-self:
        end;

    margin:
        0;

    font-family:
        var(--ec-font-headline);

    font-size:
        clamp(2rem, 3vw, 3rem);

    font-weight:
        500;

    line-height:
        1.05;

    color:
        var(--ec-green, #20382f);
}


/* Beschreibung */

.ec-ce-traveltips__intro {
    position:
        relative;

    z-index:
        5;

    grid-column:
        1 / -1;

    grid-row:
        3;

    max-width:
        650px;

    margin:
        clamp(22px, 2.6vw, 32px)
        0
        0;

    font-family:
        var(--ec-font-body);

    font-size:
        clamp(0.92rem, 1vw, 1rem);

    font-weight:
        400;

    line-height:
        1.5;

    text-align:
        left;

    color:
        var(--ec-green, #20382f);
}


/* Berg
   Unterkante liegt auf Höhe der Überschrift. */

.ec-ce-traveltips
.ec-ce-mountain {
    position:
        relative;

    z-index:
        1;

    grid-column:
        2;

    grid-row:
        1 / 3;

    align-self:
        end;

    justify-self:
        stretch;

    top:
        auto;

    right:
        auto;

    bottom:
        auto;

    width:
        100%;

    height:
        clamp(105px, 10vw, 145px);

    opacity:
        1;
}


/* Handschriftlicher Claim */

.ec-ce-traveltips__claim {
    position:
        relative;

    z-index:
        4;

    grid-column:
        2;

    grid-row:
        1 / 3;

    align-self:
        center;

    justify-self:
        end;

    width:
        auto;

    margin:
        0
        clamp(5px, 1vw, 14px)
        10px
        0;

    font-family:
        'Bilbo', cursive;

    font-size:
        clamp(1.9rem, 2.35vw, 2.55rem);

    font-style:
        normal;

    font-weight:
        400;

    line-height:
        0.88;

    text-align:
        left;

    white-space:
        nowrap;

    color:
        var(--ec-green, #20382f);

    transform:
        rotate(-5deg);

    transform-origin:
        center center;
}


.ec-ce-traveltips__claim::after {
    content:
        "";

    display:
        block;

    width:
        42px;

    height:
        2px;

    margin:
        9px
        0
        0
        18px;

    background:
        var(--ec-green, #20382f);

    transform:
        rotate(3deg);
}


/* Kartenbereich --------------------------------- */

.ec-ce-traveltips__cards {
    position:
        relative;

    z-index:
        4;

    display:
        grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap:
        clamp(16px, 2vw, 22px);

    margin-top:
        clamp(20px, 2.4vw, 28px);
}


/* Einzelne Karte */

.ec-ce-traveltips__card {
    position:
        relative;

    display:
        block;

    min-width:
        0;

    aspect-ratio:
        16 / 9;

    overflow:
        hidden;

    color:
        #ffffff;

    text-decoration:
        none;

    background:
        var(--ec-green, #20382f);
}


/* Bild */

.ec-ce-traveltips__card img {
    display:
        block;

    width:
        100%;

    height:
        100%;

    object-fit:
        cover;

    transition:
        transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}


/* Dunkler Verlauf */

.ec-ce-traveltips__card::after {
    content:
        "";

    position:
        absolute;

    inset:
        0;

    z-index:
        1;

    background:
        linear-gradient(
            to bottom,
            rgba(10, 20, 17, 0.01) 20%,
            rgba(10, 20, 17, 0.16) 48%,
            rgba(10, 20, 17, 0.82) 100%
        );

    pointer-events:
        none;
}


/* Karteninhalt */

.ec-ce-traveltips__card-content {
    position:
        absolute;

    z-index:
        2;

    left:
        20px;

    right:
        18px;

    bottom:
        18px;

    display:
        grid;

    grid-template-columns:
        48px
        minmax(0, 1fr)
        28px;

    gap:
        12px;

    align-items:
        end;
}



/* Font-Awesome Icon */

.ec-ce-traveltips__icon {
    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    width:
        48px;

    height:
        48px;

    font-size:
        2rem;

    line-height:
        1;

    color:
        #ffffff;
}


/* Kartentext */

.ec-ce-traveltips__card-text {
    min-width:
        0;
}


.ec-ce-traveltips__card-title {
    display:
        block;

    margin:
        0
        0
        3px;

    font-family:
        var(--ec-font-headline);

    font-size:
        clamp(1.15rem, 1.5vw, 1.45rem);

    font-weight:
        600;

    line-height:
        1.05;

    color:
        #ffffff;
}


.ec-ce-traveltips__card-desc {
    display:
        block;

    margin:
        0;

    font-family:
        var(--ec-font-body);

    font-size:
        clamp(0.76rem, 0.85vw, 0.88rem);

    font-weight:
        400;

    line-height:
        1.3;

    color:
        rgba(255, 255, 255, 0.94);
}


/* Pfeil */

.ec-ce-traveltips__arrow {
    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    width:
        28px;

    height:
        34px;

    font-size:
        1.5rem;

    color:
        #ffffff;

    transition:
        transform 0.25s ease;
}


/* Hover */

.ec-ce-traveltips__card:hover img,
.ec-ce-traveltips__card:focus-visible img {
    transform:
        scale(1.045);
}


.ec-ce-traveltips__card:hover
.ec-ce-traveltips__arrow,
.ec-ce-traveltips__card:focus-visible
.ec-ce-traveltips__arrow {
    transform:
        translateX(4px);
}


.ec-ce-traveltips__card:focus-visible {
    outline:
        2px solid var(--ec-orange, #d46f32);

    outline-offset:
        3px;
}


/* Reisetipps - Tablet --------------------------- */

@media (max-width: 991.98px) {

    .ec-ce-traveltips__header {
        grid-template-columns:
            minmax(0, 1fr)
            clamp(210px, 32%, 280px);

        column-gap:
            24px;
    }


    .ec-ce-traveltips
    .ec-ce-mountain {
        height:
            clamp(92px, 11vw, 118px);
    }


    .ec-ce-traveltips__claim {
        margin-right:
            4px;

        margin-bottom:
            8px;

        font-size:
            clamp(1.7rem, 2.8vw, 2.1rem);
    }


    .ec-ce-traveltips__intro {
        margin-top:
            24px;
    }


    .ec-ce-traveltips__card-content {
        left:
            14px;

        right:
            12px;

        bottom:
            14px;

        grid-template-columns:
            38px
            minmax(0, 1fr)
            24px;

        gap:
            9px;
    }


    .ec-ce-traveltips__icon {
        width:
            38px;

        height:
            42px;

        font-size:
            1.65rem;
    }

}


/* Reisetipps - Einspalter ----------------------- */

@media (max-width: 767.98px) {

    .ec-ce-traveltips {
        width:
            100%;

        max-width:
            100%;

        margin-left:
            0;

        margin-right:
            0;

        transform:
            none;

        padding:
            26px
            22px
            24px;
    }


    .ec-ce-traveltips__header {
        grid-template-columns:
            minmax(0, 1fr)
            clamp(150px, 34%, 205px);

        column-gap:
            14px;
    }


    .ec-ce-traveltips__eyebrow {
        font-size:
            0.70rem;

        letter-spacing:
            0.09em;
    }


    .ec-ce-traveltips__title {
        font-size:
            clamp(1.75rem, 5vw, 2.15rem);
    }


    .ec-ce-traveltips
    .ec-ce-mountain {
        height:
            clamp(72px, 15vw, 96px);
    }


    .ec-ce-traveltips__claim {
        margin-right:
            0;

        margin-bottom:
            6px;

        font-size:
            clamp(1.35rem, 4vw, 1.75rem);

        line-height:
            0.86;
    }


    .ec-ce-traveltips__claim::after {
        width:
            32px;

        height:
            1px;

        margin-top:
            7px;

        margin-left:
            12px;
    }


    .ec-ce-traveltips__intro {
        max-width:
            100%;

        margin-top:
            22px;

        font-size:
            0.94rem;

        line-height:
            1.45;
    }


    .ec-ce-traveltips__cards {
        grid-template-columns:
            1fr;

        gap:
            14px;

        margin-top:
            24px;
    }


    .ec-ce-traveltips__card {
        aspect-ratio:
            16 / 8.2;
    }


    .ec-ce-traveltips__card-content {
        left:
            18px;

        right:
            18px;

        bottom:
            16px;

        grid-template-columns:
            44px
            minmax(0, 1fr)
            28px;

        gap:
            10px;
    }


    .ec-ce-traveltips__icon {
        width:
            44px;

        height:
            44px;

        font-size:
            1.8rem;
    }

}


/* Reisetipps - Small Mobile --------------------- */

@media (max-width: 575.98px) {

    .ec-ce-traveltips {
        padding:
            22px
            16px
            18px;
    }


    .ec-ce-traveltips__header {
        grid-template-columns:
            minmax(0, 1fr)
            clamp(115px, 35%, 160px);

        column-gap:
            8px;
    }


    .ec-ce-traveltips__eyebrow {
        font-size:
            0.66rem;

        letter-spacing:
            0.075em;

        margin-bottom:
            6px;
    }


    .ec-ce-traveltips__title {
        font-size:
            clamp(1.65rem, 7vw, 1.95rem);
    }


    .ec-ce-traveltips
    .ec-ce-mountain {
        height:
            clamp(58px, 16vw, 76px);
    }


    .ec-ce-traveltips__claim {
        margin-bottom:
            4px;

        font-size:
            clamp(1.15rem, 4.6vw, 1.45rem);

        line-height:
            0.85;
    }


    .ec-ce-traveltips__claim::after {
        width:
            28px;

        margin-top:
            5px;

        margin-left:
            10px;
    }


    .ec-ce-traveltips__intro {
        margin-top:
            20px;

        font-size:
            0.92rem;
    }


    .ec-ce-traveltips__cards {
        margin-top:
            22px;

        gap:
            12px;
    }


    .ec-ce-traveltips__card {
        aspect-ratio:
            16 / 9;
    }


    .ec-ce-traveltips__card-content {
        left:
            14px;

        right:
            14px;

        bottom:
            13px;

        grid-template-columns:
            38px
            minmax(0, 1fr)
            24px;

        gap:
            8px;
    }


    .ec-ce-traveltips__icon {
        width:
            38px;

        height:
            38px;

        font-size:
            1.55rem;
    }


    .ec-ce-traveltips__card-title {
        font-size:
            1.12rem;
    }


    .ec-ce-traveltips__card-desc {
        font-size:
            0.78rem;
    }


    .ec-ce-traveltips__arrow {
        width:
            24px;

        font-size:
            1.3rem;
    }

}


/* ------------------------------------------------
   03. PACKLISTE

   Kompakter horizontaler Teaser.

   Normale Artikelbreite.

   Hintergrund: #e7eef2
   Berg:        #c2d3dc

   Desktop:
   Textbereich | Bildbereich

   Mobile:
   Textbereich
   Bildbereich
------------------------------------------------ */

.ec-ce-packlist {
    position:
        relative;

    overflow:
        hidden;

    width:
        100%;

    max-width:
        100%;

    margin-left:
        0;

    margin-right:
        0;

    transform:
        none;

    display:
        grid;

    grid-template-columns:
        minmax(0, 1.18fr)
        minmax(280px, 0.92fr);

    align-items:
        stretch;

    padding:
        0;

    background:
        var(--ec-ce-bg);
}


/* Header
------------------------------------------------ */

.ec-ce-packlist__header {
    display:
        grid;

    grid-template-columns:
        minmax(0, 1fr)
        clamp(105px, 13vw, 145px);

    align-items:
        stretch;

    column-gap:
        clamp(14px, 2vw, 24px);

    margin:
        0
        0
        14px;
}


/* Text links
------------------------------------------------ */

.ec-ce-packlist__headtext {
    display:
        flex;

    flex-direction:
        column;

    justify-content:
        flex-start;

    min-width:
        0;
}


/* Dachzeile
------------------------------------------------ */

.ec-ce-packlist__eyebrow {
    display:
        block;

    margin:
        0
        0
        7px;

    font-family:
        var(--ec-font-body);

    font-size:
        0.72rem;

    font-weight:
        700;

    line-height:
        1.2;

    letter-spacing:
        0.10em;

    text-transform:
        uppercase;

    color:
        rgba(32, 56, 47, 0.68);
}


/* Hauptüberschrift
------------------------------------------------ */

.ec-ce-packlist__title {
    margin:
        0;

    font-family:
        var(--ec-font-headline);

    font-size:
        clamp(1.8rem, 2.4vw, 2.25rem);

    font-weight:
        500;

    line-height:
        1.05;

    color:
        var(--ec-green, #20382f);
}


/* Grafik rechts im Header

   Berg reicht von Dachzeilenhöhe
   bis Unterkante Hauptüberschrift.
------------------------------------------------ */

.ec-ce-packlist__graphic {
    position:
        relative;

    min-width:
        0;

    min-height:
        100%;
}


/* Berg
------------------------------------------------ */

.ec-ce-packlist__graphic
.ec-ce-mountain {
    position:
        absolute;

    z-index:
        1;

    top:
        0;

    right:
        0;

    bottom:
        0;

    left:
        0;

    width:
        100%;

    height:
        100%;
}


/* Textbereich
------------------------------------------------ */

.ec-ce-packlist__content {
    position:
        relative;

    z-index:
        3;

    display:
        flex;

    flex-direction:
        column;

    justify-content:
        center;

    min-width:
        0;

    padding:
        clamp(22px, 2.5vw, 28px)
        clamp(24px, 3vw, 32px);
}


/* Beschreibung
------------------------------------------------ */

.ec-ce-packlist__text {
    max-width:
        100%;

    margin:
        0
        0
        16px;

    font-family:
        var(--ec-font-body);

    font-size:
        clamp(0.88rem, 1vw, 0.96rem);

    line-height:
        1.48;

    color:
        var(--ec-green, #20382f);
}


/* CTA
------------------------------------------------ */

.ec-ce-packlist__link {
    display:
        inline-flex;

    align-items:
        center;

    align-self:
        flex-start;

    gap:
        11px;

    min-height:
        42px;

    padding:
        9px
        18px;

    font-family:
        var(--ec-font-body);

    font-size:
        0.75rem;

    font-weight:
        700;

    line-height:
        1;

    letter-spacing:
        0.045em;

    text-transform:
        uppercase;

    color:
        var(--ec-green, #20382f);

    text-decoration:
        none;

    background:
        #c2d3dc;

    transition:
        background-color 0.25s ease,
        color 0.25s ease;
}


.ec-ce-packlist__link i {
    font-size:
        0.95rem;

    transition:
        transform 0.25s ease;
}


.ec-ce-packlist__link:hover,
.ec-ce-packlist__link:focus-visible {
    background:
        var(--ec-green, #20382f);

    color:
        #ffffff;
}


.ec-ce-packlist__link:hover i,
.ec-ce-packlist__link:focus-visible i {
    transform:
        translateX(4px);
}


/* Bildbereich
------------------------------------------------ */

.ec-ce-packlist__media {
    position:
        relative;

    z-index:
        2;

    min-width:
        0;

    overflow:
        hidden;
}


.ec-ce-packlist__media img {
    display:
        block;

    width:
        100%;

    height:
        100%;

    object-fit:
        cover;

    object-position:
        center;

    transition:
        transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}


/* Verlauf für weißen Claim
------------------------------------------------ */

.ec-ce-packlist__media::after {
    content:
        "";

    position:
        absolute;

    inset:
        0;

    z-index:
        1;

    background:
        linear-gradient(
            to left,
            rgba(12, 24, 20, 0.24) 0%,
            rgba(12, 24, 20, 0.05) 52%,
            rgba(12, 24, 20, 0.00) 100%
        );

    pointer-events:
        none;
}


.ec-ce-packlist:hover
.ec-ce-packlist__media img {
    transform:
        scale(1.025);
}


/* Claim auf dem Foto
------------------------------------------------ */

.ec-ce-packlist__claim {
    position:
        absolute;

    z-index:
        3;

    top:
        clamp(18px, 2.5vw, 26px);

    right:
        clamp(16px, 2.5vw, 24px);

    margin:
        0;

    font-family:
        'Bilbo', cursive;

    font-size:
        clamp(1.7rem, 2.3vw, 2.2rem);

    font-style:
        normal;

    font-weight:
        400;

    line-height:
        0.88;

    white-space:
        nowrap;

    color:
        #ffffff;

    text-shadow:
        0 1px 8px rgba(0, 0, 0, 0.30);

    transform:
        rotate(-5deg);
}


.ec-ce-packlist__claim::after {
    content:
        "";

    display:
        block;

    width:
        38px;

    height:
        2px;

    margin:
        8px
        0
        0
        16px;

    background:
        #ffffff;

    transform:
        rotate(3deg);
}


/* Packliste - Tablet
------------------------------------------------ */

@media (max-width: 991.98px) {

    .ec-ce-packlist {
        grid-template-columns:
            minmax(0, 1.1fr)
            minmax(260px, 0.9fr);
    }


    .ec-ce-packlist__content {
        padding:
            22px
            24px;
    }


    .ec-ce-packlist__header {
        grid-template-columns:
            minmax(0, 1fr)
            105px;

        column-gap:
            12px;
    }


    .ec-ce-packlist__title {
        font-size:
            clamp(1.7rem, 2.7vw, 2rem);
    }


    .ec-ce-packlist__claim {
        font-size:
            1.75rem;
    }

}


/* Packliste - Einspalter
------------------------------------------------ */

@media (max-width: 767.98px) {

    .ec-ce-packlist {
        grid-template-columns:
            1fr;
    }


    .ec-ce-packlist__content {
        padding:
            22px;
    }


    .ec-ce-packlist__header {
        grid-template-columns:
            minmax(0, 1fr)
            clamp(105px, 27vw, 140px);

        column-gap:
            14px;

        margin-bottom:
            14px;
    }


    .ec-ce-packlist__title {
        font-size:
            clamp(1.7rem, 5vw, 2.05rem);
    }


    .ec-ce-packlist__text {
        font-size:
            0.92rem;
    }


    .ec-ce-packlist__media {
        aspect-ratio:
            16 / 8;
    }


    .ec-ce-packlist__claim {
        top:
            18px;

        right:
            20px;

        font-size:
            clamp(1.7rem, 5vw, 2.1rem);
    }

}


/* Packliste - Small Mobile
------------------------------------------------ */

@media (max-width: 575.98px) {

    .ec-ce-packlist__content {
        padding:
            18px
            16px;

    }


    .ec-ce-packlist__eyebrow {
        font-size:
            0.66rem;

        letter-spacing:
            0.075em;
    }


    .ec-ce-packlist__header {
        grid-template-columns:
            minmax(0, 1fr)
            90px;

        column-gap:
            10px;

        margin-bottom:
            12px;
    }


    .ec-ce-packlist__title {
        font-size:
            clamp(1.5rem, 7vw, 1.8rem);
    }


    .ec-ce-packlist__text {
        margin-bottom:
            14px;

        font-size:
            0.88rem;

        line-height:
            1.42;
    }


    .ec-ce-packlist__link {
        gap:
            9px;

        min-height:
            40px;

        padding:
            8px
            14px;

        font-size:
            0.69rem;
    }


    .ec-ce-packlist__media {
        aspect-ratio:
            16 / 9;
    }


    .ec-ce-packlist__claim {
        top:
            16px;

        right:
            16px;

        font-size:
            1.6rem;
    }

}


/* ------------------------------------------------
   04. AFFILIATE LINKS & KAFFEEKASSE

   Kompakter Informations- und Supportblock.

   Normale Artikelbreite.

   Hintergrund: #fbede2
   Berg:        #f5dac2
------------------------------------------------ */

.ec-ce-affiliate {
    position:
        relative;

    overflow:
        hidden;

    width:
        100%;

    max-width:
        100%;

    margin-left:
        0;

    margin-right:
        0;

    transform:
        none;

    padding:
        clamp(20px, 2.3vw, 26px)
        clamp(26px, 3.5vw, 38px);

    background:
        var(--ec-ce-bg);

    border:
        1px solid rgba(212, 111, 50, 0.30);

    border-left:
        4px solid var(--ec-orange, #d46f32);
}


/* Header ---------------------------------------- */

.ec-ce-affiliate__header {
    display:
        grid;

    grid-template-columns:
        minmax(0, 1fr)
        clamp(215px, 27vw, 280px);

    align-items:
        stretch;

    column-gap:
        clamp(22px, 3vw, 38px);

    margin:
        0
        0
        14px;
}


/* Text links */

.ec-ce-affiliate__headtext {
    display:
        flex;

    flex-direction:
        column;

    justify-content:
        flex-start;
}


/* Dachzeile */

.ec-ce-affiliate__eyebrow {
    display:
        block;

    margin:
        0
        0
        7px;

    font-family:
        var(--ec-font-body);

    font-size:
        0.74rem;

    font-weight:
        700;

    line-height:
        1.2;

    letter-spacing:
        0.10em;

    text-transform:
        uppercase;

    color:
        var(--ec-orange, #d46f32);
}


/* Hauptüberschrift */

.ec-ce-affiliate__title {
    margin:
        0;

    font-family:
        var(--ec-font-headline);

    font-size:
        clamp(1.75rem, 2.25vw, 2.2rem);

    font-weight:
        500;

    line-height:
        1.05;

    color:
        var(--ec-green, #20382f);
}


/* Grafik rechts
   Berg läuft von Dachzeilenhöhe
   bis Unterkante Hauptüberschrift.
------------------------------------------------ */

.ec-ce-affiliate__graphic {
    position:
        relative;

    min-height:
        100%;
}


/* Berg */

.ec-ce-affiliate__graphic
.ec-ce-mountain {
    position:
        absolute;

    z-index:
        1;

    top:
        0;

    right:
        0;

    bottom:
        0;

    left:
        0;

    width:
        100%;

    height:
        100%;
}


/* Claim im Berg */

.ec-ce-affiliate__claim {
    position:
        absolute;

    z-index:
        3;

    top:
        50%;

    right:
        4px;

    margin:
        0;

    font-family:
        'Bilbo', cursive;

    font-size:
        clamp(1.05rem, 1.45vw, 1.3rem);

    font-style:
        normal;

    font-weight:
        400;

    line-height:
        0.84;

    white-space:
        nowrap;

    color:
        var(--ec-orange, #d46f32);

    transform:
        translateY(-50%)
        rotate(-6deg);
}


.ec-ce-affiliate__claim::after {
    content:
        "♡";

    display:
        inline-block;

    margin-left:
        5px;

    font-family:
        var(--ec-font-body);

    font-size:
        1.05em;

    line-height:
        1;

    color:
        var(--ec-orange, #d46f32);
}


/* Beschreibung ---------------------------------- */

.ec-ce-affiliate__text {
    position:
        relative;

    z-index:
        4;

    max-width:
        100%;

    margin:
        0;

    font-family:
        var(--ec-font-body);

    font-size:
        clamp(0.88rem, 1vw, 0.98rem);

    line-height:
        1.5;

    color:
        var(--ec-green, #20382f);
}


/* Support-Links
------------------------------------------------ */

.ec-ce-affiliate__links {
    position:
        relative;

    z-index:
        5;

    display:
        flex;

    flex-wrap:
        wrap;

    align-items:
        center;

    gap:
        0;

    margin-top:
        16px;
}


.ec-ce-affiliate__link {
    display:
        inline-flex;

    align-items:
        center;

    gap:
        7px;

    padding:
        3px
        14px;

    font-family:
        var(--ec-font-body);

    font-size:
        0.80rem;

    font-weight:
        600;

    line-height:
        1.2;

    white-space:
        nowrap;

    color:
        var(--ec-green, #20382f);

    text-decoration:
        none;

    border-right:
        1px solid rgba(32, 56, 47, 0.18);
}


.ec-ce-affiliate__link:first-child {
    padding-left:
        0;
}


.ec-ce-affiliate__link:last-child {
    border-right:
        0;
}


.ec-ce-affiliate__link i {
    width:
        21px;

    font-size:
        1.15rem;

    text-align:
        center;

    color:
        var(--ec-orange, #d46f32);
}


.ec-ce-affiliate__link span {
    border-bottom:
        1px solid rgba(32, 56, 47, 0.42);
}


.ec-ce-affiliate__link:hover,
.ec-ce-affiliate__link:focus-visible {
    color:
        var(--ec-orange, #d46f32);
}


/* Affiliate Links - schmale Screens
------------------------------------------------ */

@media (max-width: 575.98px) {

    .ec-ce-affiliate__links {
        gap:
            7px
            0;

        margin-top:
            14px;
    }


    .ec-ce-affiliate__link {
        padding:
            2px
            10px;

        font-size:
            0.76rem;
    }


    .ec-ce-affiliate__link:first-child {
        padding-left:
            0;
    }


    .ec-ce-affiliate__link i {
        width:
            19px;

        font-size:
            1.05rem;
    }

}


/* Affiliate Links - Small Mobile
------------------------------------------------ */

@media (max-width: 420px) {

    .ec-ce-affiliate__links {
        flex-direction:
            column;

        align-items:
            flex-start;

        gap:
            7px;
    }


    .ec-ce-affiliate__link {
        padding:
            2px
            0;

        border-right:
            0;
    }

}



/* ------------------------------------------------
   05. BEITRAGSVERLINKUNG

   Kompakter Verweis auf interne und externe Seiten.

   - Zwei Textzeilen
   - Pfeil direkt hinter dem Titel
   - Bergsilhouette rechts
   - Gesamter Container anklickbar
   - Breite folgt der umgebenden Textspalte

   Hintergrund:       #eaeae3
   Hintergrund Hover: #f6f4ee
   Berg:              #dcdcd5
------------------------------------------------ */


/* 05.01 - Grundelement
------------------------------------------------ */

.ec-ce-related {
    --ec-ce-mountain-color: #dcdcd5;

    position: relative;
    display: flow-root;

    width: auto;
    max-width: 100%;
    min-width: 0;

    margin: 22px 0;

    box-sizing: border-box;

    background: #eaeae3;

    transition:
        background-color 0.35s ease,
        box-shadow 0.35s ease,
        transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}


/* 05.02 - Gesamter Link
------------------------------------------------ */

.ec-ce-related__link {
    position: relative;
    display: block;

    padding: 14px 20px;

    color: var(--ec-green, #20382f);
    text-decoration: none !important;

    cursor: pointer;
}


/* 05.03 - Hover und Fokus
------------------------------------------------ */

.ec-ce-related:hover,
.ec-ce-related:focus-within {
    background: #f6f4ee;

    transform: translateY(-3px);

    box-shadow:
        0 8px 22px rgba(32, 56, 47, 0.10);
}

.ec-ce-related__link:focus-visible {
    outline: 2px solid var(--ec-orange, #d46f32);
    outline-offset: 3px;
}


/* 05.04 - Kopfbereich
------------------------------------------------ */

.ec-ce-related__header {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 14px;

    min-height: 48px;
}


/* 05.05 - Textgruppe
------------------------------------------------ */

.ec-ce-related__text {
    position: relative;
    z-index: 2;

    flex: 1;
    min-width: 0;
}


/* Dachzeile
------------------------------------------------ */

.ec-ce-related__eyebrow {
    display: flex;
    align-items: center;

    gap: 7px;

    margin: 0 0 5px;

    font-family:
        var(--ec-font-body, 'Inter', sans-serif);

    font-size: 0.66rem;
    font-weight: 700;
    line-height: 1.3;

    letter-spacing: 0.08em;
    text-transform: uppercase;

    color: #64756d;
}


/* Externe Links - Weltkugel
------------------------------------------------ */

.ec-ce-related__eyebrow .fa-globe {
    font-size: 0.78rem;

    color: var(--ec-orange, #d46f32);
}


/* Beitragstitel
------------------------------------------------ */

.ec-ce-related__title {
    display: block;

    margin: 0;

    font-family:
        var(--ec-font-headline, 'Playfair Display', serif);

    font-size: clamp(1.05rem, 1.5vw, 1.3rem);
    font-weight: 500;
    line-height: 1.25;

    color: var(--ec-green, #20382f);
}


/* Pfeil rechts oben direkt hinter dem Titel
------------------------------------------------ */

.ec-ce-related__title::after {
    content: "↗";

    display: inline-block;

    margin-left: 7px;

    font-family: Arial, sans-serif;
    font-size: 0.85em;
    font-weight: 600;
    line-height: 1;

    color: var(--ec-orange, #d46f32);

    transition: transform 0.3s ease;
}

.ec-ce-related:hover
.ec-ce-related__title::after,
.ec-ce-related:focus-within
.ec-ce-related__title::after {
    transform: translate(3px, -3px);
}


/* 05.06 - Bergsilhouette
------------------------------------------------ */

.ec-ce-related__mountain {
    position: relative;

    flex: 0 0 94px;

    width: 94px;
    height: 52px;

    background-color:
        var(--ec-ce-mountain-color);

    -webkit-mask:
        url("/images/content-elements/silhouette.svg")
        center bottom / contain no-repeat;

    mask:
        url("/images/content-elements/silhouette.svg")
        center bottom / contain no-repeat;

    pointer-events: none;

    transition:
        background-color 0.35s ease,
        transform 0.4s ease;
}

.ec-ce-related:hover
.ec-ce-related__mountain,
.ec-ce-related:focus-within
.ec-ce-related__mountain {
    background-color: #cbd4ca;

    transform: scale(1.05);
}


/* 05.07 - Responsive Tablet
------------------------------------------------ */

@media (max-width: 991.98px) {

    .ec-ce-related__link {
        padding: 14px 18px;
    }

    .ec-ce-related__title {
        font-size: 1.12rem;
    }

    .ec-ce-related__mountain {
        flex-basis: 82px;

        width: 82px;
        height: 46px;
    }

}


/* 05.08 - Responsive Mobile
------------------------------------------------ */

@media (max-width: 575.98px) {

    .ec-ce-related {
        margin: 18px 0;
    }

    .ec-ce-related__link {
        padding: 12px 15px;
    }

    .ec-ce-related__header {
        gap: 10px;
        min-height: 42px;
    }

    .ec-ce-related__eyebrow {
        font-size: 0.6rem;
    }

    .ec-ce-related__title {
        font-size: 1.05rem;
    }

    .ec-ce-related__mountain {
        flex-basis: 65px;

        width: 65px;
        height: 38px;
    }

}


/* 05.09 - Reduzierte Bewegung
------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {

    .ec-ce-related,
    .ec-ce-related__mountain,
    .ec-ce-related__title i {
        transition: none;
    }

    .ec-ce-related:hover,
    .ec-ce-related:focus-within {
        transform: none;
    }

}

/* eof E&C Content Elements */

