/* Lehrbereich im Folium-Rahmen. Die sichtbaren Aktionen verwenden MG Buttonzentrale. */
body.com_mglehreki #sp-main-body {
    padding-block: 0;
}
body.com_mglehreki #sp-main-body > .container,
body.com_mglehreki #sp-main-body > .container > .container-inner {
    width: 100%;
    max-width: none;
    padding-inline: 0;
}
body.com_mglehreki #sp-main-body > .row,
body.com_mglehreki #sp-main-body > .container > .row,
body.com_mglehreki #sp-main-body > .container > .container-inner > .row {
    margin-inline: 0;
}
body.com_mglehreki #sp-main-body #sp-component {
    padding-inline: 0;
}
body.com_mglehreki #sp-title:empty {
    display: none;
}
#sp-page-builder.mglehreki {
    --lk-navy: #163e5b;
    --lk-deep: #173e57;
    --lk-ink: #163c53;
    --lk-text: #405968;
    --lk-muted: #536c7d;
    --lk-accent: #286b87;
    --lk-icon: #598297;
    --lk-line: #dce6eb;
    --lk-pale: #f4f8f9;
    --lk-panel: #eef4f7;
    --lk-width: 1160px;
    --lk-gutter: clamp(20px, 4vw, 42px);
    font-family: Arial, Helvetica, sans-serif;
    color: var(--lk-text);
    line-height: 1.62;
    background: #fff;
}
.mglehreki,
.mglehreki :where(*, *::before, *::after) {
    box-sizing: border-box;
}
.mglehreki :where(h1, h2, h3) {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    letter-spacing: 0;
    line-height: 1.19;
    color: var(--lk-navy);
}
.mglehreki :where(p, ul, ol, dl) {
    margin-block: 0;
}
.mglehreki a:focus-visible {
    outline: 2px solid #287da2;
    outline-offset: 3px;
}
#sp-page-builder.mglehreki .mglk-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 44px 0;
    background: linear-gradient(112deg, #071b31 0%, #0c2d4c 55%, #12466c 100%);
    color: white;
}
#sp-page-builder.mglehreki .mglk-hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at calc(100% - 165px) 44%, transparent 0 274px, #b9dcea08 275px 328px, #b9dcea04 329px 386px, transparent 387px);
}
#sp-page-builder.mglehreki .mglk-hero-inner {
    position: relative;
    width: min(var(--lk-width), calc(100% - 2 * var(--lk-gutter)));
    max-width: var(--lk-width);
    margin: 0 auto;
    padding: 0;
}
#sp-page-builder.mglehreki .mglk-hero .mglk-hero-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(200px, 24%);
    align-items: center;
    gap: clamp(30px, 5vw, 90px);
    min-height: 239px;
    margin: 0;
    padding: 0;
}
#sp-page-builder.mglehreki .mglk-hero-kicker {
    color: #b5d1df;
    font: 700 14px/1.4 Arial, Helvetica, sans-serif;
    letter-spacing: .14em;
    margin: 0 0 17px;
}
#sp-page-builder.mglehreki .mglk-hero h1 {
    max-width: 760px;
    margin: 0;
    color: #fff;
    font: 650 clamp(35px, 4.2vw, 52px)/1.12 Arial, Helvetica, sans-serif;
}
#sp-page-builder.mglehreki .mglk-hero-lead {
    max-width: 780px;
    margin: 16px 0 0;
    color: #d7e8f2;
    font: 400 clamp(16px, 1.65vw, 21px)/1.45 Arial, Helvetica, sans-serif;
}
#sp-page-builder.mglehreki .mglk-hero .mglk-hero-visual {
    min-width: 0;
    border-inline-start: 1px solid #b1d9ed49;
}
#sp-page-builder.mglehreki .mglk-hero-words {
    color: #c7e3efb8;
    font: 500 clamp(16px, 1.8vw, 23px)/1.52 Arial, Helvetica, sans-serif;
    text-align: right;
    margin: 0;
}
#sp-page-builder.mglehreki .mglk-register {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid var(--lk-line);
    background: var(--lk-pale);
}
#sp-page-builder.mglehreki .mglk-register .mgreg-bar {
    position: static;
    display: grid;
    grid-template-columns: repeat(var(--mgreg-count), minmax(0, 1fr));
    gap: 10px;
    padding: 13px max(17px, calc((100% - 1832px) / 2));
    margin: 0;
    width: 100%;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    backdrop-filter: none;
}
#sp-page-builder.mglehreki .mglk-register .mgreg-item {
    min-width: 0;
    min-height: 62px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 6px 8px;
    color: var(--lk-deep);
    background: transparent;
    border: 0;
    border-radius: 5px;
    box-shadow: none;
    font: 700 14px/1.2 Arial, Helvetica, sans-serif;
    text-decoration: none;
    white-space: nowrap;
}
#sp-page-builder.mglehreki .mglk-register .mgreg-item.is-active {
    color: #fff;
    background: var(--lk-deep);
}
#sp-page-builder.mglehreki .mglk-register .mgreg-item:not(.is-active):hover {
    color: var(--lk-deep);
    background: #e7eff3;
}
.mglehreki .mgreg-icon {
    width: 23px;
    height: 23px;
    flex: 0 0 auto;
    stroke: var(--lk-icon);
}
.mglehreki .mgreg-item.is-active .mgreg-icon {
    stroke: #e4eef4;
}
.mglehreki .mglk-register-short {
    display: none;
}
.mglehreki .mglk-inner {
    width: min(var(--lk-width), calc(100% - 2 * var(--lk-gutter)));
    margin-inline: auto;
    padding-block: clamp(38px, 6vw, 67px) 58px;
}
.mglehreki .mglk-block + .mglk-block,
.mglehreki .mglk-case,
.mglehreki .mglk-materials,
.mglehreki .mglk-chapters,
.mglehreki .mglk-footer {
    margin-top: clamp(32px, 5vw, 54px);
}
.mglehreki .mglk-kicker {
    display: block;
    color: var(--lk-accent);
    font: 700 12px/1.4 Arial, Helvetica, sans-serif;
    letter-spacing: .14em;
    margin-bottom: 10px;
}
.mglehreki .mglk-inner h2 {
    font-size: clamp(27px, 3vw, 35px);
    font-weight: 700;
}
.mglehreki .mglk-inner h3 {
    font-size: 18px;
    font-weight: 700;
}
.mglehreki .mglk-start-head {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: end;
    gap: 36px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--lk-line);
}
.mglehreki .mglk-start-head > p {
    padding-bottom: 2px;
}
.mglehreki .mglk-tiles,
.mglehreki .mglk-material-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 17px;
    margin-top: 22px;
}
.mglehreki .mglk-tile {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    min-width: 0;
    padding: 20px 18px;
    color: var(--lk-text);
    border: 1px solid var(--lk-line);
    background: var(--lk-pale);
    border-radius: 8px;
    text-decoration: none;
    transition: border-color .18s ease, background .18s ease;
}
.mglehreki .mglk-tile:hover {
    border-color: #aac8d7;
    background: #eaf3f7;
    color: var(--lk-ink);
}
.mglehreki .mglk-tile-copy > * {
    display: block;
}
.mglehreki .mglk-tile-copy strong {
    color: var(--lk-navy);
    font-size: 17px;
    margin-bottom: 4px;
}
.mglehreki .mglk-tile .mgreg-icon {
    margin-top: 3px;
}
.mglehreki .mglk-steps {
    list-style: decimal;
    margin: 15px 0 0;
    padding-inline-start: 22px;
}
.mglehreki .mglk-steps > li {
    padding: 15px 0 15px 8px;
    border-bottom: 1px solid var(--lk-line);
}
.mglehreki .mglk-steps > li::marker {
    color: var(--lk-accent);
    font-weight: 700;
}
.mglehreki .mglk-steps h3 {
    margin-bottom: 6px;
}
.mglehreki :is(.mglk-note, .mglk-case) {
    padding: clamp(17px, 3vw, 32px);
    background: var(--lk-panel);
    border: 1px solid var(--lk-line);
    border-radius: 8px;
}
.mglehreki .mglk-note {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-top: 23px;
}
.mglehreki .mglk-note p,
.mglehreki .mglk-case h2 + p,
.mglehreki .mglk-result {
    margin-top: 8px;
}
.mglehreki .mglk-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border: 1px solid var(--lk-line);
    background: #fff;
    border-radius: 5px;
    margin: 17px 0 12px;
}
.mglehreki .mglk-stats > div {
    padding: 14px 6px;
    display: flex;
    flex-direction: column-reverse;
    text-align: center;
    gap: 4px;
}
.mglehreki .mglk-stats > div + div {
    border-inline-start: 1px solid var(--lk-line);
}
.mglehreki .mglk-stats dt {
    font-size: clamp(12px, 1.5vw, 15px);
    font-weight: 400;
}
.mglehreki .mglk-stats dd {
    margin: 0;
    color: var(--lk-deep);
    font: 700 clamp(26px, 4vw, 44px)/1.1 Arial, Helvetica, sans-serif;
}
.mglehreki .mglk-calculation {
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    color: var(--lk-navy);
    margin-bottom: 8px;
}
.mglehreki .mglk-material {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
    padding: 20px;
    border: 1px solid var(--lk-line);
    background: var(--lk-pale);
    border-radius: 8px;
    min-width: 0;
}
.mglehreki .mglk-material-single {
    grid-template-columns: minmax(0, 1fr);
    max-width: 680px;
}
.mglehreki .mglk-material-head {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
}
.mglehreki .mglk-material-head h3 {
    min-width: 0;
}
.mglehreki .mglk-format {
    color: var(--lk-accent);
    margin-inline-start: auto;
    font: 700 12px/1.2 Arial, Helvetica, sans-serif;
}
.mglehreki .mglk-material .sppb-btn {
    margin: auto 0 0;
    display: inline-flex;
    align-items: center;
    padding: 14px 48px 14px 28px;
    border: 1px solid #adc6d6;
    border-radius: 30px;
    color: #123d60;
    background: #eef5f8;
    text-decoration: none;
    max-width: 100%;
    font-weight: 700;
}
.mglehreki .mglk-chapters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    padding-block: 17px;
    border-block: 1px solid var(--lk-line);
}
.mglehreki .mglk-chapters a {
    display: flex;
    flex-direction: column;
    gap: 3px;
    justify-content: center;
    min-height: 44px;
    color: var(--lk-navy);
}
.mglehreki .mglk-chapters span {
    font-size: 13px;
    color: var(--lk-muted);
}
.mglehreki .mglk-chapters .mglk-next {
    grid-column: 2;
    text-align: right;
}
.mglehreki .mglk-footer {
    display: grid;
    gap: 24px;
    color: var(--lk-muted);
    font-size: 14px;
}
.mglehreki .mglk-footer h2 {
    font-size: 21px;
    margin-bottom: 8px;
}
.mglehreki .mglk-footer a {
    color: var(--lk-navy);
    text-decoration: underline;
    text-underline-offset: .18em;
}
.mglehreki .mglk-reading ul,
.mglehreki .mglk-references ul {
    list-style: none;
    padding: 0;
}
.mglehreki .mglk-reading ul {
    display: flex;
    gap: clamp(15px, 3vw, 35px);
    flex-wrap: wrap;
}
.mglehreki .mglk-reading li {
    flex: 0 1 255px;
}
.mglehreki .mglk-reading li > :is(a, strong) {
    color: var(--lk-navy);
    font-weight: 700;
}
.mglehreki .mglk-book-type {
    display: block;
    color: var(--lk-muted);
    font-size: 12px;
}
.mglehreki .mglk-author {
    padding-top: 15px;
    border-top: 1px solid var(--lk-line);
}
@media (min-width: 601px) and (max-width: 1000px) {
    #sp-page-builder.mglehreki .mglk-register .mgreg-item {
        font-size: 12px;
        gap: 6px;
    }
    .mglehreki .mglk-register .mgreg-icon {
        width: 18px;
        height: 18px;
    }
    .mglehreki .mglk-register .mgreg-label {
        display: none;
    }
    .mglehreki .mglk-register-short {
        display: inline;
    }
}
@media (max-width: 767px) {
    #sp-page-builder.mglehreki .mglk-hero {
        padding-block: 32px;
    }
    #sp-page-builder.mglehreki .mglk-hero .mglk-hero-row {
        grid-template-columns: minmax(0, 1fr);
        min-height: 0;
    }
    #sp-page-builder.mglehreki .mglk-hero .mglk-hero-visual {
        display: none;
    }
    #sp-page-builder.mglehreki .mglk-hero h1 {
        font-size: clamp(29px, 8vw, 43px);
    }
    .mglehreki .mglk-start-head,
    .mglehreki .mglk-material-grid,
    .mglehreki .mglk-tiles {
        grid-template-columns: minmax(0, 1fr);
        gap: 13px;
    }
}
@media (max-width: 600px) {
    #sp-page-builder.mglehreki .mglk-register .mgreg-bar {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 4px;
        padding: 6px 8px;
    }
    #sp-page-builder.mglehreki .mglk-register .mgreg-item {
        min-height: 45px;
        gap: 5px;
        font-size: 12px;
    }
    .mglehreki .mglk-register .mgreg-icon {
        width: 17px;
        height: 17px;
    }
    .mglehreki .mglk-register .mgreg-label {
        display: none;
    }
    .mglehreki .mglk-register-short {
        display: inline;
    }
}
@media (prefers-reduced-motion: reduce) {
    .mglehreki .mglk-tile {
        transition: none;
    }
}
@media print {
    .mglehreki :is(.mglk-register, .mglk-hero-visual, .mglk-chapters, .sppb-btn) {
        display: none !important;
    }
    #sp-page-builder.mglehreki .mglk-hero {
        background: white;
        color: #000;
    }
    #sp-page-builder.mglehreki .mglk-hero :is(h1, p) {
        color: #000;
    }
}
