:root {
    --mf-red: #E30613;
    --mf-black: #151515;
    --mf-ink: #222222;
    --mf-muted: #666666;
    --mf-border: rgba(227, 6, 19, .28);
}

#rs-mouse,
#cursor-ball {
    display: none !important;
}

#pre-load {
    background: #ffffff;
}

.loader .loader-container {
    width: 178px;
    height: 178px;
    background: #ffffff;
    border-color: rgba(227, 6, 19, .16);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .12);
}

.loader .loader-container::before {
    width: 178px;
    height: 178px;
    border-top-color: var(--mf-red);
}

.loader .loader-icon {
    width: 142px;
}

.loader .loader-icon img {
    width: 132px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.rs-banner-bg-thumb,
.rs-breadcrumb-bg,
.rs-footer-bg-thumb,
.rs-contact-bg-thumb,
.rs-faq-bg-thumb,
.rs-services-bg-thumb {
    display: none !important;
}

.rs-banner-area,
.rs-breadcrumb-area,
.rs-footer-area {
    background: var(--mf-black);
}

.rs-banner-title,
.rs-banner-title *,
.rs-breadcrumb-title,
.rs-section-title,
.rs-services-title,
.rs-blog-title,
.rs-postbox-title,
.rs-contact-form-title,
.rs-btn {
    text-transform: none !important;
    letter-spacing: 0 !important;
}

.rs-btn .icon-box i:nth-child(n+2),
.rs-square-btn .icon-box i:nth-child(n+2),
button .icon-box i:nth-child(n+2) {
    display: none !important;
}

.rs-header-logo a,
.offcanvas-logo a {
    display: inline-flex;
    align-items: center;
}

.mf-logo-img {
    width: 184px;
    height: 58px;
    max-width: none;
    object-fit: contain;
}

.rs-header-logo .mf-logo-img {
    max-width: none;
}

.offcanvas-logo .mf-logo-img {
    width: 170px;
    height: 54px;
}

.main-menu > ul > li > a {
    text-transform: none;
}

.mean-container .mean-nav ul li a,
.mean-container .mean-nav ul li span,
.main-menu .submenu li a {
    text-transform: none !important;
}

.main-menu .submenu {
    width: 300px;
}

.main-menu .submenu li a {
    white-space: normal;
    line-height: 1.35;
    padding-top: 13px;
    padding-bottom: 13px;
}

.main-menu > ul > li.menu-item-has-children:focus-within > ul.submenu {
    opacity: 1;
    visibility: visible;
    top: 100%;
}

@media only screen and (min-width: 1200px) {
    .rs-header-two .rs-header-inner {
        display: grid;
        grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
        column-gap: 24px;
    }

    .rs-header-two .rs-header-left {
        justify-self: start;
    }

    .rs-header-two .rs-header-menu {
        justify-self: center;
        margin-inline-end: 0;
    }

    .rs-header-two .main-menu > ul {
        justify-content: center;
    }

    .rs-header-two .rs-header-right {
        justify-self: end;
    }
}

@media only screen and (min-width: 1200px) and (max-width: 1366px) {
    .main-menu > ul > li > a {
        padding-inline: 14px;
    }

    .rs-header-two .rs-header-inner {
        grid-template-columns: minmax(190px, 1fr) auto minmax(190px, 1fr);
        column-gap: 18px;
    }
}

.mf-hero,
.mf-page-hero {
    position: relative;
    overflow: hidden;
    background: #111111;
}

.mf-hero {
    min-height: 720px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    padding: 118px 0 86px;
}

.mf-page-hero {
    min-height: 430px;
    display: flex;
    align-items: flex-end;
    padding: 170px 0 95px;
}

.mf-hero-image,
.mf-page-hero-image {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.mf-hero-image img,
.mf-page-hero-image img,
.mf-photo img,
.mf-card-photo img,
.mf-blog-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mf-hero::after,
.mf-page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, .82) 0%, rgba(0, 0, 0, .62) 46%, rgba(0, 0, 0, .28) 100%),
        linear-gradient(0deg, rgba(0, 0, 0, .56) 0%, rgba(0, 0, 0, .08) 46%, rgba(0, 0, 0, .35) 100%);
}

.mf-hero .container,
.mf-page-hero .container {
    position: relative;
    z-index: 2;
}

.mf-hero .rs-banner-wrapper {
    padding-top: 0;
    padding-bottom: 0;
}

.mf-hero .row {
    justify-content: center;
}

.mf-hero .rs-banner-content {
    max-width: 980px;
    margin: 0 auto;
    text-align: center;
}

.mf-hero .rs-banner-descrip {
    margin-left: auto;
    margin-right: auto;
}

.mf-hero .rs-banner-btn {
    justify-content: center;
}

.mf-hero-image img {
    object-position: center center;
}

.mf-hero::after {
    background:
        linear-gradient(90deg, rgba(0, 0, 0, .48) 0%, rgba(0, 0, 0, .68) 35%, rgba(0, 0, 0, .68) 65%, rgba(0, 0, 0, .48) 100%),
        linear-gradient(0deg, rgba(0, 0, 0, .58) 0%, rgba(0, 0, 0, .18) 50%, rgba(0, 0, 0, .35) 100%);
}

.mf-page-hero .rs-breadcrumb-content-wrapper {
    max-width: 900px;
}

.mf-page-hero .rs-breadcrumb-title,
.mf-page-hero .rs-breadcrumb-menu a,
.mf-page-hero .rs-breadcrumb-menu span {
    color: #ffffff;
}

.mf-page-hero p {
    color: rgba(255, 255, 255, .84);
}

.mf-photo,
.mf-card-photo,
.mf-blog-photo {
    overflow: hidden;
    background: #1e1e1e;
}

.mf-photo {
    border-radius: 8px;
    border: 1px solid var(--mf-border);
    box-shadow: 0 26px 60px rgba(0, 0, 0, .16);
}

.mf-photo--about {
    aspect-ratio: 9 / 7;
}

.mf-photo--wide {
    aspect-ratio: 16 / 9;
}

.mf-card-photo {
    aspect-ratio: 16 / 10;
    border-radius: 8px 8px 0 0;
}

.mf-blog-photo {
    aspect-ratio: 5 / 3;
    border-radius: 8px 8px 0 0;
}

.mf-service-card {
    overflow: hidden;
    border-radius: 8px;
    height: 100%;
}

.mf-service-card .rs-services-content {
    padding-top: 28px;
}

.mf-service-card .rs-services-title {
    font-size: 25px;
    line-height: 1.24;
}

.mf-card-icon {
    color: var(--mf-red);
    font-size: 42px;
    line-height: 1;
    margin-bottom: 18px;
}

.rs-services-title,
.rs-services-title a,
.rs-blog-title,
.rs-blog-title a,
.rs-postbox-title,
.rs-postbox-title a {
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
}

.mf-eyebrow {
    color: var(--mf-red);
    font-weight: 700;
    margin-bottom: 14px;
}

.mf-check-list {
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.mf-check-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    color: var(--mf-ink);
}

.mf-check-list li::before {
    content: "\eb7b";
    font-family: remixicon;
    color: var(--mf-red);
    position: absolute;
    left: 0;
    top: 0;
}

.mf-dark-section {
    background: #151515;
}

.mf-advantage-card {
    height: 100%;
    border: 1px solid rgba(227, 6, 19, .34);
    border-radius: 8px;
    padding: 30px;
    background: rgba(255, 255, 255, .035);
}

.mf-advantage-card i,
.mf-step-card i {
    color: var(--mf-red);
    font-size: 36px;
    margin-bottom: 18px;
    display: inline-block;
}

.mf-advantage-card h3 {
    color: #ffffff;
    font-size: 23px;
    line-height: 1.35;
    margin-bottom: 12px;
}

.mf-advantage-card p {
    color: rgba(255, 255, 255, .74);
    margin-bottom: 0;
}

.rs-faq-area .rs-accordion-item {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 16px;
}

.rs-faq-area .accordion-button {
    color: #171717 !important;
    background: #ffffff !important;
    font-weight: 700;
    line-height: 1.35;
    box-shadow: none !important;
}

.rs-faq-area .accordion-button:hover,
.rs-faq-area .accordion-button:not(.collapsed) {
    color: #ffffff !important;
    background: #1b1b1b !important;
}

.rs-faq-area .accordion-body {
    color: #343434 !important;
    background: #ffffff;
    line-height: 1.75;
}

.mf-contact-card,
.mf-step-card {
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 8px;
    padding: 26px;
    background: #ffffff;
}

.mf-contact-card h3,
.mf-step-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.mf-contact-card p,
.mf-step-card p {
    margin-bottom: 0;
}

.mf-step-number {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--mf-red);
    color: #ffffff;
    font-weight: 800;
    margin-bottom: 16px;
}

.mf-form-shell {
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 8px;
    padding: 34px;
    background: #ffffff;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .08);
}

.mf-form-shell .rs-contact-form {
    background: transparent;
    padding: 0;
}

.mf-contact-main {
    background: #f7f7f5;
}

.mf-contact-info-panel {
    height: 100%;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 8px;
    padding: 34px;
    background: #ffffff;
    box-shadow: 0 18px 46px rgba(0, 0, 0, .07);
}

.mf-contact-info-panel .rs-section-title {
    font-size: 34px;
    line-height: 1.18;
    margin-bottom: 18px;
}

.mf-contact-info-panel .descrip {
    margin-bottom: 28px;
}

.mf-contact-detail-list {
    display: grid;
    gap: 16px;
}

.mf-contact-detail {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 15px;
    align-items: flex-start;
    padding: 18px;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 8px;
    background: #fbfbfb;
}

.mf-contact-detail i {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: var(--mf-red);
    font-size: 22px;
}

.mf-contact-detail h3 {
    font-size: 18px;
    line-height: 1.25;
    margin-bottom: 4px;
}

.mf-contact-detail p {
    margin-bottom: 0;
    color: var(--mf-ink);
    overflow-wrap: anywhere;
}

.mf-trust-note {
    margin: 26px 0 0;
    padding: 18px 20px;
    border-left: 4px solid var(--mf-red);
    border-radius: 0 8px 8px 0;
    color: var(--mf-ink);
    background: rgba(227, 6, 19, .08);
}

.mf-contact-form-shell {
    padding: 40px;
}

.mf-contact-form-shell .rs-contact-form-title {
    margin-bottom: 28px;
}

.mf-contact-submit {
    border-color: var(--mf-red) !important;
    background: var(--mf-red) !important;
    color: #ffffff !important;
}

.mf-contact-submit:hover {
    color: #ffffff !important;
}

.mf-contact-process {
    background: #ffffff;
}

.mf-contact-map-section {
    background: #f7f7f5;
    padding-top: 0;
}

.mf-contact-map-shell {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: 0;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 18px 46px rgba(0, 0, 0, .07);
}

.mf-contact-map-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 34px;
}

.mf-contact-map-copy .rs-section-title {
    font-size: 34px;
    line-height: 1.18;
    margin-bottom: 12px;
}

.mf-contact-map-copy p {
    margin-bottom: 0;
    color: var(--mf-ink);
    font-weight: 700;
}

.mf-contact-map-frame {
    min-height: 390px;
    background: #eeeeee;
}

.mf-contact-map-frame iframe {
    width: 100%;
    height: 100%;
    min-height: 390px;
    display: block;
    border: 0;
}

.mf-contact-process-heading {
    max-width: 780px;
    margin: 0 auto 36px;
    text-align: center;
}

.mf-contact-process-layout {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.25fr);
    gap: 34px;
    align-items: center;
}

.mf-contact-process-photo {
    width: 100%;
    min-height: 0;
    position: relative;
    z-index: 0;
}

.mf-contact-step-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 28px;
}

.mf-contact-process .mf-contact-step-grid {
    margin-top: 0;
}

.mf-contact-step {
    min-height: 100%;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 8px;
    padding: 24px;
    background: #f8f8f6;
}

.mf-contact-step h3 {
    font-size: 21px;
    line-height: 1.3;
    margin-bottom: 8px;
}

.mf-contact-step p {
    margin-bottom: 0;
}

.mf-legal-panel {
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 8px;
    padding: 34px;
    background: #ffffff;
    box-shadow: 0 18px 46px rgba(0, 0, 0, .07);
}

.mf-legal-panel h2 {
    font-size: 26px;
    line-height: 1.25;
    margin: 28px 0 10px;
}

.mf-legal-panel p {
    margin-bottom: 0;
}

.mf-form-shell select,
.mf-form-shell input,
.mf-form-shell textarea {
    text-transform: none;
}

.mf-service-summary {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.mf-service-summary .descrip {
    flex: 1;
}

.mf-cta-band {
    background: #151515;
    border-top: 1px solid rgba(227, 6, 19, .25);
    border-bottom: 1px solid rgba(227, 6, 19, .25);
}

.mf-cta-band h2,
.mf-cta-band p {
    color: #ffffff;
}

.mf-footer {
    background: #121212;
    border-top: 1px solid rgba(227, 6, 19, .28);
}

.mf-footer .rs-footer-top {
    padding: 64px 0 46px;
}

.mf-footer .rs-footer-widget-title {
    color: #ffffff;
    font-size: 18px;
    line-height: 1.3;
    margin-bottom: 18px;
}

.mf-footer-logo {
    display: inline-flex;
    align-items: center;
    margin-bottom: 22px;
}

.mf-footer-logo .mf-logo-img {
    width: 184px;
    height: 58px;
}

.mf-footer .rs-footer-widget-description {
    color: rgba(255, 255, 255, .74);
    margin: 0 0 20px;
    max-width: 390px;
}

.mf-footer-region {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: rgba(255, 255, 255, .82);
    line-height: 1.55;
    max-width: 390px;
}

.mf-footer-region i {
    color: var(--mf-red);
    font-size: 22px;
    line-height: 1;
    margin-top: 2px;
    flex: 0 0 auto;
}

.mf-footer .rs-footer-widget-links ul {
    grid-template-columns: 1fr;
    gap: 12px;
}

.mf-footer .rs-footer-widget-links ul li a {
    color: rgba(255, 255, 255, .72);
    line-height: 1.45;
}

.mf-footer .rs-footer-widget-links ul li a:hover {
    padding-inline-start: 22px;
}

.mf-footer-contact p {
    color: rgba(255, 255, 255, .74);
    margin: 0 0 18px;
}

.mf-footer-contact-list {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
    display: grid;
    gap: 11px;
}

.mf-footer-contact-list li {
    display: grid;
    gap: 3px;
}

.mf-footer-contact-list span {
    color: rgba(255, 255, 255, .52);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
}

.mf-footer-contact-list a,
.mf-footer-contact-list strong {
    color: rgba(255, 255, 255, .86);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.mf-footer-contact-list a:hover {
    color: var(--mf-red);
}

.mf-footer-btn {
    min-height: 54px;
    height: auto;
    padding: 14px 24px;
    font-size: 16px;
}

.mf-footer-bottom {
    background: #0f0f0f;
    border-top: 1px solid rgba(255, 255, 255, .09);
    padding: 20px 0;
}

.mf-footer-bottom .rs-footer-copyright p {
    color: rgba(255, 255, 255, .68);
    margin: 0;
    text-align: left;
}

.mf-footer-legal {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    flex-wrap: wrap;
}

.mf-footer-legal a {
    color: rgba(255, 255, 255, .74);
    font-weight: 500;
}

.mf-footer-legal a:hover {
    color: var(--mf-red);
}

.rs-btn.has-icon .icon-box i,
.rs-square-btn.has-icon .icon-box i {
    display: block;
    font-size: 18px;
    line-height: 1;
}

@media only screen and (max-width: 1199px) {
    .mf-logo-img {
        width: 166px;
        height: 52px;
    }

    .mf-hero {
        min-height: 650px;
        padding: 104px 0 74px;
    }
}

@media only screen and (max-width: 767px) {
    .mf-hero {
        min-height: 560px;
        padding: 88px 0 58px;
    }

    .mf-hero .rs-banner-wrapper {
        padding-top: 0;
    }

    .mf-hero .rs-banner-content {
        text-align: center;
    }

    .mf-hero .rs-banner-title {
        font-size: 40px;
        line-height: 1.12;
    }

    .mf-hero .rs-banner-btn {
        justify-content: center;
        gap: 14px !important;
    }

    .mf-hero .rs-banner-btn .rs-btn {
        width: 100%;
        max-width: 360px;
        min-height: 56px;
        height: auto;
        padding: 14px 20px;
        text-align: center;
    }

    .mf-hero-image img {
        /* Mobil: Bildausschnitt nach rechts verschieben,
           damit die Frau am Fenster sichtbar bleibt */
        object-position: 70% center;
    }

    .mf-page-hero {
        min-height: 360px;
        padding: 130px 0 70px;
    }

    .mf-form-shell {
        padding: 24px;
    }

    .mf-contact-info-panel,
    .mf-legal-panel {
        padding: 24px;
    }

    .mf-contact-info-panel .rs-section-title {
        font-size: 30px;
    }

    .mf-contact-form-shell {
        padding: 24px;
    }

    .mf-contact-submit {
        width: 100%;
        max-width: 360px;
        min-height: 56px;
        height: auto;
        justify-content: center;
        text-align: center;
    }

    .mf-contact-process-photo {
        min-height: 0;
    }

    .mf-contact-map-shell {
        grid-template-columns: 1fr;
    }

    .mf-contact-map-copy {
        padding: 24px;
    }

    .mf-contact-map-copy .rs-section-title {
        font-size: 30px;
    }

    .mf-contact-map-frame,
    .mf-contact-map-frame iframe {
        min-height: 300px;
    }

    .mf-contact-process-heading {
        margin-bottom: 26px;
    }

    .mf-contact-process-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .mf-contact-step-grid {
        grid-template-columns: 1fr;
    }

    .mf-contact-step {
        padding: 22px;
    }

    .mf-advantage-card {
        padding: 24px;
    }

    .mf-service-card .rs-services-title,
    .mf-service-card .rs-services-title a {
        overflow-wrap: anywhere !important;
    }

    .mf-footer .rs-footer-top {
        padding: 54px 0 42px;
    }

    .mf-footer-bottom .rs-footer-copyright p {
        text-align: center;
    }

    .mf-footer-legal {
        justify-content: center;
    }
}

@media only screen and (max-width: 480px) {
    .mf-hero .rs-banner-title {
        font-size: 34px;
    }
}

/* ============================================================
   FontAwesome ersetzt durch RemixIcon (Performance: -508KB)
   Die wenigen FA-Glyphen, die das Theme per CSS nutzt,
   werden hier mit RemixIcon-Glyphen nachgebildet.
   ============================================================ */

/* Dropdown-Pfeil im Hauptmenue ("Leistungen v") */
.main-menu li.menu-item-has-children > a::after,
.main-menu li .has-arrow > a::after {
    font-family: "remixicon" !important;
    content: "\ea4e" !important; /* arrow-down-s-line */
    font-weight: 400 !important;
}

/* Back-to-top-Pfeil */
.backtotop-wrap::after {
    font-family: "remixicon" !important;
    content: "\ea78" !important; /* arrow-up-s-line */
}
