h2 {
    font-size: 1.25em;
}

h4 {
    font-weight: 500;
}

.zweispaltigBlock {
    display: grid;
    align-items: center;
    column-gap: 5em;
    margin: 4em 0; 
}
.zweispaltigBlock .fitImage {
    grid-row: 1/3;
    grid-column: 2;
    height: auto; 
}
.zweispaltigBlock.rev {grid-template-columns: 37% auto;}

.zweispaltigBlock.rev .fitImage {
    grid-row: 1/3;
    grid-column: 1;
    height: auto;
}

.ratgeber-einstieg {
    display: flex;
    flex-direction: column;
}

.ratgeber-einstieg > h2 {
    margin-bottom: 0.75em;
    order: 1;
}

.ratgeber-einleitung {
    margin: 0 0 1.5em;
    order: 2;
}
.infoBox {
    order:3;
    padding: 1.5em 4em 1.5em 3em;
    margin-bottom: 2em; 
}  
.infoBox > p {
    margin: 0;
}

.infoBox .cornerIcon svg {
    --svgColor: #fff;
}

.ratgeber-medien {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(250px, 3fr);
    gap: 1.5em;
    align-items: stretch;
    order: 4;
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    overflow: hidden;
    background: #000;
    border-radius: 4px;
}

.video-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.ratgeber-fakten {
    display: grid;
    grid-template-rows: repeat(3, auto);
    gap: 1em;
    align-content: center;
    min-width: 0;
}

.ratgeber-fakten-mit-logo {
    grid-template-rows: auto repeat(3, auto);
}

.ratgeber-markenlogo {
    width: min(100%, 15em);
    justify-self: start;
}

.ratgeber-markenlogo img {
    display: block;
    width: 100%;
    height: auto;
}

.ratgeber-fakt {
    display: flex;
    align-items: center;
    gap: 1em;
    padding: 0.9em 1em;
    border: 2px solid #000;
    box-shadow: 0 3px 6px 0 rgb(0 0 0 / 25%);
    border-radius: 4px;
    min-height: 5.5em;
}

.ratgeber-fakt > div {
    min-width: 0;
}

.ratgeber-fakt svg {
    width: 3.556em;
    flex: 0 0 auto;
}

.ratgeber-fakt-titel,
.ratgeber-fakt-wert {
    display: block;
}

.ratgeber-fakt-titel {
    font-family: Roboto Slab;
    font-size: 1.222em;
}

.ratgeber-fakt-wert {
    font-weight: 300;
}

.ratgeber-anleitung-intro {
    margin: 1.5em 0;
}

.ratgeber-schritte-titel {
    margin-bottom: 1.25em;
    font-size: 1.1em;
    font-weight: 600;
}

.ratgeber-schritte {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.667em 2.222em;
    counter-reset: ratgeber-schritt;
}

.ratgeber-schritt {
    position: relative;
    min-height: 4.5em;
    padding: 1em 1em 1em 6.75em;
    border: 2px solid #d9d9d9;
    counter-increment: ratgeber-schritt;
    border-radius: 2px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ratgeber-schritt::before {
    content: counter(ratgeber-schritt, decimal-leading-zero);
    position: absolute;
    inset: 0 auto 0 0;
    display: flex;
    width: 2.2em;
    align-items: center;
    justify-content: center;
    background: #d9d9d9;
    font-family: Roboto Slab;
    font-size: 1.778em;
    border-radius: 0 2px 2px 0;
}

.ratgeber-schritt h4 {
    margin: 0 0 0.65em;
    font-size: 1.222em;
}

.ratgeber-schritt p {
    margin: 0;
}

.ratgeber-schritt p + p {
    margin-top: 0.75em;
}

.ratgeber-schritt.info-button h4 {
    padding-right: 1.75em;
}

.ratgeber-schnurschloss-popup-trigger {
    position: absolute;
    top: 0.65em;
    right: 0.65em;
    display: flex;
    width: 2.5em;
    border: 0;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
}

.ratgeber-schnurschloss-popup-trigger svg {
    display: block;
    width: 100%;
}

.ratgeber-popup-auswahl {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75em;
    margin-top: 1em;
}

.ratgeber-popup-auswahl .ghostButton {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    max-width: 100%;
    height: auto;
    white-space: normal;
    text-align: left;
    border: solid 1px var(--black);
    padding: 0.5em 1.2em;

}

.ratgeber-popup-auswahl .ghostButton img {
    width: 1.5em;
    height: 1.5em;
    flex: 0 0 auto;
}

.ratgeber-popup-inhalt {
    display: none;
}

.mgWindow .ratgeber-popup-inhalt {
    display: block;
    min-height: 100%;
    padding: 2em;
    box-sizing: border-box;
}

.mgWindow .ratgeber-popup-inhalt > img {
    display: block;
    width: 100%;
    max-height: 55vh;
    object-fit: contain;
    margin: 0 auto 1.5em;
}

.mgWindow .ratgeber-popup-inhalt-bild {
    display: flex;
    width: 100%;
    height: 100%;
    min-height: 0;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.mgWindow .ratgeber-popup-inhalt-bild > img {
    width: 100%;
    height: 100%;
    max-height: none;
    margin: 0;
}

@media screen and (max-width: 700px) {
    .ratgeber-popup-auswahl .ghostButton {
        width: 100%;
    }

    .mgWindow .ratgeber-popup-inhalt {
        padding: 1em;
    }

    .mgWindow .ratgeber-popup-inhalt-bild {
        padding: 0;
    }
}

.ratgeber-schritt-hinweis {
    border-color: #FF7608;
    counter-increment: none;
}

.ratgeber-schritt-hinweis::before {
    display: none;
}

.ratgeber-schritt-hinweis-icon {
    position: absolute;
    inset: 0 auto 0 0;
    display: flex;
    width: 3.91em;
    align-items: center;
    justify-content: center;
    background: #FF7608;
    border-radius: 2px 0 0 2px;
}

.ratgeber-schritt-hinweis-icon svg {
    width: 2em;
    --svgColor: #fff;
}

.ratgeber-hilfe {
    margin: 4em 0 2em;
}

.ratgeber-hilfe-bild {
    width: 100%;
    max-width: 22em;
    height: auto;
}

.ratgeber-hilfe-bild img {
    display: block;
    width: 100%;
    height: auto;
}

.ratgeber-hilfe-inhalt {
    min-width: 0;
}

.ratgeber-hilfe p {
    max-width: 75em;
}

.ratgeber-aktionen {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
    margin-top: 1.25em;
}

.ratgeber-aktionen a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ratgeber-button-sekundaer {
    padding: 0.75em 1em;
    border: 1px solid #222;
    color: #222;
    text-decoration: none;
}
@media (max-width: 1024px) {
		.zweispaltigBlock {grid-template-columns: 100% !important;}
        .zweispaltigBlock.rev {
        gap: 1.5em;
    }

    .zweispaltigBlock.rev .fitImage {
        grid-row: 1;grid-column: 1;
        width: 75%;
        max-width: 22em;
        margin: 0 auto;
    }

    .zweispaltigBlock.rev .fitImage img {
        display: block;
        width: 100%;
        height: auto;
    }

    .zweispaltigBlock.rev .ratgeber-hilfe-inhalt {
        grid-row: 2;
        grid-column: 1;
    }

    .zweispaltigBlock.rev .ratgeber-aktionen {
        flex-direction: column;
        align-items: center;
    }

    .zweispaltigBlock.rev .ratgeber-aktionen a {
        min-width: 12em;
    }
    .ratgeber-einleitung {
        margin: 0 0 1.5em;
        order: 2;
    }

    .ratgeber-medien {
        order: 3;
        grid-template-columns: minmax(0, 1fr);
    }
}

@media screen and (min-width: 701px) and (max-width: 1020px) {
    .ratgeber-medien {display: block;}
    .ratgeber-schritte {
        grid-template-columns: none;
        gap: 1.25em;
    }
} 

@media screen and (max-width: 700px) {
    .infoBox{ 
        padding:1em 3.5em 1em 1em;
    }
    .infoBox .title {
        font-size: 1.25em;
    }

    .ratgeber-schritte {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.75em;
    }

    .ratgeber-schritt {
        min-height: 3.75em;
        padding: 0.8em 0.75em 0.8em 3.65em;
    }

    .ratgeber-schritt::before {
        width: 2.75em;
        align-items: flex-start;
        padding-top: 0.85em;
        font-size: 0.9em;
    }

    .ratgeber-schritt h4 {
        font-size: 0.95em;
    }

    .ratgeber-schritt-hinweis-icon {
        width: 2.475em;
    }

    .ratgeber-schritt-hinweis-icon svg {
        width: 1.25em;
        height: 1.25em;
    }
    .ratgeber-hilfe {
        margin-top: 3em;
    }

    .ratgeber-hilfe.zweispaltigBlock.rev {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 1.5em;
    }

    .ratgeber-hilfe.zweispaltigBlock.rev .ratgeber-hilfe-bild {
        grid-row: 1;
        grid-column: 1;
        width: min(100%, 18em);
        margin: 0 auto;
    }

    .ratgeber-hilfe-inhalt {
        grid-row: 2;
        grid-column: 1;
    }

    .ratgeber-aktionen {
        flex-direction: column;
        align-items: center;
    }

    .ratgeber-aktionen a {
        min-width: 12em;
    }
}
@media screen and (min-width: 1025px) and (max-width: 1285px) {
    .ratgeber-medien {
        grid-template-columns: minmax(0, 5fr) minmax(0, 3fr);
        align-items: stretch;
    }

    .ratgeber-fakten {
        grid-template-rows: repeat(3, minmax(0, 1fr));
    }

    .ratgeber-fakten-mit-logo {
        grid-template-rows: auto repeat(3, minmax(0, 1fr));
    }

    .ratgeber-markenlogo {
        width: min(100%, 13em);
    }

    .ratgeber-fakt {
        min-height: 0;
        padding: 0.35em 0.6em;
    }

    .ratgeber-fakt-titel {
        font-size: 1em;
    }

    .ratgeber-fakt-wert {
        font-size: 0.85em;
    }
}
@media screen and (max-width: 1024px) {
    .ratgeber-medien {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 0.65em;
        align-items: stretch;
    }

    .ratgeber-fakten {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: auto;
        gap: 0.65em;
    }

    .ratgeber-fakt {
        min-height: 2.5em;
        padding: 0.45em 0.55em;
        justify-content: center;
        gap: 0.5em;
        text-align: center;
    }

    .ratgeber-fakt:last-child {
        grid-column: 1 / -1;
    }

    .ratgeber-fakt svg {
        width: 1.5em;
        height: auto;
    }

    .ratgeber-fakt-titel {
        display: none;
    }

    .ratgeber-fakt-wert {
        font-size: 0.82em;
    }

    .ratgeber-medien-mit-logo {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .ratgeber-fakten-mit-logo {
        display: contents;
    }

    .ratgeber-fakten-mit-logo .ratgeber-markenlogo {
        grid-column: 1 / -1;
        order: 1;
        width: min(65%, 15em);
        margin: 0 0 0.35em;
        justify-self: start;
    }

    .ratgeber-medien-mit-logo .video-wrapper {
        grid-column: 1 / -1;
        order: 2;
        margin-bottom: 0.75em;
    }

    .ratgeber-fakten-mit-logo .ratgeber-fakt {
        order: 3;
    }

    .ratgeber-fakten-mit-logo .ratgeber-fakt:last-child {
        grid-column: 1 / -1;
    }
}


/* Ratgeber-Uebersicht */
.ratgeber-uebersicht {
    min-width: 0;
}

.ratgeber-uebersicht-titel {
    margin: 0 0 2em;
    text-align: center;
    font-size: 1.5em;
    font-weight: 500;
}

.ratgeber-uebersicht-einstieg {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(9em, 11em);
    grid-template-areas:
    "uebersicht-titel uebersicht-grafik"
    "uebersicht-text uebersicht-grafik";
    column-gap: 3em;
    row-gap: 0.75em;
    align-items: start;
}

.ratgeber-uebersicht-einstieg h2 {
    grid-area: uebersicht-titel;
    margin: 0;
}

.ratgeber-uebersicht-einstieg > p {
    grid-area: uebersicht-text;
    margin: 0;
}

.ratgeber-uebersicht-grafik {
    grid-area: uebersicht-grafik;
    align-self: center;
    justify-self: center;
    margin: 0;
}

.ratgeber-uebersicht-grafik img {
    display: block;
    width: 100%;
    height: auto;
}

.ratgeber-uebersicht-weiterleitung {
    margin: 2.75em 0 0;
    padding-bottom: 0.9em;
    border-bottom: 1px solid #555;
}

.ratgeber-uebersicht-produktart {
    margin: 2.15em 0 1.75em;
    text-align: center;
}

.ratgeber-uebersicht-gruppentitel {
    display: flex;
    align-items: center;
    gap: 0.65em;
}

.ratgeber-uebersicht-produkticon {
    display: inline-flex;
    width: 1.6em;
    height: 1.6em;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
}

.ratgeber-uebersicht-produkticon svg {
    width: 100%;
    height: 100%;
    --svgColor: #000;
}

.ratgeber-uebersicht-links {
    display: grid;
    gap: 0.75em;
}

.ratgeber-uebersicht-link {
    display: flex;
    padding: 0.75em 1em 0.75em 2.15em;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #000;
    border-radius: 4px;
    box-shadow: 0px 4px 4px 0px #00000029;
    color: #000;
    text-decoration: none;
    transition: 200ms;
}

.ratgeber-uebersicht-link:hover,
.ratgeber-uebersicht-link:focus-visible {
    border: solid 1px #FF7608;
    box-shadow: none;
    color:#FF7608
}

.ratgeber-uebersicht-link:focus-visible {
    outline: 2px solid #FF7608;
    outline-offset: 2px;
}

.ratgeber-uebersicht-pfeil {
    display: inline-flex;

}

.ratgeber-uebersicht-pfeil svg {
    --svgColor: #FF7608;
}

@media screen and (max-width: 700px) {
    .ratgeber-uebersicht-titel {
        margin-bottom: 1.5em;
        font-size: 1.35em;
    }

    .ratgeber-uebersicht-einstieg {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "uebersicht-titel"
            "uebersicht-grafik"
            "uebersicht-text";
        gap: 1.25em;
    }


    .ratgeber-uebersicht-einstieg h2 {
        grid-row: 1;
    }

    .ratgeber-uebersicht-grafik {
        width: min(70%, 13em);
    }

    .ratgeber-uebersicht-einstieg p {
        grid-row: 3;
    }

    .ratgeber-uebersicht-weiterleitung {
        margin-top: 2em;
    }

    .ratgeber-uebersicht-produktart {
        margin: 1.75em 0 1.5em;
    }

    .ratgeber-uebersicht-link {
        min-height: 3.5em;
        padding: 0.75em 0.9em 0.75em 1em;
    }
}
