/*
 * X-LINE Ratgeber
 * Datei:
 * /templates/FIREChild/ma_tpl/ratgeber/cms-ratgeber.css
 *
 * Bootstrap 4.6.2
 */

:root {
    --ratgeber-light: #e0e5ee;
    --ratgeber-dark: #1d2837;
    --ratgeber-text: #4d5662;
    --ratgeber-muted: #6f7a88;
    --ratgeber-border: #e0e5ee;
}


.cms-ratgeber-topics .custom-select {
    color: var(--ratgeber-dark);
}

/* =========================================================
   GRUNDLAYOUT
   ========================================================= */
.ratgeber-beitrag-content .file-caption-info {
    margin-bottom: 1rem;
}
.cms-ratgeber-topics .content-benefit-card__icon,.cms-ratgeber-section-heading .content-benefit-card__icon{
    color: #e0e5ee;
    background-color: #1d2837;
}
.cms-ratgeber {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}


.cms-ratgeber-intro {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}


.cms-ratgeber-section {
    margin-top: 1.5rem;
}


.cms-ratgeber-section-heading {
    display: flex;
    align-items: center;
}


.cms-ratgeber-section-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: .75rem;
    color: var(--ratgeber-dark);
    font-size: 1.5rem;
    line-height: 1;
}



/* =========================================================
   NEUESTE BEITRÄGE
   ========================================================= */

.cms-ratgeber-featured {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #dddddd;
}


.cms-ratgeber-featured-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border: 1px solid #dddddd;
    border-radius: .35rem;
    background: #ffffff;
    transition:
        box-shadow .2s ease,
        transform .2s ease,
        border-color .2s ease;
}


.cms-ratgeber-featured-card:hover {
    border-color: var(--ratgeber-dark);
    box-shadow: 0 .5rem 1.25rem rgba(0, 0, 0, .08);
}



/* =========================================================
   NEUESTE BEITRÄGE - BILD
   ========================================================= */


.cms-ratgeber-featured-image-link,
.cms-ratgeber-entry-image-link {
    display: block;
    width: 100%;
    height: 220px;
    flex: 0 0 220px;
    overflow: hidden;
    background-color: #ddd;
}

.cms-ratgeber-featured-image,
.cms-ratgeber-entry-image {
    display: block;
    object-fit: cover;
    object-position: 90% center;
    transition: transform .25s ease;
}


.cms-ratgeber-featured-card:hover
.cms-ratgeber-featured-image {
    transform: scale(1.025);
}

/* =========================================================
   NEUESTE BEITRÄGE - INHALT
   ========================================================= */

.cms-ratgeber-featured-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 1.25rem;
}


.cms-ratgeber-featured-badge {
    display: inline-block;
    align-self: flex-start;
    margin-bottom: 1rem;
    padding: .3rem .6rem;
    border-radius: .2rem;
    background: var(--ratgeber-dark);
    color: #ffffff !important;
    font-size: .8rem;
    font-weight: 600;
    line-height: 1.4;
}
.cms-ratgeber-featured-badge:hover {
    background:var(--xtra-ui-primary-color-800)
}


.cms-ratgeber-featured-title {
    margin-top: 0;
    margin-bottom: .85rem;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
}


.cms-ratgeber-featured-title a {
    color: #252525;
    text-decoration: none;
}


.cms-ratgeber-featured-title a:hover,
.cms-ratgeber-featured-title a:focus {
    color: var(--ratgeber-dark);
    text-decoration: none;
}


.cms-ratgeber-featured-description {
    margin-bottom: 1.25rem;
    line-height: 1.65;
}


.cms-ratgeber-featured-more {
    display: inline-flex;
    align-items: center;
    color: var(--ratgeber-dark);
    font-weight: 600;
    text-decoration: none;
}


.cms-ratgeber-featured-more span + span {
    margin-left: .4rem;
}


.cms-ratgeber-featured-more:hover,
.cms-ratgeber-featured-more:focus {
    color: var(--ratgeber-dark);
    text-decoration: underline;
}



/* =========================================================
   SUCHE
   ========================================================= */

.cms-ratgeber-search .form-control {
    min-height: 44px;
}



/* =========================================================
   ALLE RATGEBER - KARTE
   ========================================================= */

.cms-ratgeber-entry {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border: 1px solid #dddddd;
    border-radius: .35rem;
    background: #ffffff;
    transition:
        box-shadow .2s ease,
        transform .2s ease,
        border-color .2s ease;
}


.cms-ratgeber-entry:hover {
    border-color: var(--ratgeber-dark);
    box-shadow: 0 .5rem 1.25rem rgba(0, 0, 0, .08);
}



/* =========================================================
   ALLE RATGEBER - BILD
   ========================================================= */

.cms-ratgeber-entry-image-link {
    display: block;
    overflow: hidden;
}


.cms-ratgeber-entry-image {
    display: block;
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform .25s ease;
}


.cms-ratgeber-entry:hover
.cms-ratgeber-entry-image {
    transform: scale(1.025);
}



/* =========================================================
   ALLE RATGEBER - INHALT
   ========================================================= */

.cms-ratgeber-entry-inner {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 1.25rem;
}


.cms-ratgeber-title {
    margin-bottom: .75rem;
    line-height: 1.4;
}


.cms-ratgeber-title a {
    color: #252525;
    font-weight: 700;
    text-decoration: none;
}


.cms-ratgeber-title a:hover,
.cms-ratgeber-title a:focus {
    color: var(--ratgeber-dark);
    text-decoration: none;
}


.cms-ratgeber-description {
    margin-bottom: 1.25rem;
    line-height: 1.65;
}


.cms-ratgeber-more {
    display: inline-flex;
    align-items: center;
    color: var(--ratgeber-dark);
    font-weight: 600;
    text-decoration: none;
}


.cms-ratgeber-more span + span {
    margin-left: .4rem;
}


.cms-ratgeber-more:hover,
.cms-ratgeber-more:focus {
    color: var(--ratgeber-dark);
    text-decoration: underline;
}


.cms-ratgeber-empty {
    margin-top: 1rem;
}



/* =========================================================
   EINZELNER RATGEBER
   ========================================================= */

.ratgeber-beitrag {
    color: #252525;
}


.ratgeber-beitrag-content {
    line-height: 1.7;
}


.ratgeber-beitrag-content p {
    margin-bottom: 1rem;
    line-height: 1.7;
}


.ratgeber-beitrag-content p:last-child {
    margin-bottom: 0;
}


.ratgeber-beitrag-content img,
.ratgeber-opc-content img {
    max-width: 100%;
    height: auto;
}


.ratgeber-beitrag-content h2,
.ratgeber-beitrag-content h3,
.ratgeber-beitrag-content h4,
.ratgeber-beitrag-content h5,
.ratgeber-beitrag-content h6 {
    margin-top: 1.75rem;
    margin-bottom: .75rem;
}


.ratgeber-opc-content {
    line-height: 1.7;
}



/* =========================================================
   ZURÜCK-LINK
   ========================================================= */

.ratgeber-back-link {
    display: inline-flex;
    align-items: center;
    color: var(--ratgeber-dark);
    font-weight: 500;
    text-decoration: none;
}


.ratgeber-back-link svg {
    margin-right: .45rem;
    flex-shrink: 0;
}


.ratgeber-back-link:hover,
.ratgeber-back-link:focus {
    color: var(--ratgeber-dark);
    text-decoration: underline;
}



/* =========================================================
   AUTOMATISCHE INTERNE LINKS
   ========================================================= */

.cms-ratgeber-auto-link {
    color: var(--ratgeber-dark);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 2px;
}


.cms-ratgeber-auto-link:hover,
.cms-ratgeber-auto-link:focus {
    color: var(--ratgeber-dark);
    text-decoration-thickness: 2px;
}



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

@media (max-width: 767.98px) {

    .cms-ratgeber {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }


    .cms-ratgeber-featured {
        padding-bottom: .5rem;
    }


    .cms-ratgeber-featured-image {
        height: 200px;
    }


    .cms-ratgeber-entry-image {
        height: 190px;
    }


    .cms-ratgeber-featured-body,
    .cms-ratgeber-entry-inner {
        padding: 1rem;
    }


    .cms-ratgeber-featured-title {
        font-size: 1.15rem;
    }


    .cms-ratgeber-section-heading {
        margin-bottom: 1rem !important;
    }


    .cms-ratgeber-description,
    .cms-ratgeber-featured-description,
    .ratgeber-beitrag-content,
    .ratgeber-opc-content {
        line-height: 1.65;
    }


    .ratgeber-beitrag-content p {
        margin-bottom: .875rem;
        line-height: 1.65;
    }

}

/* =========================================================
   RATGEBER: STECKDOSEN RICHTIG PLANEN
   ========================================================= */

.ratgeber-steckdosen {
    color: #252525;
}

.ratgeber-steckdosen .content-hero__eyebrow {
    margin-bottom: .5rem;
    color: var(--ratgeber-dark);
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ratgeber-steckdosen .content-hero__title {
    margin-bottom: 1.25rem;
    font-size: 2.35rem;
    font-weight: 700;
    line-height: 1.15;
}

.ratgeber-steckdosen-lead {
    margin-bottom: 0;
    font-size: 1.1rem;
    line-height: 1.75;
}

.ratgeber-steckdosen-hero-point {
    display: flex;
    align-items: flex-start;
    margin-bottom: .65rem;
    line-height: 1.55;
}

.ratgeber-steckdosen-check {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    margin-right: .65rem;
    color: var(--ratgeber-dark);
    font-weight: 700;
}

.ratgeber-steckdosen-hero-image {
    overflow: hidden;
    border-radius: .4rem;
}

.ratgeber-steckdosen-hero-image img {
    display: block;
    width: 100%;
    height: auto;
}

.ratgeber-steckdosen-nav {
    padding: 1rem;
    border: 1px solid #e1e1e1;
    border-radius: .4rem;
}

.ratgeber-steckdosen-nav-link {
    display: block;
    height: 100%;
    padding: .75rem 1rem;
    border: 1px solid #e5e5e5;
    border-radius: .3rem;
    color: #252525;
    font-weight: 600;
    text-decoration: none;
}

.ratgeber-steckdosen-nav-link:hover,
.ratgeber-steckdosen-nav-link:focus {
    border-color: var(--ratgeber-dark);
    color: var(--ratgeber-dark);
    text-decoration: none;
}

.ratgeber-steckdosen-section {
    padding: 3rem 0;
    border-top: 1px solid #eeeeee;
    scroll-margin-top: 100px;
}

.ratgeber-steckdosen-section:first-of-type {
    border-top: 0;
}

.ratgeber-steckdosen-section h2 {
    margin-bottom: 1.25rem;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.3;
}

.ratgeber-steckdosen-section h3 {
    font-weight: 700;
    line-height: 1.35;
}

.ratgeber-steckdosen-section p {
    line-height: 1.75;
}

.ratgeber-steckdosen-kicker {
    margin-bottom: .4rem !important;
    color: var(--ratgeber-dark);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.ratgeber-steckdosen-section-intro {
    max-width: 850px;
}

.ratgeber-steckdosen-tip {
    height: 100%;
    padding: 1.5rem;
    border-left: 4px solid var(--ratgeber-dark);
    background: #f7f7f7;
}

.ratgeber-steckdosen-tip-label {
    display: block;
    margin-bottom: .5rem;
    color: var(--ratgeber-dark);
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.ratgeber-steckdosen-tip strong {
    display: block;
    margin-bottom: .75rem;
    font-size: 1.1rem;
}

.ratgeber-steckdosen-tip p {
    margin-bottom: 0;
}

.ratgeber-steckdosen-room {
    padding: 1.5rem;
    border: 1px solid #e2e2e2;
    border-radius: .4rem;
}

.ratgeber-steckdosen-room h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.ratgeber-steckdosen-room p:last-child {
    margin-bottom: 0;
}

.ratgeber-steckdosen-list {
    margin: 1.5rem 0 0;
    padding: 0;
    list-style: none;
}

.ratgeber-steckdosen-list li {
    position: relative;
    margin-bottom: .65rem;
    padding-left: 1.6rem;
    line-height: 1.55;
}

.ratgeber-steckdosen-list li::before {
    position: absolute;
    top: 0;
    left: 0;
    color: var(--ratgeber-dark);
    font-weight: 700;
    content: "✓";
}

.ratgeber-steckdosen-highlight {
    height: 100%;
    padding: 2rem;
    border-radius: .4rem;
    background: #252525;
    color: #ffffff;
}

.ratgeber-steckdosen-highlight-number {
    display: block;
    margin-bottom: 1rem;
    color: var(--ratgeber-dark);
    font-size: 2rem;
    font-weight: 700;
}

.ratgeber-steckdosen-highlight h3 {
    margin-bottom: 1rem;
    color: #ffffff;
}

.ratgeber-steckdosen-highlight p {
    margin-bottom: 0;
}

.ratgeber-steckdosen-safety {
    padding: 2rem;
    border: 1px solid #e1e1e1;
    border-radius: .4rem;
}

.ratgeber-steckdosen-safety-note {
    padding: 1.25rem;
    border-radius: .35rem;
    background: #f5f5f5;
}

.ratgeber-steckdosen-safety-note strong {
    display: block;
    margin-bottom: .6rem;
}

.ratgeber-steckdosen-safety-note p {
    margin-bottom: 0;
}

.ratgeber-steckdosen-quote {
    padding: 1.5rem;
    border-left: 4px solid var(--ratgeber-dark);
}

.ratgeber-steckdosen-quote strong,
.ratgeber-steckdosen-quote span {
    display: block;
}

.ratgeber-steckdosen-quote strong {
    margin-bottom: .5rem;
    font-size: 1.1rem;
}

.ratgeber-steckdosen-error {
    display: flex;
    height: 100%;
    align-items: center;
    padding: 1rem 1.25rem;
    border: 1px solid #e3e3e3;
    border-radius: .35rem;
    font-weight: 500;
}

.ratgeber-steckdosen-error span {
    margin-right: .75rem;
    font-size: 1.4rem;
    font-weight: 700;
}

.ratgeber-steckdosen-conclusion {
    padding: 2rem;
    border: 1px solid #e1e1e1;
    border-radius: .4rem;
}

@media (max-width: 991.98px) {
    .ratgeber-steckdosen .content-hero__title {
        font-size: 2rem;
    }

    .ratgeber-steckdosen-section {
        padding: 2.5rem 0;
    }
}

@media (max-width: 767.98px) {
    .ratgeber-steckdosen .content-hero__title {
        font-size: 1.7rem;
    }

    .ratgeber-steckdosen-lead {
        font-size: 1rem;
    }

    .ratgeber-steckdosen-section {
        padding: 2rem 0;
    }

    .ratgeber-steckdosen-section h2 {
        font-size: 1.45rem;
    }

    .ratgeber-steckdosen-tip,
    .ratgeber-steckdosen-room,
    .ratgeber-steckdosen-highlight,
    .ratgeber-steckdosen-safety,
    .ratgeber-steckdosen-conclusion {
        padding: 1.25rem;
    }
}

/* =========================================================
   X-LINE RATGEBER – GEMEINSAME CONTENT-KOMPONENTEN
   ========================================================= */

.xline-ratgeber {
    width: 100%;
}

.xline-ratgeber-hero {
    padding-top: 1rem;
}

.xline-ratgeber-lead {
    font-size: 1.05rem;
    line-height: 1.75;
    max-width: 680px;
}

.xline-ratgeber-image {
    overflow: hidden;
    border-radius: 6px;
}

.xline-ratgeber-image img {
    display: block;
    width: 100%;
    height: auto;
}

.xline-ratgeber-points {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.xline-ratgeber-point {
    font-weight: 500;
}

.xline-ratgeber-nav {
    padding: 1rem;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
}

.xline-ratgeber-nav-link {
    display: block;
    height: 100%;
    padding: .8rem 1rem;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
}

.xline-ratgeber-section {
    padding: 3rem 0;
    border-top: 1px solid #e5e5e5;
}

.xline-ratgeber-kicker {
    margin-bottom: .5rem;
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.xline-ratgeber-list {
    padding-left: 1.25rem;
}

.xline-ratgeber-list li {
    margin-bottom: .5rem;
}

.xline-ratgeber-tip {
    padding: 1.5rem;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
}

.xline-ratgeber-tip-label {
    display: block;
    margin-bottom: .5rem;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.xline-ratgeber-tip strong {
    display: block;
    margin-bottom: .75rem;
    font-size: 1.1rem;
}

.xline-ratgeber-card {
    padding: 1.5rem;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
}

.xline-ratgeber-card h3 {
    margin-bottom: .75rem;
    font-size: 1.1rem;
}

.xline-ratgeber-error {
    height: 100%;
    padding: 1rem 1.25rem;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    font-weight: 500;
}

@media (max-width: 991.98px) {

    .xline-ratgeber-section {
        padding: 2rem 0;
    }

}

.img-border-cms img{
    border-radius:1rem;
}

/* =========================================================
   RATGEBER – BASIS
   ========================================================= */

.ratgeber-beitrag {
    color: var(--ratgeber-dark);
}


/* =========================================================
   TYPOGRAFIE
   ========================================================= */

.ratgeber-beitrag .content-hero__title {
    color: var(--ratgeber-dark);
    font-weight: 700;
    margin-bottom: .75rem;
}

.ratgeber-beitrag .content-hero__text {
    color: var(--ratgeber-text);
    line-height: 1.65;
}


/* =========================================================
   ABSTÄNDE ZWISCHEN DEN HAUPTBLOCKS
   ========================================================= */

.ratgeber-beitrag .ratgeber-section {
    margin: 4rem 0;
}
@media (max-width: 767.98px) {
    .ratgeber-beitrag .ratgeber-section {
        margin-top: 3rem;
        margin-bottom: 3rem;
    }
}

/* =========================================================
   50 / 50 BILD-TEXT-BLÖCKE
   ========================================================= */

.ratgeber-beitrag .ratgeber-section.align-items-center {
    row-gap: 2rem;
}

.ratgeber-beitrag .ratgeber-section.align-items-center > [class*="col-"] {
    padding-left: 1rem;
    padding-right: 1rem;
}


/* OPC Bilder */

.ratgeber-beitrag .ratgeber-section picture {
    display: block;
}

.ratgeber-beitrag .ratgeber-section picture img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
}


/* =========================================================
   RAUM-GRID
   Wie viele Steckdosen pro Raum?
   ========================================================= */

.ratgeber-beitrag .ratgeber-room-item {
    height: 100%;
    padding-top: 1rem;
    padding-bottom: 1.25rem;
    border-top: 1px solid var(--ratgeber-border);
}

.ratgeber-beitrag .ratgeber-room-item .small {
    color: var(--ratgeber-muted);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .03em;
}

.ratgeber-beitrag .ratgeber-room-item .font-weight-bold {
    color: var(--ratgeber-dark);
    font-weight: 700;
}


/* =========================================================
   INFO-CARDS
   z.B. Möbel zuerst festlegen / Reserve
   ========================================================= */

.ratgeber-beitrag .ratgeber-info-card {
    height: 100%;
    padding: 1.25rem;
    background-color: #fff;
    border: 1px solid var(--ratgeber-border);
    border-radius: 6px;
}

.ratgeber-beitrag .ratgeber-info-card h3 {
    color: var(--ratgeber-dark);
}


/* =========================================================
   NORMALE BOOTSTRAP-CARDS IM RATGEBER
   ========================================================= */

.ratgeber-beitrag .ratgeber-section .border {
    border-color: var(--ratgeber-border) !important;
}

.ratgeber-beitrag .ratgeber-section .rounded {
    border-radius: 6px !important;
}

.ratgeber-beitrag .ratgeber-section h3 {
    color: var(--ratgeber-dark);
}


/* Kleine Labels über Card-Titeln */

.ratgeber-beitrag .ratgeber-section .text-uppercase {
    color: var(--ratgeber-muted);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .04em;
}


/* =========================================================
   ALERTS / TIPPS
   Bootstrap alert-success etwas ruhiger machen
   ========================================================= */

.ratgeber-beitrag .alert {
    border-radius: 6px;
    line-height: 1.5;
}

.ratgeber-beitrag .alert-success {
    color: #245c38;
    background-color: #edf7f0;
    border-color: #cce6d4;
}

.ratgeber-beitrag .alert-success strong {
    color: #19472a;
}


/* =========================================================
   NUMMERIERTE FEHLER-BLÖCKE
   ========================================================= */

.ratgeber-beitrag .ratgeber-section .h3.font-weight-bold {
    color: var(--ratgeber-dark);
    font-size: 1rem;
    line-height: 1;
    margin-bottom: 1rem !important;
}


/* =========================================================
   OPTIONAL:
   "Was bei der Planung oft vergessen wird"
   OPC zusätzlich Klasse ratgeber-forgotten geben
   ========================================================= */

.ratgeber-beitrag .ratgeber-forgotten {
    padding: 2rem;
    background-color: var(--ratgeber-light);
    border-radius: 8px;
}


/* =========================================================
   CTA
   ========================================================= */

.ratgeber-beitrag .btn-primary {
    color: #fff;
    background-color: var(--ratgeber-dark);
    border-color: var(--ratgeber-dark);
}

.ratgeber-beitrag .btn-primary:hover,
.ratgeber-beitrag .btn-primary:focus {
    color: #fff;
    background-color: #111a25;
    border-color: #111a25;
}

.ratgeber-beitrag .btn-outline-primary {
    color: var(--ratgeber-dark);
    background-color: transparent;
    border-color: var(--ratgeber-dark);
}

.ratgeber-beitrag .btn-outline-primary:hover,
.ratgeber-beitrag .btn-outline-primary:focus {
    color: #fff;
    background-color: var(--ratgeber-dark);
    border-color: var(--ratgeber-dark);
}


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

@media (max-width: 767.98px) {

    .ratgeber-beitrag .ratgeber-section {
        margin-top: 3rem;
    }

    .ratgeber-beitrag .ratgeber-section.align-items-center {
        row-gap: 1.5rem;
    }

    .ratgeber-beitrag .ratgeber-section.align-items-center > [class*="col-"] {
        padding-left: 15px;
        padding-right: 15px;
    }

    .ratgeber-beitrag .ratgeber-room-item {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    .ratgeber-beitrag .ratgeber-info-card {
        padding: 1rem;
    }

    .ratgeber-beitrag .ratgeber-forgotten {
        padding: 1.5rem;
    }
}